question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Name the outcome for zurich | CREATE TABLE "doubles_7_2_titles_5_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "outcome" FROM "doubles_7_2_titles_5_runners_up" WHERE "championship"='Zurich'; | 1-23944006-4 |
Name the number of surfaces for 4-6, 2-6 | CREATE TABLE "doubles_7_2_titles_5_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT COUNT("surface") FROM "doubles_7_2_titles_5_runners_up" WHERE "score"='4-6, 2-6'; | 1-23944006-4 |
What is the least 08-09 gp/jgp 2nd was when the 07-08 gp/jgp best is 223? | CREATE TABLE "pairs" (
"rank" real,
"ws_points" real,
"name" text,
"country" text,
"08_09_i_o_best" real,
"08_09_gp_jgp_best" real,
"08_09_gp_jgp_2nd" real,
"08_09_oi_best" real,
"08_09_oi_2nd" real,
"07_08_i_o_best" real,
"07_08_gp_jgp_best" real,
"07_08_gp_jgp_2nd" real,
"07_08_oi_best" real... | SELECT MIN("08_09_gp_jgp_2nd") FROM "pairs" WHERE "07_08_gp_jgp_best"=223; | 1-23938357-6 |
What is the least 08-09 i/o best? | CREATE TABLE "pairs" (
"rank" real,
"ws_points" real,
"name" text,
"country" text,
"08_09_i_o_best" real,
"08_09_gp_jgp_best" real,
"08_09_gp_jgp_2nd" real,
"08_09_oi_best" real,
"08_09_oi_2nd" real,
"07_08_i_o_best" real,
"07_08_gp_jgp_best" real,
"07_08_gp_jgp_2nd" real,
"07_08_oi_best" real... | SELECT MIN("08_09_i_o_best") FROM "pairs"; | 1-23938357-6 |
How many times is keauna mclaughlin / rockne brubaker ranked? | CREATE TABLE "pairs" (
"rank" real,
"ws_points" real,
"name" text,
"country" text,
"08_09_i_o_best" real,
"08_09_gp_jgp_best" real,
"08_09_gp_jgp_2nd" real,
"08_09_oi_best" real,
"08_09_oi_2nd" real,
"07_08_i_o_best" real,
"07_08_gp_jgp_best" real,
"07_08_gp_jgp_2nd" real,
"07_08_oi_best" real... | SELECT COUNT("rank") FROM "pairs" WHERE "name"='Keauna McLaughlin / Rockne Brubaker'; | 1-23938357-6 |
Name the sprint classification for michael barry | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"sprint_classification" text,
"mountains_classification" text,
"youth_classification" text,
"aggressive_rider" text,
"team_classification" text
); | SELECT "sprint_classification" FROM "jersey_progress" WHERE "aggressive_rider"='Michael Barry'; | 1-23944514-15 |
Name the youth classification for michael barry | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"sprint_classification" text,
"mountains_classification" text,
"youth_classification" text,
"aggressive_rider" text,
"team_classification" text
); | SELECT "youth_classification" FROM "jersey_progress" WHERE "aggressive_rider"='Michael Barry'; | 1-23944514-15 |
Name the mountains classification for bradley white | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"sprint_classification" text,
"mountains_classification" text,
"youth_classification" text,
"aggressive_rider" text,
"team_classification" text
); | SELECT "mountains_classification" FROM "jersey_progress" WHERE "aggressive_rider"='Bradley White'; | 1-23944514-15 |
List all mbit/s with profiles of 8b. | CREATE TABLE "profiles" (
"profile" text,
"bandwidth_m_hz" text,
"number_of_carriers" real,
"carrier_bandwidth_k_hz" text,
"power_d_bm" text,
"max_downstream_throughput_mbit_s" real
); | SELECT "max_downstream_throughput_mbit_s" FROM "profiles" WHERE "profile"='8b'; | 1-2394927-1 |
What are the mhz when the profile is 8b? | CREATE TABLE "profiles" (
"profile" text,
"bandwidth_m_hz" text,
"number_of_carriers" real,
"carrier_bandwidth_k_hz" text,
"power_d_bm" text,
"max_downstream_throughput_mbit_s" real
); | SELECT "bandwidth_m_hz" FROM "profiles" WHERE "profile"='8b'; | 1-2394927-1 |
What are the highest mbit/s when the dbm is +17.5? | CREATE TABLE "profiles" (
"profile" text,
"bandwidth_m_hz" text,
"number_of_carriers" real,
"carrier_bandwidth_k_hz" text,
"power_d_bm" text,
"max_downstream_throughput_mbit_s" real
); | SELECT "max_downstream_throughput_mbit_s" FROM "profiles" WHERE "power_d_bm"='+17.5'; | 1-2394927-1 |
List all dbm's when profiles are 8a. | CREATE TABLE "profiles" (
"profile" text,
"bandwidth_m_hz" text,
"number_of_carriers" real,
"carrier_bandwidth_k_hz" text,
"power_d_bm" text,
"max_downstream_throughput_mbit_s" real
); | SELECT "power_d_bm" FROM "profiles" WHERE "profile"='8a'; | 1-2394927-1 |
What is the lowest number of carriers? | CREATE TABLE "profiles" (
"profile" text,
"bandwidth_m_hz" text,
"number_of_carriers" real,
"carrier_bandwidth_k_hz" text,
"power_d_bm" text,
"max_downstream_throughput_mbit_s" real
); | SELECT MIN("number_of_carriers") FROM "profiles"; | 1-2394927-1 |
Who directed episode 21? | CREATE TABLE "table1_23958944_5" (
"no_by_series" real,
"no_by_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT "directed_by" FROM "table1_23958944_5" WHERE "no_by_season"=21; | 1-23958944-5 |
What is the series number of the episode "Pandora"? | CREATE TABLE "table1_23958944_5" (
"no_by_series" real,
"no_by_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT "no_by_series" FROM "table1_23958944_5" WHERE "title"='\"Pandora\"'; | 1-23958944-5 |
What episode was watched by 10.81 million US viewers? | CREATE TABLE "table1_23958944_5" (
"no_by_series" real,
"no_by_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT MIN("no_by_season") FROM "table1_23958944_5" WHERE "u_s_viewers_in_millions"='10.81'; | 1-23958944-5 |
How many episodes are titled "Cops & Robbers"? | CREATE TABLE "table1_23958944_5" (
"no_by_series" real,
"no_by_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT COUNT("no_by_season") FROM "table1_23958944_5" WHERE "title"='\"Cops & Robbers\"'; | 1-23958944-5 |
What episode is directed by Bryan Spicer and written by Terence Paul Winter? | CREATE TABLE "table1_23958944_5" (
"no_by_series" real,
"no_by_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT "title" FROM "table1_23958944_5" WHERE "directed_by"='Bryan Spicer' AND "written_by"='Terence Paul Winter'; | 1-23958944-5 |
Name the number of series for 19 | CREATE TABLE "table1_23958944_6" (
"no_by_series" real,
"no_by_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT "no_by_series" FROM "table1_23958944_6" WHERE "no_by_season"=19; | 1-23958944-6 |
Name the viewers for 520 | CREATE TABLE "table1_23958944_6" (
"no_by_series" real,
"no_by_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT "u_s_viewers_in_millions" FROM "table1_23958944_6" WHERE "production_number"=520; | 1-23958944-6 |
How many different writers have written the episode with series number 8? | CREATE TABLE "table1_23958944_2" (
"no_by_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT COUNT("written_by") FROM "table1_23958944_2" WHERE "no_by_series"=8; | 1-23958944-2 |
Who is the director of the episode titled "Hell hath no fury"? | CREATE TABLE "table1_23958944_2" (
"no_by_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT "directed_by" FROM "table1_23958944_2" WHERE "title"='\"Hell Hath No Fury\"'; | 1-23958944-2 |
Who directed the episode titled "Ghosts"? | CREATE TABLE "table1_23958944_2" (
"no_by_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT "directed_by" FROM "table1_23958944_2" WHERE "title"='\"Ghosts\"'; | 1-23958944-2 |
What's the title of the episode with production number 103? | CREATE TABLE "table1_23958944_2" (
"no_by_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT "title" FROM "table1_23958944_2" WHERE "production_number"=103; | 1-23958944-2 |
When did the episode titled "Hell hath no fury" air for the first time? | CREATE TABLE "table1_23958944_2" (
"no_by_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_number" real,
"u_s_viewers_in_millions" text
); | SELECT "original_air_date" FROM "table1_23958944_2" WHERE "title"='\"Hell Hath No Fury\"'; | 1-23958944-2 |
who has the 1 goal and the position is fw? | CREATE TABLE "regular_season_statistics" (
"name" text,
"nationality" text,
"position" text,
"athletica_career" text,
"appearances" real,
"starts" real,
"minutes" real,
"goals" real,
"assists" real
); | SELECT "name" FROM "regular_season_statistics" WHERE "goals"=1 AND "position"='FW'; | 1-23963781-2 |
How many release dates are there for year of 1988 and additional rock band 3 features is none? | CREATE TABLE "list_of_songs_released_in_2007" (
"song_title" text,
"artist" text,
"year" real,
"genre" text,
"single_pack_name" text,
"release_date" text,
"family_friendly" text,
"additional_rock_band_3_features" text
); | SELECT COUNT("release_date") FROM "list_of_songs_released_in_2007" WHERE "year"=1988 AND "additional_rock_band_3_features"='None'; | 1-23981741-1 |
Who is the artist for the song title of " ...and justice for all "? | CREATE TABLE "list_of_songs_released_in_2007" (
"song_title" text,
"artist" text,
"year" real,
"genre" text,
"single_pack_name" text,
"release_date" text,
"family_friendly" text,
"additional_rock_band_3_features" text
); | SELECT "artist" FROM "list_of_songs_released_in_2007" WHERE "song_title"='\" ...And Justice for All \"'; | 1-23981741-1 |
What is the year for the song title of " little sister "? | CREATE TABLE "list_of_songs_released_in_2007" (
"song_title" text,
"artist" text,
"year" real,
"genre" text,
"single_pack_name" text,
"release_date" text,
"family_friendly" text,
"additional_rock_band_3_features" text
); | SELECT "year" FROM "list_of_songs_released_in_2007" WHERE "song_title"='\" Little Sister \"'; | 1-23981741-1 |
How many single / pack names are there for the song title of " rockaway beach "? | CREATE TABLE "list_of_songs_released_in_2007" (
"song_title" text,
"artist" text,
"year" real,
"genre" text,
"single_pack_name" text,
"release_date" text,
"family_friendly" text,
"additional_rock_band_3_features" text
); | SELECT COUNT("single_pack_name") FROM "list_of_songs_released_in_2007" WHERE "song_title"='\" Rockaway Beach \"'; | 1-23981741-1 |
What is the year for the genre of emo and artist is all-american rejects and song title is " move along "? | CREATE TABLE "list_of_songs_released_in_2007" (
"song_title" text,
"artist" text,
"year" real,
"genre" text,
"single_pack_name" text,
"release_date" text,
"family_friendly" text,
"additional_rock_band_3_features" text
); | SELECT MAX("year") FROM "list_of_songs_released_in_2007" WHERE "genre"='Emo' AND "artist"='All-American Rejects' AND "song_title"='\" Move Along \"'; | 1-23981741-1 |
What is the nationality associated with 0 minutes, position of MF, and an Athletica career of 2009? | CREATE TABLE "all_time_saint_louis_athletica_statistic" (
"name" text,
"nationality" text,
"position" text,
"athletica_career" text,
"appearances" real,
"starts" real,
"minutes" real,
"goals" real,
"assists" real
); | SELECT "nationality" FROM "all_time_saint_louis_athletica_statistic" WHERE "minutes"=0 AND "position"='MF' AND "athletica_career"='2009'; | 1-23963781-1 |
What is the position of the player who is from the United States and has 30 minutes? | CREATE TABLE "playoff_statistics" (
"name" text,
"nationality" text,
"position" text,
"appearances" real,
"starts" real,
"minutes" real,
"goals" real
); | SELECT "position" FROM "playoff_statistics" WHERE "nationality"='United States' AND "minutes"=30; | 1-23963781-3 |
What is the most amount of goals any of the players had? | CREATE TABLE "playoff_statistics" (
"name" text,
"nationality" text,
"position" text,
"appearances" real,
"starts" real,
"minutes" real,
"goals" real
); | SELECT MAX("goals") FROM "playoff_statistics"; | 1-23963781-3 |
What year did the song "Red Tandy" come out? | CREATE TABLE "list_of_songs_released_in_2008" (
"song_title" text,
"artist" text,
"year" text,
"genre" text,
"single_pack_name" text,
"release_date" text,
"family_friendly" text,
"additional_rock_band_3_features" text
); | SELECT "year" FROM "list_of_songs_released_in_2008" WHERE "song_title"='\"Red Tandy\"'; | 1-23981771-1 |
What is the song for Dixie Chicks? | CREATE TABLE "list_of_songs_released_in_2008" (
"song_title" text,
"artist" text,
"year" text,
"genre" text,
"single_pack_name" text,
"release_date" text,
"family_friendly" text,
"additional_rock_band_3_features" text
); | SELECT "song_title" FROM "list_of_songs_released_in_2008" WHERE "artist"='Dixie Chicks'; | 1-23981771-1 |
What is the episode title for number 7 in the season? | CREATE TABLE "table1_23981882_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_23981882_1" WHERE "no_in_season"=7; | 1-23981882-1 |
What is the special when the challenger is dominique bouchet? | CREATE TABLE "2000_2002_specials" (
"special" text,
"original_airdate" text,
"iron_chef" text,
"challenger" text,
"challenger_specialty" text,
"theme_ingredient" text,
"winner" text
); | SELECT "special" FROM "2000_2002_specials" WHERE "challenger"='Dominique Bouchet'; | 1-23982399-12 |
Who was the winner when the iron chef is hiroyuki sakai? | CREATE TABLE "2000_2002_specials" (
"special" text,
"original_airdate" text,
"iron_chef" text,
"challenger" text,
"challenger_specialty" text,
"theme_ingredient" text,
"winner" text
); | SELECT "winner" FROM "2000_2002_specials" WHERE "iron_chef"='Hiroyuki Sakai'; | 1-23982399-12 |
Who was the challenger when winner was kimio nonaga? | CREATE TABLE "2000_2002_specials" (
"special" text,
"original_airdate" text,
"iron_chef" text,
"challenger" text,
"challenger_specialty" text,
"theme_ingredient" text,
"winner" text
); | SELECT "challenger" FROM "2000_2002_specials" WHERE "winner"='Kimio Nonaga'; | 1-23982399-12 |
Who was the winner for the original airdate is january 5, 2000 and challenger specialty is french? | CREATE TABLE "2000_2002_specials" (
"special" text,
"original_airdate" text,
"iron_chef" text,
"challenger" text,
"challenger_specialty" text,
"theme_ingredient" text,
"winner" text
); | SELECT "winner" FROM "2000_2002_specials" WHERE "original_airdate"='January 5, 2000' AND "challenger_specialty"='French'; | 1-23982399-12 |
How many episodes had Yutaka Ishinabe as the iron chef specializing in french cousin? | CREATE TABLE "1993" (
"overall_episode_num" real,
"original_airdate" text,
"iron_chef" text,
"challenger" text,
"challenger_specialty" text,
"theme_ingredient" text,
"winner" text
); | SELECT COUNT("overall_episode_num") FROM "1993" WHERE "iron_chef"='Yutaka Ishinabe' AND "challenger_specialty"='French'; | 1-23982399-1 |
What episode number originally aired on November 21, 1993? | CREATE TABLE "1993" (
"overall_episode_num" real,
"original_airdate" text,
"iron_chef" text,
"challenger" text,
"challenger_specialty" text,
"theme_ingredient" text,
"winner" text
); | SELECT MAX("overall_episode_num") FROM "1993" WHERE "original_airdate"='November 21, 1993'; | 1-23982399-1 |
Who was the challenger on Episode 5? | CREATE TABLE "1993" (
"overall_episode_num" real,
"original_airdate" text,
"iron_chef" text,
"challenger" text,
"challenger_specialty" text,
"theme_ingredient" text,
"winner" text
); | SELECT "challenger" FROM "1993" WHERE "overall_episode_num"=5; | 1-23982399-1 |
How many iron chefs were there when the challenge specialty was Japanese cuisine? | CREATE TABLE "1993" (
"overall_episode_num" real,
"original_airdate" text,
"iron_chef" text,
"challenger" text,
"challenger_specialty" text,
"theme_ingredient" text,
"winner" text
); | SELECT COUNT("iron_chef") FROM "1993" WHERE "challenger_specialty"='Japanese'; | 1-23982399-1 |
What is the qualifying end date when the qualifying start date is qualifying start date? | CREATE TABLE "summary_of_qualification" (
"confederation" text,
"teams_started" text,
"teams_that_have_secured_qualification" text,
"teams_that_can_still_qualify" text,
"teams_that_have_been_eliminated" text,
"remaining_places_in_finals" text,
"total_places_in_finals" text,
"qualifying_start_date" text,... | SELECT "qualifying_end_date" FROM "summary_of_qualification" WHERE "qualifying_start_date"='Qualifying start date'; | 1-23995075-2 |
How many teams can still qualify when there are 0 teams that have secured qualification and 52 teams started? | CREATE TABLE "summary_of_qualification" (
"confederation" text,
"teams_started" text,
"teams_that_have_secured_qualification" text,
"teams_that_can_still_qualify" text,
"teams_that_have_been_eliminated" text,
"remaining_places_in_finals" text,
"total_places_in_finals" text,
"qualifying_start_date" text,... | SELECT "teams_that_can_still_qualify" FROM "summary_of_qualification" WHERE "teams_that_have_secured_qualification"='0' AND "teams_started"='52'; | 1-23995075-2 |
How many teams eliminated when 11 teams started? | CREATE TABLE "summary_of_qualification" (
"confederation" text,
"teams_started" text,
"teams_that_have_secured_qualification" text,
"teams_that_can_still_qualify" text,
"teams_that_have_been_eliminated" text,
"remaining_places_in_finals" text,
"total_places_in_finals" text,
"qualifying_start_date" text,... | SELECT "teams_that_have_been_eliminated" FROM "summary_of_qualification" WHERE "teams_started"='11'; | 1-23995075-2 |
What is the confederation when there are 4 places remaining in the finals? | CREATE TABLE "summary_of_qualification" (
"confederation" text,
"teams_started" text,
"teams_that_have_secured_qualification" text,
"teams_that_can_still_qualify" text,
"teams_that_have_been_eliminated" text,
"remaining_places_in_finals" text,
"total_places_in_finals" text,
"qualifying_start_date" text,... | SELECT "confederation" FROM "summary_of_qualification" WHERE "remaining_places_in_finals"='4'; | 1-23995075-2 |
How many qualifying start dates for the Concacaf confederation? | CREATE TABLE "summary_of_qualification" (
"confederation" text,
"teams_started" text,
"teams_that_have_secured_qualification" text,
"teams_that_can_still_qualify" text,
"teams_that_have_been_eliminated" text,
"remaining_places_in_finals" text,
"total_places_in_finals" text,
"qualifying_start_date" text,... | SELECT COUNT("qualifying_start_date") FROM "summary_of_qualification" WHERE "confederation"='CONCACAF'; | 1-23995075-2 |
How many remaining places in finals when 1 team can still qualify and 0 teams have secured qualification? | CREATE TABLE "summary_of_qualification" (
"confederation" text,
"teams_started" text,
"teams_that_have_secured_qualification" text,
"teams_that_can_still_qualify" text,
"teams_that_have_been_eliminated" text,
"remaining_places_in_finals" text,
"total_places_in_finals" text,
"qualifying_start_date" text,... | SELECT "remaining_places_in_finals" FROM "summary_of_qualification" WHERE "teams_that_can_still_qualify"='1' AND "teams_that_have_secured_qualification"='0'; | 1-23995075-2 |
What is the world record when 14 July 1998 is 13 August 1997? | CREATE TABLE "records" (
"world_record" text,
"hicham_el_guerrouj_mar" text,
"3_26_00" text,
"rome_italy" text,
"14_july_1998" text
); | SELECT "world_record" FROM "records" WHERE "14_july_1998"='13 August 1997'; | 1-23987362-2 |
How many of 3:26.00 have a championship record? | CREATE TABLE "records" (
"world_record" text,
"hicham_el_guerrouj_mar" text,
"3_26_00" text,
"rome_italy" text,
"14_july_1998" text
); | SELECT COUNT("3_26_00") FROM "records" WHERE "world_record"='Championship record'; | 1-23987362-2 |
How many of 3:26.00 when hicham el guerrouj ( mar ) is hudson de souza ( bra )? | CREATE TABLE "records" (
"world_record" text,
"hicham_el_guerrouj_mar" text,
"3_26_00" text,
"rome_italy" text,
"14_july_1998" text
); | SELECT COUNT("3_26_00") FROM "records" WHERE "hicham_el_guerrouj_mar"='Hudson de Souza ( BRA )'; | 1-23987362-2 |
When saif saaeed shaheen (qat) is the saif saaeed shaheen ( qat ) what is the world record? | CREATE TABLE "records" (
"world_record" text,
"saif_saaeed_shaheen_qat" text,
"7_53_63" text,
"brussels_belgium" text,
"3_september_2004" text
); | SELECT "world_record" FROM "records" WHERE "saif_saaeed_shaheen_qat"='Saif Saaeed Shaheen ( QAT )'; | 1-23988726-2 |
When daniel lincoln ( usa ) is the saif saaeed shaheen ( qat ) What is the date for September 3rd, 2004? | CREATE TABLE "records" (
"world_record" text,
"saif_saaeed_shaheen_qat" text,
"7_53_63" text,
"brussels_belgium" text,
"3_september_2004" text
); | SELECT "3_september_2004" FROM "records" WHERE "saif_saaeed_shaheen_qat"='Daniel Lincoln ( USA )'; | 1-23988726-2 |
When saif saaeed shaheen ( qat ) is the saif saaeed shaheen ( qat ) what is the date on September 3rd, 2004? | CREATE TABLE "records" (
"world_record" text,
"saif_saaeed_shaheen_qat" text,
"7_53_63" text,
"brussels_belgium" text,
"3_september_2004" text
); | SELECT "3_september_2004" FROM "records" WHERE "saif_saaeed_shaheen_qat"='Saif Saaeed Shaheen ( QAT )'; | 1-23988726-2 |
What is the 26 July 1983 total number if Munich, West Germany is Beijing, China? | CREATE TABLE "records" (
"world_record" text,
"jarmila_kratochv_lov_tch" text,
"1_53_28" text,
"munich_west_germany" text,
"26_july_1983" text
); | SELECT COUNT("26_july_1983") FROM "records" WHERE "munich_west_germany"='Beijing, China'; | 1-24001246-2 |
If the world record is the African record, what is the 1:53.28 total number? | CREATE TABLE "records" (
"world_record" text,
"jarmila_kratochv_lov_tch" text,
"1_53_28" text,
"munich_west_germany" text,
"26_july_1983" text
); | SELECT COUNT("1_53_28") FROM "records" WHERE "world_record"='African record'; | 1-24001246-2 |
If 1:53.28 is 1:54.01, what is the world record? | CREATE TABLE "records" (
"world_record" text,
"jarmila_kratochv_lov_tch" text,
"1_53_28" text,
"munich_west_germany" text,
"26_july_1983" text
); | SELECT "world_record" FROM "records" WHERE "1_53_28"='1:54.01'; | 1-24001246-2 |
How many episodes have the title "a perfect crime"? | CREATE TABLE "table1_2400842_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"filmed" text
); | SELECT COUNT("episode_num") FROM "table1_2400842_1" WHERE "title"='\"A Perfect Crime\"'; | 1-2400842-1 |
Who directed the epsiode with production number 109? | CREATE TABLE "table1_2400842_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"filmed" text
); | SELECT "directed_by" FROM "table1_2400842_1" WHERE "prod_num"=109; | 1-2400842-1 |
Name the least finish for larry dickson | CREATE TABLE "statistics" (
"finish" real,
"start" real,
"car_no" real,
"driver" text,
"owner_sponsor" text,
"car_make" text
); | SELECT MIN("finish") FROM "statistics" WHERE "driver"='Larry Dickson'; | 1-24004949-1 |
Name the 1:25 for 7 august 2005 being 19 november 2001 | CREATE TABLE "records" (
"world_record" text,
"olimpiada_ivanova_rus" text,
"1_25_41" text,
"helsinki_finland" text,
"7_august_2005" text
); | SELECT "1_25_41" FROM "records" WHERE "7_august_2005"='19 November 2001'; | 1-24002100-2 |
Name the 26 august 2005 asian record | CREATE TABLE "records" (
"world_record" text,
"kenenisa_bekele_eth" text,
"26_17_53" text,
"bruxelles_belgium" text,
"26_august_2005" text
); | SELECT "26_august_2005" FROM "records" WHERE "world_record"='Asian record'; | 1-24011830-2 |
Name the belgium for 26 august 2005 being 24 august 2003 | CREATE TABLE "records" (
"world_record" text,
"kenenisa_bekele_eth" text,
"26_17_53" text,
"bruxelles_belgium" text,
"26_august_2005" text
); | SELECT "bruxelles_belgium" FROM "records" WHERE "26_august_2005"='24 August 2003'; | 1-24011830-2 |
Name the total number of kenesia for african record | CREATE TABLE "records" (
"world_record" text,
"kenenisa_bekele_eth" text,
"26_17_53" text,
"bruxelles_belgium" text,
"26_august_2005" text
); | SELECT COUNT("kenenisa_bekele_eth") FROM "records" WHERE "world_record"='African record'; | 1-24011830-2 |
List the number of runners up when albertina fransisca mailoa won the putri pariwisata contest? | CREATE TABLE "top_5_winners" (
"year" real,
"putri_pariwisata_indonesia" text,
"1st_runner_up" text,
"2nd_runner_up" text,
"3rd_runner_up" text,
"4th_runner_up" text
); | SELECT COUNT("3rd_runner_up") FROM "top_5_winners" WHERE "putri_pariwisata_indonesia"='Albertina Fransisca Mailoa'; | 1-24014744-1 |
Who won 2nd place when ratna mariana won 3rd place? | CREATE TABLE "top_5_winners" (
"year" real,
"putri_pariwisata_indonesia" text,
"1st_runner_up" text,
"2nd_runner_up" text,
"3rd_runner_up" text,
"4th_runner_up" text
); | SELECT "1st_runner_up" FROM "top_5_winners" WHERE "2nd_runner_up"='Ratna Mariana'; | 1-24014744-1 |
Who won 5th place when jean liatri augustine girsang won 4th place? | CREATE TABLE "top_5_winners" (
"year" real,
"putri_pariwisata_indonesia" text,
"1st_runner_up" text,
"2nd_runner_up" text,
"3rd_runner_up" text,
"4th_runner_up" text
); | SELECT "4th_runner_up" FROM "top_5_winners" WHERE "3rd_runner_up"='Jean Liatri Augustine Girsang'; | 1-24014744-1 |
Who won 2nd place when albertina fransisca mailoa was the winner of the putri pariwisata contest? | CREATE TABLE "top_5_winners" (
"year" real,
"putri_pariwisata_indonesia" text,
"1st_runner_up" text,
"2nd_runner_up" text,
"3rd_runner_up" text,
"4th_runner_up" text
); | SELECT "1st_runner_up" FROM "top_5_winners" WHERE "putri_pariwisata_indonesia"='Albertina Fransisca Mailoa'; | 1-24014744-1 |
Who won 4th place when audrie adriana sanova won 3rd place? | CREATE TABLE "top_5_winners" (
"year" real,
"putri_pariwisata_indonesia" text,
"1st_runner_up" text,
"2nd_runner_up" text,
"3rd_runner_up" text,
"4th_runner_up" text
); | SELECT "3rd_runner_up" FROM "top_5_winners" WHERE "2nd_runner_up"='Audrie Adriana Sanova'; | 1-24014744-1 |
Who won 5th place with olivia franciska won 4th place? | CREATE TABLE "top_5_winners" (
"year" real,
"putri_pariwisata_indonesia" text,
"1st_runner_up" text,
"2nd_runner_up" text,
"3rd_runner_up" text,
"4th_runner_up" text
); | SELECT "4th_runner_up" FROM "top_5_winners" WHERE "3rd_runner_up"='Olivia Franciska'; | 1-24014744-1 |
what is the original air date for production code 216? | CREATE TABLE "table1_24018430_3" (
"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 "original_air_date" FROM "table1_24018430_3" WHERE "production_code"=216; | 1-24018430-3 |
what is writtenand directed by shannon flynn? | CREATE TABLE "table1_24018430_3" (
"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_24018430_3" WHERE "directed_by"='Shannon Flynn'; | 1-24018430-3 |
what number is us viewers in season 12? | CREATE TABLE "table1_24018430_3" (
"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 "u_s_viewers_millions" FROM "table1_24018430_3" WHERE "no_in_season"=12; | 1-24018430-3 |
What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011? | CREATE TABLE "table1_24027047_1" (
"administrative_division" text,
"area_km_2011" text,
"population_2001_census_adjusted" real,
"population_2011_census_adjusted" real,
"population_density_km_2011" text
); | SELECT "population_density_km_2011" FROM "table1_24027047_1" WHERE "area_km_2011"='684.37'; | 1-24027047-1 |
What division had a population density of 8,552.4 km2 in 2011? | CREATE TABLE "table1_24027047_1" (
"administrative_division" text,
"area_km_2011" text,
"population_2001_census_adjusted" real,
"population_2011_census_adjusted" real,
"population_density_km_2011" text
); | SELECT "administrative_division" FROM "table1_24027047_1" WHERE "population_density_km_2011"='8,552.4'; | 1-24027047-1 |
What was the area in km2 in 2011 for the Narsingdi District? | CREATE TABLE "table1_24027047_1" (
"administrative_division" text,
"area_km_2011" text,
"population_2001_census_adjusted" real,
"population_2011_census_adjusted" real,
"population_density_km_2011" text
); | SELECT "area_km_2011" FROM "table1_24027047_1" WHERE "administrative_division"='Narsingdi District'; | 1-24027047-1 |
In what division was there a population density in km2 of 1,604.3 in 2011? | CREATE TABLE "table1_24027047_1" (
"administrative_division" text,
"area_km_2011" text,
"population_2001_census_adjusted" real,
"population_2011_census_adjusted" real,
"population_density_km_2011" text
); | SELECT "administrative_division" FROM "table1_24027047_1" WHERE "population_density_km_2011"='1,604.3'; | 1-24027047-1 |
In what division was there a population density in km2 of 4,491.8 in 2011? | CREATE TABLE "table1_24027047_1" (
"administrative_division" text,
"area_km_2011" text,
"population_2001_census_adjusted" real,
"population_2011_census_adjusted" real,
"population_density_km_2011" text
); | SELECT "administrative_division" FROM "table1_24027047_1" WHERE "population_density_km_2011"='4,491.8'; | 1-24027047-1 |
What's the area coordinator for the municipality with 1715 people living in it in 2010? | CREATE TABLE "political" (
"municipality" text,
"no_of_barangays" real,
"area_coordinator" text,
"population_2010" real,
"pop_density_per_km" text
); | SELECT "area_coordinator" FROM "political" WHERE "population_2010"=1715; | 1-2402209-1 |
How many different counts of tue number of Barangays are there for the municipality with 13824 citizens in 2010? | CREATE TABLE "political" (
"municipality" text,
"no_of_barangays" real,
"area_coordinator" text,
"population_2010" real,
"pop_density_per_km" text
); | SELECT COUNT("no_of_barangays") FROM "political" WHERE "population_2010"=13824; | 1-2402209-1 |
How many Barangays lived in the municipality with area coordinator of 110.95? | CREATE TABLE "political" (
"municipality" text,
"no_of_barangays" real,
"area_coordinator" text,
"population_2010" real,
"pop_density_per_km" text
); | SELECT "no_of_barangays" FROM "political" WHERE "area_coordinator"='110.95'; | 1-2402209-1 |
What circuit had rnd 3? | CREATE TABLE "table1_24037660_2" (
"rnd" real,
"circuit" text,
"lmp_winning_team" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
); | SELECT "circuit" FROM "table1_24037660_2" WHERE "rnd"=3; | 1-24037660-2 |
How many circuits had a winning team of #1 patrón highcroft racing ang gtc winning team #81 alex job racing ? | CREATE TABLE "table1_24037660_2" (
"rnd" real,
"circuit" text,
"lmp_winning_team" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
); | SELECT COUNT("circuit") FROM "table1_24037660_2" WHERE "lmp_winning_team"='#1 Patrón Highcroft Racing' AND "gtc_winning_team"='#81 Alex Job Racing'; | 1-24037660-2 |
What was the winning team lmpc in rnd 3? | CREATE TABLE "table1_24037660_2" (
"rnd" real,
"circuit" text,
"lmp_winning_team" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
); | SELECT "lmpc_winning_team" FROM "table1_24037660_2" WHERE "rnd"=3; | 1-24037660-2 |
What was the gtc winning team when lmp winning team was #8 drayson racing? | CREATE TABLE "table1_24037660_2" (
"rnd" real,
"circuit" text,
"lmp_winning_team" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
); | SELECT "gtc_winning_team" FROM "table1_24037660_2" WHERE "lmp_winning_team"='#8 Drayson Racing'; | 1-24037660-2 |
Who is the captain in Chaguaramas? | CREATE TABLE "team_summaries" (
"team" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"captain" text
); | SELECT "captain" FROM "team_summaries" WHERE "location"='Chaguaramas'; | 1-24039173-1 |
What is the minimum capacity for Sangre Grande Ground? | CREATE TABLE "team_summaries" (
"team" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"captain" text
); | SELECT MIN("capacity") FROM "team_summaries" WHERE "stadium"='Sangre Grande Ground'; | 1-24039173-1 |
What is the capacity for Sangre Grande Ground, home of the North East Stars? | CREATE TABLE "team_summaries" (
"team" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"captain" text
); | SELECT COUNT("capacity") FROM "team_summaries" WHERE "team"='North East Stars'; | 1-24039173-1 |
San Juan Jabloteh calls which stadium home? | CREATE TABLE "team_summaries" (
"team" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"captain" text
); | SELECT "stadium" FROM "team_summaries" WHERE "team"='San Juan Jabloteh'; | 1-24039173-1 |
What was the innings when caught was 20? | CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
"rank" real,
"dismissals" real,
"player" text,
"caught" real,
"stumped" real,
"matches" real,
"innings" real
); | SELECT "innings" FROM "most_dismissals_in_test_career_wicketkee" WHERE "caught"=20; | 1-24039597-26 |
What ist he matches where the player is ms dhoni? | CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
"rank" real,
"dismissals" real,
"player" text,
"caught" real,
"stumped" real,
"matches" real,
"innings" real
); | SELECT "matches" FROM "most_dismissals_in_test_career_wicketkee" WHERE "player"='MS Dhoni'; | 1-24039597-26 |
What is stumped when inning is 143? | CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
"rank" real,
"dismissals" real,
"player" text,
"caught" real,
"stumped" real,
"matches" real,
"innings" real
); | SELECT "stumped" FROM "most_dismissals_in_test_career_wicketkee" WHERE "innings"=143; | 1-24039597-26 |
How many matches were 44? | CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
"rank" real,
"dismissals" real,
"player" text,
"caught" real,
"stumped" real,
"matches" real,
"innings" real
); | SELECT COUNT("dismissals") FROM "most_dismissals_in_test_career_wicketkee" WHERE "matches"=44; | 1-24039597-26 |
What is stumped when matches is 14? | CREATE TABLE "most_dismissals_in_test_career_wicketkee" (
"rank" real,
"dismissals" real,
"player" text,
"caught" real,
"stumped" real,
"matches" real,
"innings" real
); | SELECT MIN("stumped") FROM "most_dismissals_in_test_career_wicketkee" WHERE "matches"=14; | 1-24039597-26 |
Name the crownded for 17 september 1025 | CREATE TABLE "capetian_associate_kings" (
"co_king" text,
"relationship_to_monarch" text,
"crowned" text,
"co_kingship_ceased" text,
"reason" text,
"monarch" text
); | SELECT "crowned" FROM "capetian_associate_kings" WHERE "co_kingship_ceased"='17 September 1025'; | 1-24046134-1 |
Name the total number of monarchs for 23 may 1059 crowned | CREATE TABLE "capetian_associate_kings" (
"co_king" text,
"relationship_to_monarch" text,
"crowned" text,
"co_kingship_ceased" text,
"reason" text,
"monarch" text
); | SELECT COUNT("monarch") FROM "capetian_associate_kings" WHERE "crowned"='23 May 1059'; | 1-24046134-1 |
Name the reason for 20 july 1031 | CREATE TABLE "capetian_associate_kings" (
"co_king" text,
"relationship_to_monarch" text,
"crowned" text,
"co_kingship_ceased" text,
"reason" text,
"monarch" text
); | SELECT "reason" FROM "capetian_associate_kings" WHERE "co_kingship_ceased"='20 July 1031'; | 1-24046134-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.