question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
Is the biggest win recorded as home or away?
|
CREATE TABLE "scores" (
"record" text,
"date_and_time" text,
"competition" text,
"home_or_away" text,
"opponent" text,
"score" text
);
|
SELECT "home_or_away" FROM "scores" WHERE "record"='Biggest win';
|
1-1233808-2
|
What competitions record a date and time of 17.04.1920 at 15:00?
|
CREATE TABLE "scores" (
"record" text,
"date_and_time" text,
"competition" text,
"home_or_away" text,
"opponent" text,
"score" text
);
|
SELECT "competition" FROM "scores" WHERE "date_and_time"='17.04.1920 at 15:00';
|
1-1233808-2
|
What records are hit where the opponent is Aylesbury United?
|
CREATE TABLE "scores" (
"record" text,
"date_and_time" text,
"competition" text,
"home_or_away" text,
"opponent" text,
"score" text
);
|
SELECT "record" FROM "scores" WHERE "opponent"='Aylesbury United';
|
1-1233808-2
|
Who was the opponent during the biggest defeat?
|
CREATE TABLE "scores" (
"record" text,
"date_and_time" text,
"competition" text,
"home_or_away" text,
"opponent" text,
"score" text
);
|
SELECT "opponent" FROM "scores" WHERE "record"='Biggest defeat';
|
1-1233808-2
|
How many results are there with the original title of ani ohev otach roza (אני אוהב אותך רוזה)?
|
CREATE TABLE "table1_12369913_1" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
);
|
SELECT COUNT("result") FROM "table1_12369913_1" WHERE "original_title"='Ani Ohev Otach Roza (אני אוהב אותך רוזה)';
|
1-12369913-1
|
What is the power when ch# is tv-26 and dyfj-tv?
|
CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" (
"branding" text,
"callsign" text,
"ch_num" text,
"power_k_w" text,
"station_type" text,
"coverage_transmitter_site" text
);
|
SELECT "power_k_w" FROM "rjtv_stations_nationwide_2nd_avenue" WHERE "ch_num"='TV-26' AND "callsign"='DYFJ-TV';
|
1-12379297-1
|
What is the coverage for relay tv-37?
|
CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" (
"branding" text,
"callsign" text,
"ch_num" text,
"power_k_w" text,
"station_type" text,
"coverage_transmitter_site" text
);
|
SELECT "coverage_transmitter_site" FROM "rjtv_stations_nationwide_2nd_avenue" WHERE "station_type"='Relay' AND "ch_num"='TV-37';
|
1-12379297-1
|
What is the ch# of dwlj-tv?
|
CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" (
"branding" text,
"callsign" text,
"ch_num" text,
"power_k_w" text,
"station_type" text,
"coverage_transmitter_site" text
);
|
SELECT "ch_num" FROM "rjtv_stations_nationwide_2nd_avenue" WHERE "callsign"='DWLJ-TV';
|
1-12379297-1
|
What is the coverage of relay 5kw of dyfj-tv?
|
CREATE TABLE "rjtv_stations_nationwide_2nd_avenue" (
"branding" text,
"callsign" text,
"ch_num" text,
"power_k_w" text,
"station_type" text,
"coverage_transmitter_site" text
);
|
SELECT "coverage_transmitter_site" FROM "rjtv_stations_nationwide_2nd_avenue" WHERE "station_type"='Relay' AND "power_k_w"='5kW' AND "callsign"='DYFJ-TV';
|
1-12379297-1
|
What is the running of marlene sanchez?
|
CREATE TABLE "women" (
"num" real,
"athlete" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
|
SELECT "running" FROM "women" WHERE "athlete"='Marlene Sanchez';
|
1-12407546-2
|
What is the numberof running wiht pamela zapata?
|
CREATE TABLE "women" (
"num" real,
"athlete" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
|
SELECT COUNT("running") FROM "women" WHERE "athlete"='Pamela Zapata';
|
1-12407546-2
|
What's Luis Siri's shooting score?
|
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
|
SELECT "shooting" FROM "men" WHERE "athlete_noc"='Luis Siri';
|
1-12407546-1
|
What's Eduardo Salas' riding score?
|
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
|
SELECT "riding" FROM "men" WHERE "athlete_noc"='Eduardo Salas';
|
1-12407546-1
|
What's the number of the player with 68.46 (1144 pts) in riding?
|
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
|
SELECT MAX("num") FROM "men" WHERE "riding"='68.46 (1144 pts)';
|
1-12407546-1
|
Who's the player with 2:05.63 (1296 pts) swimming score?
|
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
|
SELECT "athlete_noc" FROM "men" WHERE "swimming"='2:05.63 (1296 pts)';
|
1-12407546-1
|
What's the fencing score of the player with 9:40.31 (1080 pts) in running?
|
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
|
SELECT "fencing" FROM "men" WHERE "running"='9:40.31 (1080 pts)';
|
1-12407546-1
|
What's Eli Bremer's fencing score?
|
CREATE TABLE "men" (
"num" real,
"athlete_noc" text,
"shooting" text,
"fencing" text,
"swimming" text,
"riding" text,
"running" text,
"total" real
);
|
SELECT "fencing" FROM "men" WHERE "athlete_noc"='Eli Bremer';
|
1-12407546-1
|
What is the total number of titles written by Casey Johnson?
|
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
|
SELECT COUNT("title") FROM "table1_12419515_4" WHERE "written_by"='Casey Johnson';
|
1-12419515-4
|
Who wrote the title that received 1.211 million total viewers?
|
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
|
SELECT "written_by" FROM "table1_12419515_4" WHERE "total_viewers_in_millions"='1.211';
|
1-12419515-4
|
Who directed the title that was written by Adam Milch?
|
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
|
SELECT "directed_by" FROM "table1_12419515_4" WHERE "written_by"='Adam Milch';
|
1-12419515-4
|
How many millions of total viewers watched series #57?
|
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
|
SELECT COUNT("total_viewers_in_millions") FROM "table1_12419515_4" WHERE "series_num"=57;
|
1-12419515-4
|
How many millions of total viewers watched season #8?
|
CREATE TABLE "table1_12419515_4" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"total_viewers_in_millions" text
);
|
SELECT "total_viewers_in_millions" FROM "table1_12419515_4" WHERE "season_num"=8;
|
1-12419515-4
|
What is the English spelling of the strongs transliteration: 'adoniyah?
|
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
|
SELECT "english_spelling" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "strongs_transliteration"='''Adoniyah';
|
1-1242447-2
|
What is the hebrew word listed for strongs # 5418?
|
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
|
SELECT "hebrew_word" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "strongs_num"='5418';
|
1-1242447-2
|
List the hebrew word for the strongs words compounded of 'adown [# 113] & yahu
|
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
|
SELECT "hebrew_word" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "strongs_words_compounded"='''adown [# 113] & Yahu';
|
1-1242447-2
|
What is the strongs # for the hebrew word יִרְמְיָה?
|
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
|
SELECT "strongs_num" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "hebrew_word"='יִרְמְיָה';
|
1-1242447-2
|
What is the strongs # for the english spelling of the word jirmejah?
|
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strongs_num" text,
"hebrew_word" text,
"strongs_transliteration" text,
"strongs_words_compounded" text,
"english_spelling" text
);
|
SELECT "strongs_num" FROM "table_of_theophoric_names_with_yah_and_y" WHERE "english_spelling"='Jirmejah';
|
1-1242447-2
|
What is the latest year that 6th, Heartland is regular season?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT MAX("year") FROM "year_by_year" WHERE "regular_season"='6th, Heartland';
|
1-1241987-1
|
Which regular season contains playoffs in division finals?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "regular_season" FROM "year_by_year" WHERE "playoffs"='Division Finals';
|
1-1241987-1
|
What is the lowest year that regular season is 4th, Rocky Mountain?
|
CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT MIN("year") FROM "year_by_year" WHERE "regular_season"='4th, Rocky Mountain';
|
1-1241987-1
|
How many players lost to eventual winner in the season when ASC Jeanne d'Arc lost to eventual runner up?
|
CREATE TABLE "table1_12444503_1" (
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"lost_to_eventual_winner" text,
"lost_to_eventual_runner_up" text
);
|
SELECT COUNT("lost_to_eventual_winner") FROM "table1_12444503_1" WHERE "lost_to_eventual_runner_up"='ASC Jeanne d''Arc';
|
1-12444503-1
|
What's the number of seasons i which USC Bassam lost to eventual runner-up?
|
CREATE TABLE "table1_12444503_1" (
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"lost_to_eventual_winner" text,
"lost_to_eventual_runner_up" text
);
|
SELECT COUNT("season") FROM "table1_12444503_1" WHERE "lost_to_eventual_runner_up"='USC Bassam';
|
1-12444503-1
|
In which season was Jeanne d'Arc (Bamako) the runner-up?
|
CREATE TABLE "table1_12444503_1" (
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"lost_to_eventual_winner" text,
"lost_to_eventual_runner_up" text
);
|
SELECT "season" FROM "table1_12444503_1" WHERE "runner_up"='Jeanne d''Arc (Bamako)';
|
1-12444503-1
|
What was the regular season listing in 2007?
|
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "regular_season" FROM "year_by_year" WHERE "year"='2007';
|
1-1243601-1
|
What was the playoff result in 2002?
|
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "playoffs" FROM "year_by_year" WHERE "year"='2002';
|
1-1243601-1
|
What was the open cup results in 2004?
|
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT "open_cup" FROM "year_by_year" WHERE "year"='2004';
|
1-1243601-1
|
How many divisions were listed in 2006?
|
CREATE TABLE "year_by_year" (
"year" text,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
|
SELECT COUNT("division") FROM "year_by_year" WHERE "year"='2006';
|
1-1243601-1
|
Kevin lucas appears in which seasons?
|
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
|
SELECT "recurring_cast_seasons" FROM "cast_members" WHERE "character"='Kevin Lucas';
|
1-12441518-1
|
How many people named Nick Lucas are on the show?
|
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
|
SELECT COUNT("portrayed_by") FROM "cast_members" WHERE "character"='Nick Lucas';
|
1-12441518-1
|
What seasons does stella malone appear?
|
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
|
SELECT "main_cast_seasons" FROM "cast_members" WHERE "character"='Stella Malone';
|
1-12441518-1
|
What seasons does Nick lucas appear?
|
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
|
SELECT "main_cast_seasons" FROM "cast_members" WHERE "character"='Nick Lucas';
|
1-12441518-1
|
What seasons does Kevin Jonas appear?
|
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
|
SELECT "main_cast_seasons" FROM "cast_members" WHERE "portrayed_by"='Kevin Jonas';
|
1-12441518-1
|
What seasons does Nick Lucas appear in?
|
CREATE TABLE "cast_members" (
"character" text,
"portrayed_by" text,
"main_cast_seasons" text,
"recurring_cast_seasons" text,
"num_of_episodes" real
);
|
SELECT "recurring_cast_seasons" FROM "cast_members" WHERE "character"='Nick Lucas';
|
1-12441518-1
|
How many networks aired the franchise in 1981 only?
|
CREATE TABLE "all_in_the_family_till_death_us_do_part" (
"region_country" text,
"local_name" text,
"network" text,
"dates_aired" text,
"starring" text
);
|
SELECT COUNT("network") FROM "all_in_the_family_till_death_us_do_part" WHERE "dates_aired"='1981';
|
1-12438767-1
|
In how many networks the local name of the franchise was "in sickness and in health"?
|
CREATE TABLE "all_in_the_family_till_death_us_do_part" (
"region_country" text,
"local_name" text,
"network" text,
"dates_aired" text,
"starring" text
);
|
SELECT COUNT("network") FROM "all_in_the_family_till_death_us_do_part" WHERE "local_name"='In Sickness and in Health';
|
1-12438767-1
|
What is the title of season 3 ep# 12?
|
CREATE TABLE "table1_12451376_3" (
"series_ep_num" real,
"season_3_ep_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_airdate" text,
"production_code" real
);
|
SELECT "title" FROM "table1_12451376_3" WHERE "season_3_ep_num"=12;
|
1-12451376-3
|
What is the length of the track named michigan international speedway?
|
CREATE TABLE "isc_tracks" (
"track_name" text,
"location" text,
"length" text,
"seating" real,
"year_opened" real,
"year_acquired_a" real
);
|
SELECT "length" FROM "isc_tracks" WHERE "track_name"='Michigan International Speedway';
|
1-1245148-1
|
Where is the track that opened in 1995?
|
CREATE TABLE "isc_tracks" (
"track_name" text,
"location" text,
"length" text,
"seating" real,
"year_opened" real,
"year_acquired_a" real
);
|
SELECT "location" FROM "isc_tracks" WHERE "year_opened"=1995;
|
1-1245148-1
|
What is the location of the daytona international speedway?
|
CREATE TABLE "isc_tracks" (
"track_name" text,
"location" text,
"length" text,
"seating" real,
"year_opened" real,
"year_acquired_a" real
);
|
SELECT "location" FROM "isc_tracks" WHERE "track_name"='Daytona International Speedway';
|
1-1245148-1
|
What is the location of the track that opened in 1950?
|
CREATE TABLE "isc_tracks" (
"track_name" text,
"location" text,
"length" text,
"seating" real,
"year_opened" real,
"year_acquired_a" real
);
|
SELECT "location" FROM "isc_tracks" WHERE "year_opened"=1950;
|
1-1245148-1
|
What is the power of the 3.2i v8 32v?
|
CREATE TABLE "table1_1245350_1" (
"quattroporte_iv" text,
"units_produced" real,
"production_period" text,
"engine_capacity" text,
"power" text,
"max_speed" text
);
|
SELECT "power" FROM "table1_1245350_1" WHERE "quattroporte_iv"='3.2i V8 32v';
|
1-1245350-1
|
What type of quattroporte iv only produced 340 units?
|
CREATE TABLE "table1_1245350_1" (
"quattroporte_iv" text,
"units_produced" real,
"production_period" text,
"engine_capacity" text,
"power" text,
"max_speed" text
);
|
SELECT "quattroporte_iv" FROM "table1_1245350_1" WHERE "units_produced"=340;
|
1-1245350-1
|
When were 668 units produced?
|
CREATE TABLE "table1_1245350_1" (
"quattroporte_iv" text,
"units_produced" real,
"production_period" text,
"engine_capacity" text,
"power" text,
"max_speed" text
);
|
SELECT "production_period" FROM "table1_1245350_1" WHERE "units_produced"=668;
|
1-1245350-1
|
what is the overall record when the club is dallas burn?
|
CREATE TABLE "table1_1246208_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
|
SELECT "overall_record" FROM "table1_1246208_5" WHERE "club"='Dallas Burn';
|
1-1246208-5
|
what is the goals for when the club is new england revolution?
|
CREATE TABLE "table1_1246208_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
|
SELECT "goals_for" FROM "table1_1246208_5" WHERE "club"='New England Revolution';
|
1-1246208-5
|
What was the total prize money where John Tabatabai was the runner-up?
|
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
|
SELECT "prize_money" FROM "main_event_winners" WHERE "runner_up"='John Tabatabai';
|
1-12454156-1
|
Who is the winner where the losing hand is Ah 7s?
|
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
|
SELECT "winner" FROM "main_event_winners" WHERE "losing_hand"='Ah 7s';
|
1-12454156-1
|
What was the losing hand where the winning hand was 7h 7s?
|
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
|
SELECT "losing_hand" FROM "main_event_winners" WHERE "winning_hand"='7h 7s';
|
1-12454156-1
|
How many losing hands are there before 2007?
|
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
|
SELECT COUNT("losing_hand") FROM "main_event_winners" WHERE "year"=2007;
|
1-12454156-1
|
When Fabrizio Baldassari is the runner-up what is the total prize money?
|
CREATE TABLE "main_event_winners" (
"year" real,
"winner" text,
"winning_hand" text,
"prize_money" text,
"entrants" real,
"runner_up" text,
"losing_hand" text
);
|
SELECT "prize_money" FROM "main_event_winners" WHERE "runner_up"='Fabrizio Baldassari';
|
1-12454156-1
|
What is the August 15, 2012 population when the population density of 2012 is 307?
|
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"population_change_2002_2012_pct" text,
"population_density_2012_km_2" real
);
|
SELECT MAX("population_august_15_2012") FROM "list_of_nyagatare_sectors_by_population_" WHERE "population_density_2012_km_2"=307;
|
1-12496904-1
|
What is the sector when the population change 2002-2012 (%) is 79.6?
|
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"population_change_2002_2012_pct" text,
"population_density_2012_km_2" real
);
|
SELECT "sector" FROM "list_of_nyagatare_sectors_by_population_" WHERE "population_change_2002_2012_pct"='79.6';
|
1-12496904-1
|
For the sector of Gatunda how many entires are show for the August 15, 2012 population?
|
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"population_change_2002_2012_pct" text,
"population_density_2012_km_2" real
);
|
SELECT COUNT("population_august_15_2012") FROM "list_of_nyagatare_sectors_by_population_" WHERE "sector"='Gatunda';
|
1-12496904-1
|
When the population change 2002-2012 (%) is 35.5 what is the rank in nyagatare sectors?
|
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"population_change_2002_2012_pct" text,
"population_density_2012_km_2" real
);
|
SELECT MAX("rank_in_nyagatare_sectors_2012") FROM "list_of_nyagatare_sectors_by_population_" WHERE "population_change_2002_2012_pct"='35.5';
|
1-12496904-1
|
What is the population density for 2012 for Gatunda sector?
|
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"population_change_2002_2012_pct" text,
"population_density_2012_km_2" real
);
|
SELECT MIN("population_density_2012_km_2") FROM "list_of_nyagatare_sectors_by_population_" WHERE "sector"='Gatunda';
|
1-12496904-1
|
What is the highest population for the
|
CREATE TABLE "list_of_nyagatare_sectors_by_population_" (
"rank_in_nyagatare_sectors_2012" real,
"sector" text,
"area_in_sqkm" real,
"population_august_15_2012" real,
"population_august_15_2002" real,
"population_change_2002_2012_pct" text,
"population_density_2012_km_2" real
);
|
SELECT MAX("population_august_15_2002") FROM "list_of_nyagatare_sectors_by_population_";
|
1-12496904-1
|
What is the biggended for 1947?
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"biggenden" real,
"eidsvold" real,
"gayndah" real,
"monto" real,
"mundubbera" real,
"perry" real
);
|
SELECT MAX("biggenden") FROM "population" WHERE "year"=1947;
|
1-12526990-1
|
What is the monto where the total region is 11230?
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"biggenden" real,
"eidsvold" real,
"gayndah" real,
"monto" real,
"mundubbera" real,
"perry" real
);
|
SELECT COUNT("monto") FROM "population" WHERE "total_region"=11230;
|
1-12526990-1
|
What is the gayndah when perry is 304?
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"biggenden" real,
"eidsvold" real,
"gayndah" real,
"monto" real,
"mundubbera" real,
"perry" real
);
|
SELECT MAX("gayndah") FROM "population" WHERE "perry"=304;
|
1-12526990-1
|
What is the minimum mundubbera when biggenden is 1882
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"biggenden" real,
"eidsvold" real,
"gayndah" real,
"monto" real,
"mundubbera" real,
"perry" real
);
|
SELECT MIN("mundubbera") FROM "population" WHERE "biggenden"=1882;
|
1-12526990-1
|
The Kansas City Wizards had a 9-10-9 record and what goals against avg?
|
CREATE TABLE "table1_1253396_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
|
SELECT "goals_against_avg" FROM "table1_1253396_5" WHERE "overall_record"='9-10-9';
|
1-1253396-5
|
The Dallas Burn had a 12-9-7 record and what number of goals for?
|
CREATE TABLE "table1_1253396_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
|
SELECT "goals_for" FROM "table1_1253396_5" WHERE "overall_record"='12-9-7';
|
1-1253396-5
|
D.C. United had a 9-14-5 record and what goals against avg.?
|
CREATE TABLE "table1_1253396_5" (
"club" text,
"overall_record" text,
"goals_for" real,
"goals_for_avg" text,
"goals_against" real,
"goals_against_avg" text
);
|
SELECT "goals_against_avg" FROM "table1_1253396_5" WHERE "overall_record"='9-14-5';
|
1-1253396-5
|
What is the highest value under the column goals against?
|
CREATE TABLE "goalkeeping_leaders" (
"no" real,
"player" text,
"club" text,
"games_played" real,
"minutes" real,
"goals_against" real,
"ga_average" text,
"wins" real,
"loses" real
);
|
SELECT MAX("goals_against") FROM "goalkeeping_leaders";
|
1-1255110-7
|
what is the date (from) where date (to) is 1919?
|
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
|
SELECT "date_from" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_to"='1919';
|
1-12562214-1
|
how many times is the date (to) 1919?
|
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
|
SELECT COUNT("notes") FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_to"='1919';
|
1-12562214-1
|
what is the date (from) where the notes are apeldoornsche tramweg-maatschappij?
|
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
|
SELECT "date_from" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "notes"='Apeldoornsche Tramweg-Maatschappij';
|
1-12562214-1
|
how many notes are form the date (from) 14 march 1910?
|
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
|
SELECT COUNT("notes") FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_from"='14 March 1910';
|
1-12562214-1
|
what is the location for the date (to) 8 october 1922?
|
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
|
SELECT "location" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_to"='8 October 1922';
|
1-12562214-1
|
what are the notes for date (from) 12 august 1897?
|
CREATE TABLE "list_of_town_tramway_systems_in_the_neth" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text,
"notes" text
);
|
SELECT "notes" FROM "list_of_town_tramway_systems_in_the_neth" WHERE "date_from"='12 August 1897';
|
1-12562214-1
|
what's the livingstone with fitzroy being 9499
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"rockhampton" real,
"livingstone" real,
"fitzroy" real,
"mt_morgan" real
);
|
SELECT "livingstone" FROM "population" WHERE "fitzroy"=9499;
|
1-12570207-1
|
what is the maximum total region with fitzroy being 8047
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"rockhampton" real,
"livingstone" real,
"fitzroy" real,
"mt_morgan" real
);
|
SELECT MAX("total_region") FROM "population" WHERE "fitzroy"=8047;
|
1-12570207-1
|
what is the minimum rockhampton
|
CREATE TABLE "population" (
"year" real,
"total_region" real,
"rockhampton" real,
"livingstone" real,
"fitzroy" real,
"mt_morgan" real
);
|
SELECT MIN("rockhampton") FROM "population";
|
1-12570207-1
|
How many population figures are given for Glengallen for the year when the region's total is 30554?
|
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosenthal" real
);
|
SELECT COUNT("population_glengallan") FROM "population" WHERE "population_region_total"=30554;
|
1-12584173-1
|
What is the maximum population size in the town of Stanthorpe?
|
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosenthal" real
);
|
SELECT MAX("population_stanthorpe") FROM "population";
|
1-12584173-1
|
What is the maximum population size in the town of Glengallen?
|
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosenthal" real
);
|
SELECT MAX("population_glengallan") FROM "population";
|
1-12584173-1
|
What was the population in Stanthorpe in the year when the population in Rosenthal was 1548?
|
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosenthal" real
);
|
SELECT MAX("population_stanthorpe") FROM "population" WHERE "population_rosenthal"=1548;
|
1-12584173-1
|
How many population total figures are there for the year when Allora's population was 2132?
|
CREATE TABLE "population" (
"year" real,
"population_region_total" real,
"population_stanthorpe" real,
"population_warwick" real,
"population_allora" real,
"population_glengallan" real,
"population_rosenthal" real
);
|
SELECT COUNT("population_region_total") FROM "population" WHERE "population_allora"=2132;
|
1-12584173-1
|
When was the ship launched when the commissioned or completed(*) is 6 june 1864?
|
CREATE TABLE "ships" (
"ship" text,
"builder" text,
"namesake" text,
"renamed" text,
"laid_down" real,
"launched" text,
"commissioned_or_completed" text
);
|
SELECT "launched" FROM "ships" WHERE "commissioned_or_completed"='6 June 1864';
|
1-12592074-1
|
When was the ship tecumseh launched?
|
CREATE TABLE "ships" (
"ship" text,
"builder" text,
"namesake" text,
"renamed" text,
"laid_down" real,
"launched" text,
"commissioned_or_completed" text
);
|
SELECT "launched" FROM "ships" WHERE "ship"='Tecumseh';
|
1-12592074-1
|
What is the namesake of the ship that was commissioned or completed(*) 16 april 1864?
|
CREATE TABLE "ships" (
"ship" text,
"builder" text,
"namesake" text,
"renamed" text,
"laid_down" real,
"launched" text,
"commissioned_or_completed" text
);
|
SELECT "namesake" FROM "ships" WHERE "commissioned_or_completed"='16 April 1864';
|
1-12592074-1
|
What is the minimum laid down?
|
CREATE TABLE "ships" (
"ship" text,
"builder" text,
"namesake" text,
"renamed" text,
"laid_down" real,
"launched" text,
"commissioned_or_completed" text
);
|
SELECT MIN("laid_down") FROM "ships";
|
1-12592074-1
|
What is the program where the focus is general management?
|
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
|
SELECT "program" FROM "postgraduate" WHERE "focus"='General Management';
|
1-12591022-2
|
what is teaching language where the focus is auditing?
|
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
|
SELECT "teaching_language" FROM "postgraduate" WHERE "focus"='Auditing';
|
1-12591022-2
|
WHat is the program where duration (years) is 1.5 and teaching language is german/english?
|
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
|
SELECT "program" FROM "postgraduate" WHERE "duration_years"='1.5' AND "teaching_language"='German/English';
|
1-12591022-2
|
What is the teaching language with the duration (years) 3.5?
|
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
|
SELECT "teaching_language" FROM "postgraduate" WHERE "duration_years"='3.5';
|
1-12591022-2
|
What is the program where the focus is risk management and regulation?
|
CREATE TABLE "postgraduate" (
"program" text,
"degree" text,
"focus" text,
"teaching_language" text,
"duration_years" text,
"full_time_part_time" text,
"ects_credit_points" real
);
|
SELECT "program" FROM "postgraduate" WHERE "focus"='Risk Management and Regulation';
|
1-12591022-2
|
What are the release dates for songs in 2003?
|
CREATE TABLE "table1_12588029_3" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"release_date" text,
"single_pack" text
);
|
SELECT "release_date" FROM "table1_12588029_3" WHERE "year"=2003;
|
1-12588029-3
|
How many singles have a song titled "Antisocial"?
|
CREATE TABLE "table1_12588029_3" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"release_date" text,
"single_pack" text
);
|
SELECT "single_pack" FROM "table1_12588029_3" WHERE "song_title"='\"Antisocial\"';
|
1-12588029-3
|
Which artist has a song titled "Soothsayer"?
|
CREATE TABLE "table1_12588029_3" (
"year" real,
"song_title" text,
"artist" text,
"master_recording" text,
"release_date" text,
"single_pack" text
);
|
SELECT "artist" FROM "table1_12588029_3" WHERE "song_title"='\"Soothsayer\"';
|
1-12588029-3
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.