question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
what's the date of birth with # being 2 | CREATE TABLE "ghanaian_presidents_ages" (
"num" real,
"president" text,
"date_of_birth" text,
"date_of_inauguration" text,
"age_at_inauguration" text,
"end_of_term" text,
"length_of_retirement" text,
"date_of_death" text,
"lifespan" text
); | SELECT "date_of_birth" FROM "ghanaian_presidents_ages" WHERE "num"=2; | 1-12134383-1 |
how many end of term with age at inauguration being 64-066 64years, 66days | CREATE TABLE "ghanaian_presidents_ages" (
"num" real,
"president" text,
"date_of_birth" text,
"date_of_inauguration" text,
"age_at_inauguration" text,
"end_of_term" text,
"length_of_retirement" text,
"date_of_death" text,
"lifespan" text
); | SELECT COUNT("end_of_term") FROM "ghanaian_presidents_ages" WHERE "age_at_inauguration"='64-066 64years, 66days'; | 1-12134383-1 |
Who was the winning pitcher on june 25? | CREATE TABLE "lone_star_series" (
"date" text,
"winning_team" text,
"score" text,
"winning_pitcher" text,
"losing_pitcher" text,
"attendance" real,
"location" text
); | SELECT "winning_pitcher" FROM "lone_star_series" WHERE "date"='June 25'; | 1-12125069-2 |
How many games were on May 20? | CREATE TABLE "lone_star_series" (
"date" text,
"winning_team" text,
"score" text,
"winning_pitcher" text,
"losing_pitcher" text,
"attendance" real,
"location" text
); | SELECT COUNT("attendance") FROM "lone_star_series" WHERE "date"='May 20'; | 1-12125069-2 |
Who is the losing pitcher when the winning pitcher is roy oswalt? | CREATE TABLE "lone_star_series" (
"date" text,
"winning_team" text,
"score" text,
"winning_pitcher" text,
"losing_pitcher" text,
"attendance" real,
"location" text
); | SELECT "losing_pitcher" FROM "lone_star_series" WHERE "winning_pitcher"='Roy Oswalt'; | 1-12125069-2 |
Who is the winning pitcher when attendance is 38109? | CREATE TABLE "lone_star_series" (
"date" text,
"winning_team" text,
"score" text,
"winning_pitcher" text,
"losing_pitcher" text,
"attendance" real,
"location" text
); | SELECT "winning_pitcher" FROM "lone_star_series" WHERE "attendance"=38109; | 1-12125069-2 |
How many NHL teams does Terry French play for? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("nhl_team") FROM "round_two" WHERE "player"='Terry French'; | 1-1213511-2 |
Who's the player for the New York Rangers? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_two" WHERE "nhl_team"='New York Rangers'; | 1-1213511-2 |
How many positions do the players of Chicago Black Hawks play in? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("position") FROM "round_two" WHERE "nhl_team"='Chicago Black Hawks'; | 1-1213511-2 |
What is the nationality of the player from Buffalo Sabres? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_two" WHERE "nhl_team"='Buffalo Sabres'; | 1-1213511-2 |
What position does the player from Peterborough Petes (OHA) play on? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_two" WHERE "college_junior_club_team"='Peterborough Petes (OHA)'; | 1-1213511-2 |
What's Dave Fortier's pick number? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("pick_num") FROM "round_two" WHERE "player"='Dave Fortier'; | 1-1213511-2 |
What team does George Hulme play for? | CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_four" WHERE "player"='George Hulme'; | 1-1213511-4 |
What position does Neil Komadoski play? | CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_four" WHERE "player"='Neil Komadoski'; | 1-1213511-4 |
where is team player mike mcniven played for? | CREATE TABLE "round_five" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_five" WHERE "player"='Mike McNiven'; | 1-1213511-5 |
what college has nhl team chicago black hawks? | CREATE TABLE "round_five" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_five" WHERE "nhl_team"='Chicago Black Hawks'; | 1-1213511-5 |
what is the college that has the nhl chicago black hawks? | CREATE TABLE "round_five" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_five" WHERE "nhl_team"='Chicago Black Hawks'; | 1-1213511-5 |
who is the player with the nationality of canada and pick # is 65? | CREATE TABLE "round_five" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_five" WHERE "nationality"='Canada' AND "pick_num"=65; | 1-1213511-5 |
How many teams did Bob Peppler play for? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("nhl_team") FROM "round_three" WHERE "player"='Bob Peppler'; | 1-1213511-3 |
What is the position listed for the team the Philadelphia Flyers? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_three" WHERE "nhl_team"='Philadelphia Flyers'; | 1-1213511-3 |
How many nationalities are listed for the player Glen Irwin? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("nationality") FROM "round_three" WHERE "player"='Glen Irwin'; | 1-1213511-3 |
Which players have the position of centre and play for the nhl team new york rangers | CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_seven" WHERE "position"='Centre' AND "nhl_team"='New York Rangers'; | 1-1213511-7 |
Which nhl team has a college/junior/club team named university of notre dame (ncaa) | CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_seven" WHERE "college_junior_club_team"='University of Notre Dame (NCAA)'; | 1-1213511-7 |
what are all the position where player is al simmons | CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_seven" WHERE "player"='Al Simmons'; | 1-1213511-7 |
What nationality is pick # 89 | CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_seven" WHERE "pick_num"=89; | 1-1213511-7 |
Which college/junior/club teams nationality is canada and nhl team is minnesota north stars | CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_seven" WHERE "nationality"='Canada' AND "nhl_team"='Minnesota North Stars'; | 1-1213511-7 |
what is the total number of pick # where nhl team is philadelphia flyers | CREATE TABLE "round_seven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("pick_num") FROM "round_seven" WHERE "nhl_team"='Philadelphia Flyers'; | 1-1213511-7 |
What is the nationality of the player from the Detroit Red Wings? | CREATE TABLE "round_six" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_six" WHERE "nhl_team"='Detroit Red Wings'; | 1-1213511-6 |
What position does Jim Johnston play? | CREATE TABLE "round_six" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_six" WHERE "player"='Jim Johnston'; | 1-1213511-6 |
Which team does Pierre Duguay play for? | CREATE TABLE "round_six" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_six" WHERE "player"='Pierre Duguay'; | 1-1213511-6 |
What country does the goaltender come from? | CREATE TABLE "round_six" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_six" WHERE "position"='Goaltender'; | 1-1213511-6 |
who is the writer where viewers is 5.16m | CREATE TABLE "table1_12148018_2" (
"num" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text,
"viewers" text
); | SELECT "writer" FROM "table1_12148018_2" WHERE "viewers"='5.16m'; | 1-12148018-2 |
who is the writer for episode "episode 7" | CREATE TABLE "table1_12148018_2" (
"num" real,
"episode" text,
"director" text,
"writer" text,
"original_airdate" text,
"viewers" text
); | SELECT "writer" FROM "table1_12148018_2" WHERE "episode"='\"Episode 7\"'; | 1-12148018-2 |
For which league is the open cup the quarter finals | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "league" FROM "year_by_year" WHERE "open_cup"='Quarter Finals'; | 1-1214035-1 |
What open cups where played in 2002 | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "open_cup" FROM "year_by_year" WHERE "year"=2002; | 1-1214035-1 |
What leagues includes division 3 | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "league" FROM "year_by_year" WHERE "division"='3'; | 1-1214035-1 |
What was the result of the playoffs when the regular season was 7th, southeast | CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "playoffs" FROM "year_by_year" WHERE "regular_season"='7th, Southeast'; | 1-1214035-1 |
What's the original air date of the episode with production code 2T6719? | CREATE TABLE "table1_12159115_2" (
"series_num" 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_12159115_2" WHERE "production_code"='2T6719'; | 1-12159115-2 |
Who's the writer of the episode see by 12.13 million US viewers? | CREATE TABLE "table1_12159115_2" (
"series_num" 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_12159115_2" WHERE "u_s_viewers_millions"='12.13'; | 1-12159115-2 |
What's the total number of episodes with production code 2T6705? | CREATE TABLE "table1_12159115_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("title") FROM "table1_12159115_2" WHERE "production_code"='2T6705'; | 1-12159115-2 |
What's the total number of directors who've directed episodes seen by 11.34 million US viewers? | CREATE TABLE "table1_12159115_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("directed_by") FROM "table1_12159115_2" WHERE "u_s_viewers_millions"='11.34'; | 1-12159115-2 |
What's the production code of the episode seen by 11.64 million US viewers? | CREATE TABLE "table1_12159115_2" (
"series_num" 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_12159115_2" WHERE "u_s_viewers_millions"='11.64'; | 1-12159115-2 |
What is the season where the winner is norway and the winner women is russia? | CREATE TABLE "nations_cup" (
"season" text,
"winner" text,
"runner_up" text,
"third" text,
"winner_men" text,
"winner_women" text
); | SELECT "season" FROM "nations_cup" WHERE "winner"='Norway' AND "winner_women"='Russia'; | 1-1216097-7 |
What is the winner women and third is italy and runner-up is finland? | CREATE TABLE "nations_cup" (
"season" text,
"winner" text,
"runner_up" text,
"third" text,
"winner_men" text,
"winner_women" text
); | SELECT "winner_women" FROM "nations_cup" WHERE "third"='Italy' AND "runner_up"='Finland'; | 1-1216097-7 |
What is the number of runner up when the winner of women is norway and third is sweden? | CREATE TABLE "nations_cup" (
"season" text,
"winner" text,
"runner_up" text,
"third" text,
"winner_men" text,
"winner_women" text
); | SELECT COUNT("runner_up") FROM "nations_cup" WHERE "winner_women"='Norway' AND "third"='Sweden'; | 1-1216097-7 |
what's the report with fastest lap being felipe massa and winning driver being jenson button | CREATE TABLE "drivers_standings" (
"rd" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "report" FROM "drivers_standings" WHERE "fastest_lap"='Felipe Massa' AND "winning_driver"='Jenson Button'; | 1-12161822-5 |
what's the grand prix with winning driver being jenson button | CREATE TABLE "drivers_standings" (
"rd" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "grand_prix" FROM "drivers_standings" WHERE "winning_driver"='Jenson Button'; | 1-12161822-5 |
who is the the pole position with grand prix being italian grand prix | CREATE TABLE "drivers_standings" (
"rd" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "pole_position" FROM "drivers_standings" WHERE "grand_prix"='Italian Grand Prix'; | 1-12161822-5 |
who is the the fastest lap with grand prix being european grand prix | CREATE TABLE "drivers_standings" (
"rd" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "fastest_lap" FROM "drivers_standings" WHERE "grand_prix"='European Grand Prix'; | 1-12161822-5 |
How many viewers, in millions, were for the episode directed by Tawnia McKiernan? | CREATE TABLE "table1_12159115_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_12159115_3" WHERE "directed_by"='Tawnia McKiernan'; | 1-12159115-3 |
How many episodes were written only by William N. Fordes? | CREATE TABLE "table1_12159115_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("series_num") FROM "table1_12159115_3" WHERE "written_by"='William N. Fordes'; | 1-12159115-3 |
How many U.S Viewers, in millions, were for series # 26? | CREATE TABLE "table1_12159115_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_12159115_3" WHERE "series_num"=26; | 1-12159115-3 |
What is the third year course in science? | CREATE TABLE "table1_12148147_2" (
"subjects" text,
"first_year" text,
"second_year" text,
"third_year" text,
"fourth_year" text
); | SELECT "third_year" FROM "table1_12148147_2" WHERE "subjects"='Science'; | 1-12148147-2 |
What is the second year class following pag-unawa? | CREATE TABLE "table1_12148147_2" (
"subjects" text,
"first_year" text,
"second_year" text,
"third_year" text,
"fourth_year" text
); | SELECT "second_year" FROM "table1_12148147_2" WHERE "first_year"='Pag-unawa'; | 1-12148147-2 |
How many classes are taken in the third year when pag-unawa was taken in the first year? | CREATE TABLE "table1_12148147_2" (
"subjects" text,
"first_year" text,
"second_year" text,
"third_year" text,
"fourth_year" text
); | SELECT COUNT("third_year") FROM "table1_12148147_2" WHERE "first_year"='Pag-unawa'; | 1-12148147-2 |
What is the first year course in the program where geometry is taken in the third year? | CREATE TABLE "table1_12148147_2" (
"subjects" text,
"first_year" text,
"second_year" text,
"third_year" text,
"fourth_year" text
); | SELECT "first_year" FROM "table1_12148147_2" WHERE "third_year"='Geometry'; | 1-12148147-2 |
What is the second year course in the program where physics is taken in the fourth year? | CREATE TABLE "table1_12148147_2" (
"subjects" text,
"first_year" text,
"second_year" text,
"third_year" text,
"fourth_year" text
); | SELECT "second_year" FROM "table1_12148147_2" WHERE "fourth_year"='Physics'; | 1-12148147-2 |
Who won the womens singles event the year that Jonas Lyduch won? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "womens_singles" FROM "previous_winners" WHERE "mens_singles"='Jonas Lyduch'; | 1-12163387-1 |
Who won the mens doubles the year Alison Humby won the womens singles? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_doubles" FROM "previous_winners" WHERE "womens_singles"='Alison Humby'; | 1-12163387-1 |
What are all the .308 Winchester cartridge types with 38 for the 300 m group (mm) | CREATE TABLE "design_details" (
"308_winchester_cartridge_type" text,
"100_m_group_mm" text,
"100_m_group_moa" text,
"300_m_group_mm" text,
"300_m_group_moa" text
); | SELECT "308_winchester_cartridge_type" FROM "design_details" WHERE "300_m_group_mm"='38'; | 1-12162347-1 |
For which 100 m group ( moa ) is the 300 m group ( moa ) 0.63 | CREATE TABLE "design_details" (
"308_winchester_cartridge_type" text,
"100_m_group_mm" text,
"100_m_group_moa" text,
"300_m_group_mm" text,
"300_m_group_moa" text
); | SELECT "100_m_group_moa" FROM "design_details" WHERE "300_m_group_moa"='0.63'; | 1-12162347-1 |
What are all the 300 m group (mm) with a .308 winchester cartridge type of ruag swiss p target 168 gr hp-bt | CREATE TABLE "design_details" (
"308_winchester_cartridge_type" text,
"100_m_group_mm" text,
"100_m_group_moa" text,
"300_m_group_mm" text,
"300_m_group_moa" text
); | SELECT "300_m_group_mm" FROM "design_details" WHERE "308_winchester_cartridge_type"='RUAG Swiss P Target 168 gr HP-BT'; | 1-12162347-1 |
For which .308 winchester cartridge type is the 300 m group ( moa ) 0.51 | CREATE TABLE "design_details" (
"308_winchester_cartridge_type" text,
"100_m_group_mm" text,
"100_m_group_moa" text,
"300_m_group_mm" text,
"300_m_group_moa" text
); | SELECT "308_winchester_cartridge_type" FROM "design_details" WHERE "300_m_group_moa"='0.51'; | 1-12162347-1 |
For which 300 m group ( moa ) is the 300 m group (mm) 45 | CREATE TABLE "design_details" (
"308_winchester_cartridge_type" text,
"100_m_group_mm" text,
"100_m_group_moa" text,
"300_m_group_mm" text,
"300_m_group_moa" text
); | SELECT "300_m_group_moa" FROM "design_details" WHERE "300_m_group_mm"='45'; | 1-12162347-1 |
What are all the 100 m group (mm) with a .308 winchester cartridge type of .300 winchester magnum cartridge type | CREATE TABLE "design_details" (
"308_winchester_cartridge_type" text,
"100_m_group_mm" text,
"100_m_group_moa" text,
"300_m_group_mm" text,
"300_m_group_moa" text
); | SELECT "100_m_group_mm" FROM "design_details" WHERE "308_winchester_cartridge_type"='.300 Winchester Magnum cartridge type'; | 1-12162347-1 |
How many years did Peter Mikkelsen win the Mens Singles? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT COUNT("year") FROM "previous_winners" WHERE "mens_singles"='Peter Mikkelsen'; | 1-12164707-1 |
Who won the Men's Doubles when Karina de Wit won the Women's Singles? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_doubles" FROM "previous_winners" WHERE "womens_singles"='Karina de Wit'; | 1-12164707-1 |
How many Mixed Doubles won when Oliver Pongratz won the Men's Singles? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT COUNT("mixed_doubles") FROM "previous_winners" WHERE "mens_singles"='Oliver Pongratz'; | 1-12164707-1 |
Who won the Men's Doubles when Guo Xin won the Women's Singles? | CREATE TABLE "previous_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_doubles" FROM "previous_winners" WHERE "womens_singles"='Guo Xin'; | 1-12164707-1 |
Which college did Dennis Byrd come from? | CREATE TABLE "round_one" (
"overall_pick_num" real,
"afl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "round_one" WHERE "player"='Dennis Byrd'; | 1-12165999-1 |
Bob Johnson plays for which AFL team? | CREATE TABLE "round_one" (
"overall_pick_num" real,
"afl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "afl_team" FROM "round_one" WHERE "player"='Bob Johnson'; | 1-12165999-1 |
What position does the Cincinnati Bengals' player have? | CREATE TABLE "round_one" (
"overall_pick_num" real,
"afl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "round_one" WHERE "afl_team"='Cincinnati Bengals'; | 1-12165999-1 |
What position does Syracuse's player have? | CREATE TABLE "round_one" (
"overall_pick_num" real,
"afl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "round_one" WHERE "college"='Syracuse'; | 1-12165999-1 |
What college did the Cincinnati Bengals' player come from? | CREATE TABLE "round_one" (
"overall_pick_num" real,
"afl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "round_one" WHERE "afl_team"='Cincinnati Bengals'; | 1-12165999-1 |
What is the pinyin for explaining music? | CREATE TABLE "contents" (
"chapter" real,
"chinese" text,
"pinyin" text,
"translation" text,
"subject" text
); | SELECT "pinyin" FROM "contents" WHERE "translation"='Explaining Music'; | 1-1216675-1 |
How many subjects have the pinyin shixun? | CREATE TABLE "contents" (
"chapter" real,
"chinese" text,
"pinyin" text,
"translation" text,
"subject" text
); | SELECT COUNT("subject") FROM "contents" WHERE "pinyin"='Shixun'; | 1-1216675-1 |
What is the pinyin for explaining beasts? | CREATE TABLE "contents" (
"chapter" real,
"chinese" text,
"pinyin" text,
"translation" text,
"subject" text
); | SELECT "pinyin" FROM "contents" WHERE "translation"='Explaining Beasts'; | 1-1216675-1 |
How many pinyin transaltions are available for the chinese phrase 釋蟲? | CREATE TABLE "contents" (
"chapter" real,
"chinese" text,
"pinyin" text,
"translation" text,
"subject" text
); | SELECT COUNT("pinyin") FROM "contents" WHERE "chinese"='釋蟲'; | 1-1216675-1 |
What chapter number is Shiqiu? | CREATE TABLE "contents" (
"chapter" real,
"chinese" text,
"pinyin" text,
"translation" text,
"subject" text
); | SELECT MIN("chapter") FROM "contents" WHERE "pinyin"='Shiqiu'; | 1-1216675-1 |
How many mens doubles when womens doubles is catrine bengtsson margit borg? | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT COUNT("mens_doubles") FROM "past_winners" WHERE "womens_doubles"='Catrine Bengtsson Margit Borg'; | 1-12171145-1 |
Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina? | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_doubles" FROM "past_winners" WHERE "womens_doubles"='Anastasia Chervyakova Romina Gabdullina'; | 1-12171145-1 |
Who is themens doubles when the mens singles is flemming delfs? | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_doubles" FROM "past_winners" WHERE "mens_singles"='Flemming Delfs'; | 1-12171145-1 |
Who was the womens doubles when the mixed doubles is jacco arends selena piek? | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "womens_doubles" FROM "past_winners" WHERE "mixed_doubles"='Jacco Arends Selena Piek'; | 1-12171145-1 |
Who was the mens doubles when womens singles is mette sørensen? | CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_doubles" FROM "past_winners" WHERE "womens_singles"='Mette Sørensen'; | 1-12171145-1 |
Who is the Motogp winnder for the Catalunya Circuit? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT "moto_gp_winner" FROM "grands_prix" WHERE "circuit"='Catalunya'; | 1-12186237-1 |
Who is the 125cc winnder for the Phillip Island circuit? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT "125cc_winner" FROM "grands_prix" WHERE "circuit"='Phillip Island'; | 1-12186237-1 |
What is the date of the German Grand Prix? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT "date" FROM "grands_prix" WHERE "grand_prix"='German Grand Prix'; | 1-12186237-1 |
What circuit was on the date 4 May? | CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"125cc_winner" text,
"250cc_winner" text,
"moto_gp_winner" text,
"report" text
); | SELECT "circuit" FROM "grands_prix" WHERE "date"='4 May'; | 1-12186237-1 |
Name the number of mens doubles for 2004/2005 | CREATE TABLE "table1_12193259_1" (
"season" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT COUNT("mens_doubles") FROM "table1_12193259_1" WHERE "season"='2004/2005'; | 1-12193259-1 |
Name the total number for mens single for 2002/2003 | CREATE TABLE "table1_12193259_1" (
"season" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT COUNT("mens_singles") FROM "table1_12193259_1" WHERE "season"='2002/2003'; | 1-12193259-1 |
Name the mens singles for 1944/1945 | CREATE TABLE "table1_12193259_1" (
"season" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_singles" FROM "table1_12193259_1" WHERE "season"='1944/1945'; | 1-12193259-1 |
How many times was pernell whitaker an opponent? | CREATE TABLE "list_of_boxing_quadruple_or_four_divisio" (
"number" real,
"name" text,
"titles" text,
"date" text,
"opponent" text,
"result" text,
"defenses" real
); | SELECT COUNT("date") FROM "list_of_boxing_quadruple_or_four_divisio" WHERE "opponent"='Pernell Whitaker'; | 1-12206918-2 |
How many times was iran barkley an opponent? | CREATE TABLE "list_of_boxing_quadruple_or_four_divisio" (
"number" real,
"name" text,
"titles" text,
"date" text,
"opponent" text,
"result" text,
"defenses" real
); | SELECT "number" FROM "list_of_boxing_quadruple_or_four_divisio" WHERE "opponent"='Iran Barkley'; | 1-12206918-2 |
Who was the opponent when the result was ud 12/12 and date was 1993-05-22? | CREATE TABLE "list_of_boxing_quadruple_or_four_divisio" (
"number" real,
"name" text,
"titles" text,
"date" text,
"opponent" text,
"result" text,
"defenses" real
); | SELECT "opponent" FROM "list_of_boxing_quadruple_or_four_divisio" WHERE "result"='UD 12/12' AND "date"='1993-05-22'; | 1-12206918-2 |
How many opponents fought on 1982-12-03? | CREATE TABLE "list_of_boxing_quadruple_or_four_divisio" (
"number" real,
"name" text,
"titles" text,
"date" text,
"opponent" text,
"result" text,
"defenses" real
); | SELECT COUNT("opponent") FROM "list_of_boxing_quadruple_or_four_divisio" WHERE "date"='1982-12-03'; | 1-12206918-2 |
What is the name of the title winner in the ring light heavyweight (175) division? | CREATE TABLE "list_of_boxing_quadruple_or_four_divisio" (
"number" real,
"name" text,
"titles" text,
"date" text,
"opponent" text,
"result" text,
"defenses" real
); | SELECT "name" FROM "list_of_boxing_quadruple_or_four_divisio" WHERE "titles"='The Ring Light heavyweight (175)'; | 1-12206918-2 |
How many trains call at Castor, Overton, Peterborough East and are operated by LNWR? | CREATE TABLE "table1_12221135_3" (
"departure" text,
"going_to" text,
"calling_at" text,
"arrival" text,
"operator" text
); | SELECT COUNT("arrival") FROM "table1_12221135_3" WHERE "operator"='LNWR' AND "calling_at"='Castor, Overton, Peterborough East'; | 1-12221135-3 |
Who won the mens singles in 2009? | CREATE TABLE "table1_12204717_1" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
); | SELECT "mens_singles" FROM "table1_12204717_1" WHERE "year"=2009; | 1-12204717-1 |
What are the the University of Richmond's school colors? | CREATE TABLE "member_institutions" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"joined" real,
"nickname" text,
"colors" text
); | SELECT "colors" FROM "member_institutions" WHERE "institution"='University of Richmond'; | 1-1221089-1 |
What are the school colors of the University of New Hampshire? | CREATE TABLE "member_institutions" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"joined" real,
"nickname" text,
"colors" text
); | SELECT "colors" FROM "member_institutions" WHERE "institution"='University of New Hampshire'; | 1-1221089-1 |
Subsets and Splits