question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Name the least total for 1500m for 2 | CREATE TABLE "final_standings" (
"place" real,
"athlete" text,
"long_jump" real,
"javelin" real,
"200_m" real,
"discus" real,
"1500_m" real,
"total" real
); | SELECT MIN("total") FROM "final_standings" WHERE "1500_m"=2; | 1-21276428-21 |
Name the max javelin for 200m for 5 | CREATE TABLE "final_standings" (
"place" real,
"athlete" text,
"long_jump" real,
"javelin" real,
"200_m" real,
"discus" real,
"1500_m" real,
"total" real
); | SELECT MAX("javelin") FROM "final_standings" WHERE "200_m"=5; | 1-21276428-21 |
Name the number of long jump for 1500m being 2 | CREATE TABLE "final_standings" (
"place" real,
"athlete" text,
"long_jump" real,
"javelin" real,
"200_m" real,
"discus" real,
"1500_m" real,
"total" real
); | SELECT COUNT("long_jump") FROM "final_standings" WHERE "1500_m"=2; | 1-21276428-21 |
Name the result for round 13 | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT "result" FROM "fixtures_and_results" WHERE "round"='13'; | 1-21269143-1 |
Name the attendance for loss result and salford city reds | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT "attendance" FROM "fixtures_and_results" WHERE "result"='Loss' AND "opponent"='Salford City Reds'; | 1-21269143-1 |
Name the total number of date for round 26 | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT COUNT("date") FROM "fixtures_and_results" WHERE "round"='26'; | 1-21269143-1 |
Name the attendace for 23 round | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT "attendance" FROM "fixtures_and_results" WHERE "round"='23'; | 1-21269143-1 |
Name the total number of opponets for 05/09/2009 | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT COUNT("opponent") FROM "fixtures_and_results" WHERE "date"='05/09/2009'; | 1-21269143-1 |
What is the only city name with a population density of 200? | CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "name" FROM "list" WHERE "population_density"='200'; | 1-21284653-1 |
What is the census division for the name Stratford? | CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "census_division" FROM "list" WHERE "name"='Stratford'; | 1-21284653-1 |
What is the change (%) when the area size (km2) is 247.21? | CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "change_pct" FROM "list" WHERE "area_km"='247.21'; | 1-21284653-1 |
What is the municipal status where the population density is 895.5? | CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "municipal_status" FROM "list" WHERE "population_density"='895.5'; | 1-21284653-1 |
What is the census division for the city named Kenora? | CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "census_division" FROM "list" WHERE "name"='Kenora'; | 1-21284653-1 |
If there are 18 villages, what is the minimum area ? | CREATE TABLE "administrative_divisions" (
"nr" real,
"district" text,
"former_name" text,
"area_ha" real,
"population_2005" real,
"no_of_villages" real,
"density_persons_ha" text
); | SELECT MIN("area_ha") FROM "administrative_divisions" WHERE "no_of_villages"=18; | 1-21302-1 |
With the population in 2005 of 572, what is the former name? | CREATE TABLE "administrative_divisions" (
"nr" real,
"district" text,
"former_name" text,
"area_ha" real,
"population_2005" real,
"no_of_villages" real,
"density_persons_ha" text
); | SELECT "former_name" FROM "administrative_divisions" WHERE "population_2005"=572; | 1-21302-1 |
How many villages have a density persons/ha of 5.5? | CREATE TABLE "administrative_divisions" (
"nr" real,
"district" text,
"former_name" text,
"area_ha" real,
"population_2005" real,
"no_of_villages" real,
"density_persons_ha" text
); | SELECT COUNT("no_of_villages") FROM "administrative_divisions" WHERE "density_persons_ha"='5.5'; | 1-21302-1 |
What were the scores for matches with irving wright hazel hotchkiss wightman? | CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "score" FROM "mixed_doubles_8_3_titles_5_runner_ups" WHERE "opponents"='Irving Wright Hazel Hotchkiss Wightman'; | 1-2127933-3 |
How many years had scores of 10–12, 6–1, 6–3? | CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT COUNT("year") FROM "mixed_doubles_8_3_titles_5_runner_ups" WHERE "score"='10–12, 6–1, 6–3'; | 1-2127933-3 |
Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent? | CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "partner" FROM "mixed_doubles_8_3_titles_5_runner_ups" WHERE "opponents"='Harry Johnson Hazel Hotchkiss Wightman'; | 1-2127933-3 |
What were the outcomes of matches with bill tilden florence ballin as opponents? | CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "outcome" FROM "mixed_doubles_8_3_titles_5_runner_ups" WHERE "opponents"='Bill Tilden Florence Ballin'; | 1-2127933-3 |
What is the earliest year? | CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT MIN("year") FROM "mixed_doubles_8_3_titles_5_runner_ups"; | 1-2127933-3 |
What was the survivor count for the episode directed by Gwyneth Horder-Payton? | CREATE TABLE "table1_21304131_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"survivor_count" real
); | SELECT "survivor_count" FROM "table1_21304131_2" WHERE "directed_by"='Gwyneth Horder-Payton'; | 1-21304131-2 |
When did series number 65 originally air? | CREATE TABLE "table1_21304131_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"survivor_count" real
); | SELECT "original_air_date" FROM "table1_21304131_2" WHERE "no_in_series"=65; | 1-21304131-2 |
What is the production code of the episode directed by David Solomon? | CREATE TABLE "table1_21304155_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "production_code" FROM "table1_21304155_1" WHERE "directed_by"='David Solomon'; | 1-21304155-1 |
Who wrote the episode with the production code of BN103? | CREATE TABLE "table1_21304155_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_21304155_1" WHERE "production_code"='BN103'; | 1-21304155-1 |
What was the original air date of the episode that had 4.08 million U.S. viewers? | CREATE TABLE "table1_21304155_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "original_air_date" FROM "table1_21304155_1" WHERE "u_s_viewers_millions"='4.08'; | 1-21304155-1 |
List all the locations where net capacity is 950? | CREATE TABLE "table1_213088_1" (
"location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_np... | SELECT "location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp_for_kostroma_1_and_2_table... | 1-213088-1 |
List all the locations with a RBMK-1000 reactor. | CREATE TABLE "table1_213088_1" (
"location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_np... | SELECT "location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp_for_kostroma_1_and_2_table... | 1-213088-1 |
What is the gross capacity where the net capacity is 1380? | CREATE TABLE "table1_213088_1" (
"location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_np... | SELECT MIN("gross_capacity_mw") FROM "table1_213088_1" WHERE "net_capacity_mw"=1380; | 1-213088-1 |
when was the premiere when a 3.3 millions of North American watched the episode whose writer was Rob Wright? | CREATE TABLE "table1_21313498_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "original_air_date" FROM "table1_21313498_1" WHERE "u_s_viewers_millions"='3.3' AND "written_by"='Rob Wright'; | 1-21313498-1 |
what is the name of the episode which the production code is 62015-08-162 | CREATE TABLE "table1_21313498_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_21313498_1" WHERE "production_code"='62015-08-162'; | 1-21313498-1 |
in the number of episode in season is 11, who was the writer? | CREATE TABLE "table1_21313498_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_21313498_1" WHERE "no_in_season"=11; | 1-21313498-1 |
What is the production code for the episode title "A Wrong Day's Journey into Right"? | CREATE TABLE "table1_21312959_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"us_viewers_millions" text
); | SELECT "production_code" FROM "table1_21312959_1" WHERE "title"='\"A Wrong Day''s Journey into Right\"'; | 1-21312959-1 |
How many episodes had the us viewers (millions) figure of 5.0? | CREATE TABLE "table1_21312959_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"us_viewers_millions" text
); | SELECT COUNT("no_in_season") FROM "table1_21312959_1" WHERE "us_viewers_millions"='5.0'; | 1-21312959-1 |
Who are the writers for the episode number in series 129? | CREATE TABLE "table1_21312959_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"us_viewers_millions" text
); | SELECT "written_by" FROM "table1_21312959_1" WHERE "no_in_series"=129; | 1-21312959-1 |
What is the us viewers (millions) figure for the episode titled "Witch Wars"? | CREATE TABLE "table1_21312959_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"us_viewers_millions" text
); | SELECT "us_viewers_millions" FROM "table1_21312959_1" WHERE "title"='\"Witch Wars\"'; | 1-21312959-1 |
What is the latest episode in the season directed by Chris Long? | CREATE TABLE "table1_21312845_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT MAX("no_in_season") FROM "table1_21312845_1" WHERE "directed_by"='Chris Long'; | 1-21312845-1 |
Who wrote the episodes directed by David Straiton? | CREATE TABLE "table1_21312845_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_21312845_1" WHERE "directed_by"='David Straiton'; | 1-21312845-1 |
Who directed the episode with a production code greater than 4301103.585233785 that was written by Curtis Kheel? | CREATE TABLE "table1_21312845_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT "directed_by" FROM "table1_21312845_1" WHERE "production_code">4301103.585233785 AND "written_by"='Curtis Kheel'; | 1-21312845-1 |
How many results were there on 19/06/2009? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
); | SELECT COUNT("result") FROM "fixtures_and_results" WHERE "date"='19/06/2009'; | 1-21311525-1 |
What is the round number for the date 19/06/2009? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
); | SELECT "round" FROM "fixtures_and_results" WHERE "date"='19/06/2009'; | 1-21311525-1 |
What is the round number for the venue of Stade de la Méditerranée? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
); | SELECT "round" FROM "fixtures_and_results" WHERE "venue"='Stade de la Méditerranée'; | 1-21311525-1 |
What was the score when the date was 17/07/2009? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
); | SELECT "score" FROM "fixtures_and_results" WHERE "date"='17/07/2009'; | 1-21311525-1 |
What is Marc Parenteau's position? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "round_five" WHERE "player"='Marc Parenteau'; | 1-21321804-5 |
What is the smallest pick number for McGill? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT MIN("pick_num") FROM "round_five" WHERE "college"='McGill'; | 1-21321804-5 |
Derik Fury plays for which college? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "round_five" WHERE "player"='Derik Fury'; | 1-21321804-5 |
David Kasouf plays for how many colleges? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("college") FROM "round_five" WHERE "player"='David Kasouf'; | 1-21321804-5 |
What position was drafted by the Hamilton Tiger-Cats? | CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "round_five" WHERE "cfl_team"='Hamilton Tiger-Cats'; | 1-21321804-5 |
Who won when Jamie Green had the best lap? | CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "winning_driver" FROM "race_calendar_and_results" WHERE "fastest_lap"='Jamie Green'; | 1-21321935-2 |
Who had the fasted lap in motorsport arena oschersleben? | CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "fastest_lap" FROM "race_calendar_and_results" WHERE "circuit"='Motorsport Arena Oschersleben'; | 1-21321935-2 |
When did Oliver Jarvis have pole position? | CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "date" FROM "race_calendar_and_results" WHERE "pole_position"='Oliver Jarvis'; | 1-21321935-2 |
What college did the player for the Hamilton Tiger-Cats go to? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "round_three" WHERE "cfl_team"='Hamilton Tiger-Cats'; | 1-21321804-3 |
How many players are at the DT position? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("player") FROM "round_three" WHERE "position"='DT'; | 1-21321804-3 |
What team does the player who went to Nebraska play for? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "cfl_team" FROM "round_three" WHERE "college"='Nebraska'; | 1-21321804-3 |
What is the highest number any of the players were picked at? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT MAX("pick_num") FROM "round_three"; | 1-21321804-3 |
Which player plays for the Winnipeg Blue Bombers? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "round_three" WHERE "cfl_team"='Winnipeg Blue Bombers'; | 1-21321804-3 |
What is the pick # for player wes lysack? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "round_one" WHERE "player"='Wes Lysack'; | 1-21321804-1 |
How many clf teams have a pick # of 5? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("cfl_team") FROM "round_one" WHERE "pick_num"=5; | 1-21321804-1 |
How many total positions are there for utah college? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT COUNT("position") FROM "round_one" WHERE "college"='Utah'; | 1-21321804-1 |
Which cfl team is manitoba college? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "cfl_team" FROM "round_one" WHERE "college"='Manitoba'; | 1-21321804-1 |
Which position is cfl team edmonton eskimos for weber state college? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "round_one" WHERE "cfl_team"='Edmonton Eskimos' AND "college"='Weber State'; | 1-21321804-1 |
What is the pick # for player wes lysack? | CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT MAX("pick_num") FROM "round_one" WHERE "player"='Wes Lysack'; | 1-21321804-1 |
When "i feel good" is the title and joe sachs is the writer how many series numbers are there? | CREATE TABLE "table1_21328899_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT COUNT("series_num") FROM "table1_21328899_1" WHERE "written_by"='Joe Sachs' AND "title"='\"I Feel Good\"'; | 1-21328899-1 |
How many stages of the rally took 14:33.9 for the leader to finish? | CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_gmt" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
); | SELECT COUNT("length") FROM "special_stages" WHERE "time"='14:33.9'; | 1-21326205-2 |
In which special stage named Tempo 2 was Sébastien Loeb the leader? | CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_gmt" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
); | SELECT "stage" FROM "special_stages" WHERE "rally_leader"='Sébastien Loeb' AND "name"='Tempo 2'; | 1-21326205-2 |
Which ralliers won the stages that were at 18:54 GMT? | CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_gmt" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
); | SELECT "winner" FROM "special_stages" WHERE "time_gmt"='18:54'; | 1-21326205-2 |
What is episode is "Bouncy Ball"? | CREATE TABLE "table1_21344397_3" (
"episode_number" real,
"total_episodes" real,
"title" text,
"original_uk_broadcast_by" text,
"original_uk_airdate" text,
"dvd_reference" text
); | SELECT MIN("total_episodes") FROM "table1_21344397_3" WHERE "title"='\"Bouncy Ball\"'; | 1-21344397-3 |
How many locations have #12 Michigan State as the big ten team? | CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
); | SELECT COUNT("location") FROM "table1_21330550_2" WHERE "big_ten_team"='#12 Michigan State'; | 1-21330550-2 |
Who is the winner when bigten (2-1) is the challenge leader? | CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
); | SELECT "winner" FROM "table1_21330550_2" WHERE "challenge_leader"='BigTen (2-1)'; | 1-21330550-2 |
Who is the winner in the location of ljvm coliseum • winston-salem, nc? | CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
); | SELECT "winner" FROM "table1_21330550_2" WHERE "location"='LJVM Coliseum • Winston-Salem, NC'; | 1-21330550-2 |
What time was the acc team #17 wake forest? | CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
); | SELECT "time" FROM "table1_21330550_2" WHERE "acc_team"='#17 Wake Forest'; | 1-21330550-2 |
Which location has a time of 9:30pm? | CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
); | SELECT "location" FROM "table1_21330550_2" WHERE "time"='9:30PM'; | 1-21330550-2 |
How many dates have a big ten team of #10 purdue? | CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
); | SELECT COUNT("date") FROM "table1_21330550_2" WHERE "big_ten_team"='#10 Purdue'; | 1-21330550-2 |
Name the hometown for barahona | CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
); | SELECT "hometown" FROM "delegates" WHERE "province_community"='Barahona'; | 1-21346767-3 |
Name the contestant for villa hermosa | CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
); | SELECT "contestant" FROM "delegates" WHERE "hometown"='Villa Hermosa'; | 1-21346767-3 |
Name the least age for cibao central and santo domingo | CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
); | SELECT MIN("age") FROM "delegates" WHERE "geographical_regions"='Cibao Central' AND "hometown"='Santo Domingo'; | 1-21346767-3 |
How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859? | CREATE TABLE "demographics" (
"census_division" text,
"area_km" text,
"pop_2011" real,
"pop_2006" real,
"pop_2001" real,
"pop_1996" real
); | SELECT COUNT("pop_2001") FROM "demographics" WHERE "pop_1996"=880859; | 1-2134521-1 |
How many people lived in the census division with an area of 15767.99 km2 in 1996? | CREATE TABLE "demographics" (
"census_division" text,
"area_km" text,
"pop_2011" real,
"pop_2006" real,
"pop_2001" real,
"pop_1996" real
); | SELECT "pop_1996" FROM "demographics" WHERE "area_km"='15767.99'; | 1-2134521-1 |
What is the largest population count in any of the census divisions in 2006? | CREATE TABLE "demographics" (
"census_division" text,
"area_km" text,
"pop_2011" real,
"pop_2006" real,
"pop_2001" real,
"pop_1996" real
); | SELECT MAX("pop_2006") FROM "demographics"; | 1-2134521-1 |
How many people lived in the census division spread out on 9909.31 km2 in 1996? | CREATE TABLE "demographics" (
"census_division" text,
"area_km" text,
"pop_2011" real,
"pop_2006" real,
"pop_2001" real,
"pop_1996" real
); | SELECT "pop_1996" FROM "demographics" WHERE "area_km"='9909.31'; | 1-2134521-1 |
When did "Granny Pig's Chickens" first air? | CREATE TABLE "table1_21344397_5" (
"episode_number" real,
"total_episodes" real,
"title" text,
"original_uk_broadcast_by" text,
"original_uk_airdate" text,
"dvd_reference" text
); | SELECT "original_uk_airdate" FROM "table1_21344397_5" WHERE "title"='\"Granny Pig''s Chickens\"'; | 1-21344397-5 |
How many have the name, "The Fire Engine"? | CREATE TABLE "table1_21344397_5" (
"episode_number" real,
"total_episodes" real,
"title" text,
"original_uk_broadcast_by" text,
"original_uk_airdate" text,
"dvd_reference" text
); | SELECT COUNT("total_episodes") FROM "table1_21344397_5" WHERE "title"='\"The Fire Engine\"'; | 1-21344397-5 |
What is the result of the qf round? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT "result" FROM "fixtures_and_results" WHERE "round"='QF'; | 1-21350934-2 |
Which venue has bradford bulls as the opponent on the date of 06/09/2009? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT "venue" FROM "fixtures_and_results" WHERE "opponent"='Bradford Bulls' AND "date"='06/09/2009'; | 1-21350934-2 |
Who is the opponent when the attendance is n/a? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT "opponent" FROM "fixtures_and_results" WHERE "attendance"='N/A'; | 1-21350934-2 |
What is the venue that has 34-18 as the score? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT "venue" FROM "fixtures_and_results" WHERE "score"='34-18'; | 1-21350934-2 |
How many results have 14,381 as the attendance? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT COUNT("result") FROM "fixtures_and_results" WHERE "attendance"='14,381'; | 1-21350934-2 |
How many rounds have 6,150 as attendance? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT "round" FROM "fixtures_and_results" WHERE "attendance"='6,150'; | 1-21350934-2 |
What is the episode number for "case two (part 1)"? | CREATE TABLE "table1_21369888_4" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewing_figures_millions_sourced_by_barb_includes_itv1_hd_and_itv1_1" text
); | SELECT "episode" FROM "table1_21369888_4" WHERE "title"='\"Case Two (Part 1)\"'; | 1-21369888-4 |
What is the original air date for the episode viewed by 7.12 million? | CREATE TABLE "table1_21369888_4" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewing_figures_millions_sourced_by_barb_includes_itv1_hd_and_itv1_1" text
); | SELECT "originalairdate" FROM "table1_21369888_4" WHERE "viewing_figures_millions_sourced_by_barb_includes_itv1_hd_and_itv1_1"='7.12'; | 1-21369888-4 |
Who directed the episode viewed by 7.35 million? | CREATE TABLE "table1_21369888_4" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewing_figures_millions_sourced_by_barb_includes_itv1_hd_and_itv1_1" text
); | SELECT "directed_by" FROM "table1_21369888_4" WHERE "viewing_figures_millions_sourced_by_barb_includes_itv1_hd_and_itv1_1"='7.35'; | 1-21369888-4 |
How many opponents did they play on 17/05/2009? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT COUNT("opponent") FROM "fixtures_and_results" WHERE "date"='17/05/2009'; | 1-21378160-2 |
What was the score of round 3? | CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
); | SELECT "score" FROM "fixtures_and_results" WHERE "round"='3'; | 1-21378160-2 |
Name the artist for 7 points | CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
); | SELECT COUNT("artist") FROM "final" WHERE "televote_points"=7; | 1-21378339-5 |
Name the number of artists for panel points being 5 | CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
); | SELECT COUNT("artist") FROM "final" WHERE "panel_points"=5; | 1-21378339-5 |
Name the total number of televote points for cry on my shoulders | CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
); | SELECT COUNT("televote_points") FROM "final" WHERE "song"='Cry on my shoulders'; | 1-21378339-5 |
Name the score for rebeka dremelj | CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
); | SELECT "score" FROM "final" WHERE "artist"='Rebeka Dremelj'; | 1-21378339-5 |
Name the artist for 1595 televotes | CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
); | SELECT "artist" FROM "final" WHERE "televotes"=1595; | 1-21378339-5 |
What was the result of the match on grass in 1955? | CREATE TABLE "men_s_doubles_8_5_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "men_s_doubles_8_5_titles_3_runner_ups" WHERE "surface"='Grass' AND "year"=1955; | 1-2139023-2 |
What was the result of the Australian Championships? | CREATE TABLE "men_s_doubles_8_5_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "men_s_doubles_8_5_titles_3_runner_ups" WHERE "championship"='Australian Championships'; | 1-2139023-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.