question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
What is the first number in series that had the production code 1ACX03? | CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT MAX("no_in_series") FROM "table1_14724369_1" WHERE "production_code"='1ACX03'; | 1-14724369-1 |
Which title had the production code 1ACX04? | CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "title" FROM "table1_14724369_1" WHERE "production_code"='1ACX04'; | 1-14724369-1 |
When did the show directed by Michael Dimartino first air? | CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "original_air_date" FROM "table1_14724369_1" WHERE "directed_by"='Michael DiMartino'; | 1-14724369-1 |
Which series numbers were directed by Monte Young? | CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "no_in_series" FROM "table1_14724369_1" WHERE "directed_by"='Monte Young'; | 1-14724369-1 |
How many people directed the show written by Chris Sheridan? | CREATE TABLE "table1_14724369_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("directed_by") FROM "table1_14724369_1" WHERE "written_by"='Chris Sheridan'; | 1-14724369-1 |
What regular seasons occurred in 2011? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "regular_season" FROM "year_by_year" WHERE "year"=2011; | 1-14723382-1 |
What is the largest numbered? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT MAX("division") FROM "year_by_year"; | 1-14723382-1 |
How many positions does rene villemure play? | 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 "player"='Rene Villemure'; | 1-1473672-2 |
What is the pick# for the medicine hat tigers (wchl)? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT MIN("pick_num") FROM "round_two" WHERE "college_junior_club_team"='Medicine Hat Tigers (WCHL)'; | 1-1473672-2 |
What nhl team does stan weir play for? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_two" WHERE "player"='Stan Weir'; | 1-1473672-2 |
What nhl team does dwight bialowas play for? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_two" WHERE "player"='Dwight Bialowas'; | 1-1473672-2 |
Lorne Henning has the lowest pick# of? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT MIN("pick_num") FROM "round_two"; | 1-1473672-2 |
Jack Lynch played for the oshawa generals (omjhl) before playing for what nhl team? | CREATE TABLE "round_two" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_two" WHERE "college_junior_club_team"='Oshawa Generals (OMJHL)'; | 1-1473672-2 |
Which colle/junior/club team did Michel Boudreau play for? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_three" WHERE "player"='Michel Boudreau'; | 1-1473672-3 |
Which players played right wing? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_three" WHERE "position"='Right Wing'; | 1-1473672-3 |
Which nationality is the player from 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 "nationality" FROM "round_three" WHERE "nhl_team"='Philadelphia Flyers'; | 1-1473672-3 |
Which position did the player hold that played for the Philadelphia Flyers in NHL? | 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-1473672-3 |
Which college/junior/club team did the player play on that played for the Buffalo Sabres in NHL? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_three" WHERE "nhl_team"='Buffalo Sabres'; | 1-1473672-3 |
Name the number of teams for college/junior club for philadelphia flyers | CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("college_junior_club_team") FROM "round_four" WHERE "nhl_team"='Philadelphia Flyers'; | 1-1473672-4 |
Name the position for ron lalonde | 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"='Ron Lalonde'; | 1-1473672-4 |
Name the college/junior club team for pick number 63 | 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 "pick_num"=63; | 1-1473672-4 |
How many positions did 1972 NHL Draft pick Rene Lambert play? | CREATE TABLE "round_ten" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("position") FROM "round_ten" WHERE "player"='Rene Lambert'; | 1-1473672-10 |
what's the college/junior/club team with nhl team being california golden seals | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_nine" WHERE "nhl_team"='California Golden Seals'; | 1-1473672-9 |
what's the nhl team with college/junior/club team being brandon wheat kings (wchl) | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_nine" WHERE "college_junior_club_team"='Brandon Wheat Kings (WCHL)'; | 1-1473672-9 |
who is the the player with pick # being 132 | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_nine" WHERE "pick_num"=132; | 1-1473672-9 |
how many player with nhl team being vancouver canucks | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("player") FROM "round_nine" WHERE "nhl_team"='Vancouver Canucks'; | 1-1473672-9 |
what's the position with player being ray boutin | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_nine" WHERE "player"='Ray Boutin'; | 1-1473672-9 |
what is the name of the borough where station uses is 28702? | CREATE TABLE "railway_stations_currently_in_use" (
"station_and_code" text,
"managed_by" text,
"lines_served" text,
"station_users_2007_8" real,
"station_users_2008_9" text,
"year_opened" text,
"platforms" text,
"borough" text
); | SELECT "borough" FROM "railway_stations_currently_in_use" WHERE "station_users_2008_9"='28702'; | 1-14748457-1 |
what are the lines served where station users is 210076? | CREATE TABLE "railway_stations_currently_in_use" (
"station_and_code" text,
"managed_by" text,
"lines_served" text,
"station_users_2007_8" real,
"station_users_2008_9" text,
"year_opened" text,
"platforms" text,
"borough" text
); | SELECT "lines_served" FROM "railway_stations_currently_in_use" WHERE "station_users_2008_9"='210076'; | 1-14748457-1 |
whatis hte station code where users are 130368? | CREATE TABLE "railway_stations_currently_in_use" (
"station_and_code" text,
"managed_by" text,
"lines_served" text,
"station_users_2007_8" real,
"station_users_2008_9" text,
"year_opened" text,
"platforms" text,
"borough" text
); | SELECT "station_and_code" FROM "railway_stations_currently_in_use" WHERE "station_users_2008_9"='130368'; | 1-14748457-1 |
Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA | CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_a" FROM "list_of_prior_winners" WHERE "class_aaaaa"='Weslaco' AND "class_aaaa"='Brownwood'; | 1-14747043-1 |
Which is the class A when Marion was the class AA | CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_a" FROM "list_of_prior_winners" WHERE "class_aa"='Marion'; | 1-14747043-1 |
Which is the class AA when graford was the class A | CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aa" FROM "list_of_prior_winners" WHERE "class_a"='Graford'; | 1-14747043-1 |
How many class AA in the year 2002-03 | CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT COUNT("class_aa") FROM "list_of_prior_winners" WHERE "school_year"='2002-03'; | 1-14747043-1 |
Who was the class AAAA when class AAAAA was Weslaco in 1994-95 | CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aaaa" FROM "list_of_prior_winners" WHERE "class_aaaaa"='Weslaco' AND "school_year"='1994-95'; | 1-14747043-1 |
What was the class AAAA when San Angelo Lake View was the class AAAA | CREATE TABLE "list_of_prior_winners" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
); | SELECT "class_aaaaa" FROM "list_of_prior_winners" WHERE "class_aaaa"='San Angelo Lake View'; | 1-14747043-1 |
What are the changes from 2009 to 2010 in Tunisia? | CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
); | SELECT "change_2009_to_2010" FROM "africa" WHERE "country"='Tunisia'; | 1-14752049-2 |
What are the international tourist arrivals in 2010 where change from 2010 to 2011 is +11.2% ? | CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
); | SELECT "international_tourist_arrivals_2010" FROM "africa" WHERE "change_2010_to_2011"='+11.2%'; | 1-14752049-2 |
What are the changes (2010 to 2011) where the International Tourist Arrivals is 1.7 million? | CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
); | SELECT "change_2010_to_2011" FROM "africa" WHERE "international_tourist_arrivals_2011"='1.7 million'; | 1-14752049-2 |
What are the international tourist arrivals(2010) where change from 2009 to 2010 is +11.1%? | CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
); | SELECT "international_tourist_arrivals_2010" FROM "africa" WHERE "change_2009_to_2010"='+11.1%'; | 1-14752049-2 |
What are the International tourist arrivals (2010) where change from 2010 to 2011 is +15% | CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
); | SELECT "international_tourist_arrivals_2010" FROM "africa" WHERE "change_2010_to_2011"='+15%'; | 1-14752049-2 |
How many international tourist arrivals were in Senegal in 2011? | CREATE TABLE "africa" (
"rank" real,
"country" text,
"international_tourist_arrivals_2011" text,
"international_tourist_arrivals_2010" text,
"change_2010_to_2011" text,
"change_2009_to_2010" text
); | SELECT "international_tourist_arrivals_2011" FROM "africa" WHERE "country"='Senegal'; | 1-14752049-2 |
When the change (2010 to 2011) is +1.0% what is the change (2011 to 2012)? | CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
); | SELECT "change_2011_to_2012" FROM "europe" WHERE "change_2010_to_2011"='+1.0%'; | 1-14752049-6 |
When the change (2011 to 2012) is -0.1% what is the country? | CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
); | SELECT "country" FROM "europe" WHERE "change_2011_to_2012"='-0.1%'; | 1-14752049-6 |
When the change (2011 to 2012) is +13.4% what is the country? | CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
); | SELECT "country" FROM "europe" WHERE "change_2011_to_2012"='+13.4%'; | 1-14752049-6 |
When 24.1 million is international tourist arrivals (2012) what is the change (2010 to 2011) ? | CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
); | SELECT "change_2010_to_2011" FROM "europe" WHERE "international_tourist_arrivals_2012"='24.1 million'; | 1-14752049-6 |
United kingdom is the country what is the change (2011 to 2012)? | CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
); | SELECT "change_2011_to_2012" FROM "europe" WHERE "country"='United Kingdom'; | 1-14752049-6 |
When the 1 is the rank what is the overall amount of international tourist arrivals in 2012? | CREATE TABLE "europe" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
); | SELECT COUNT("international_tourist_arrivals_2012") FROM "europe" WHERE "rank"=1; | 1-14752049-6 |
What is the enrollment amount where Hispanic (%) is 3.6? | CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
); | SELECT "enrollment" FROM "enrollment_racial_demographics_and_free_" WHERE "hispanic_pct"='3.6'; | 1-14754471-1 |
What percentage of Asians are there in the year 2009? | CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
); | SELECT "asian_pct" FROM "enrollment_racial_demographics_and_free_" WHERE "year"=2009; | 1-14754471-1 |
What percentage of Asians are there in the year 2004? | CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
); | SELECT "asian_pct" FROM "enrollment_racial_demographics_and_free_" WHERE "year"=2004; | 1-14754471-1 |
What percentage of hispanics are there when the free/reduced lunch percentage is 81.4? | CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
); | SELECT "hispanic_pct" FROM "enrollment_racial_demographics_and_free_" WHERE "free_reduced_lunch_pct"='81.4'; | 1-14754471-1 |
What percentage of free/reduced lunch are there when the hispanic percentage is 3.7? | CREATE TABLE "enrollment_racial_demographics_and_free_" (
"year" real,
"enrollment" real,
"black_pct" text,
"white_pct" text,
"hispanic_pct" text,
"asian_pct" text,
"free_reduced_lunch_pct" text
); | SELECT "free_reduced_lunch_pct" FROM "enrollment_racial_demographics_and_free_" WHERE "hispanic_pct"='3.7'; | 1-14754471-1 |
Who was the arranger for the track written by Nizar Francis ? | CREATE TABLE "track_listing" (
"num" real,
"title" text,
"length" text,
"writer" text,
"composer" text,
"arranger" text,
"dialect" text,
"mix_engineer" text
); | SELECT "arranger" FROM "track_listing" WHERE "writer"='Nizar Francis'; | 1-14778650-1 |
Who was the writer for the song 4:29 in length? | CREATE TABLE "track_listing" (
"num" real,
"title" text,
"length" text,
"writer" text,
"composer" text,
"arranger" text,
"dialect" text,
"mix_engineer" text
); | SELECT "writer" FROM "track_listing" WHERE "length"='4:29'; | 1-14778650-1 |
What track number is 4:29 in length? | CREATE TABLE "track_listing" (
"num" real,
"title" text,
"length" text,
"writer" text,
"composer" text,
"arranger" text,
"dialect" text,
"mix_engineer" text
); | SELECT "num" FROM "track_listing" WHERE "length"='4:29'; | 1-14778650-1 |
What is the female rank in Karnataka? | CREATE TABLE "nfhs_data" (
"states" text,
"males_pct" text,
"males_rank" real,
"females_pct" text,
"females_rank" real
); | SELECT "females_rank" FROM "nfhs_data" WHERE "states"='Karnataka'; | 1-14785903-1 |
What is the English title when the original title is Die Qual Der Wahl? | CREATE TABLE "season_1" (
"number_of_episode" real,
"number_of_season" real,
"title_original" text,
"title_english" text,
"original_air_date" text
); | SELECT "title_english" FROM "season_1" WHERE "title_original"='Die Qual der Wahl'; | 1-1481865-1 |
What is the episode number where the English title is Pilot? | CREATE TABLE "season_1" (
"number_of_episode" real,
"number_of_season" real,
"title_original" text,
"title_english" text,
"original_air_date" text
); | SELECT "number_of_episode" FROM "season_1" WHERE "title_english"='Pilot'; | 1-1481865-1 |
What was the original air date for episode number 6? | CREATE TABLE "season_1" (
"number_of_episode" real,
"number_of_season" real,
"title_original" text,
"title_english" text,
"original_air_date" text
); | SELECT "original_air_date" FROM "season_1" WHERE "number_of_episode"=6; | 1-1481865-1 |
What is the original title of season number 3? | CREATE TABLE "season_1" (
"number_of_episode" real,
"number_of_season" real,
"title_original" text,
"title_english" text,
"original_air_date" text
); | SELECT "title_original" FROM "season_1" WHERE "number_of_season"=3; | 1-1481865-1 |
What municipality where the human development index in the year 2000 was 0.7827? | CREATE TABLE "references" (
"inegi_code" real,
"municipality" text,
"municipal_seat" text,
"area_km_2" text,
"population_2005" real,
"population_density_km_2" text,
"human_development_index_2000" text
); | SELECT "municipality" FROM "references" WHERE "human_development_index_2000"='0.7827'; | 1-1480455-1 |
What is the total number of population in the year 2005 where the population density 35.9 (/km 2)? | CREATE TABLE "references" (
"inegi_code" real,
"municipality" text,
"municipal_seat" text,
"area_km_2" text,
"population_2005" real,
"population_density_km_2" text,
"human_development_index_2000" text
); | SELECT COUNT("population_2005") FROM "references" WHERE "population_density_km_2"='35.9'; | 1-1480455-1 |
What is the human development index for the year 2000 where the ingei code is 10? | CREATE TABLE "references" (
"inegi_code" real,
"municipality" text,
"municipal_seat" text,
"area_km_2" text,
"population_2005" real,
"population_density_km_2" text,
"human_development_index_2000" text
); | SELECT "human_development_index_2000" FROM "references" WHERE "inegi_code"=10; | 1-1480455-1 |
What is the area (km 2) where the population density (/mk2) is 84.3? | CREATE TABLE "references" (
"inegi_code" real,
"municipality" text,
"municipal_seat" text,
"area_km_2" text,
"population_2005" real,
"population_density_km_2" text,
"human_development_index_2000" text
); | SELECT "area_km_2" FROM "references" WHERE "population_density_km_2"='84.3'; | 1-1480455-1 |
Name the mandate for list pct 12.39% | CREATE TABLE "election_results" (
"year" real,
"candidate" text,
"hare_quota" real,
"mandate" text,
"list_votes" real,
"list_pct" text
); | SELECT "mandate" FROM "election_results" WHERE "list_pct"='12.39%'; | 1-14834801-1 |
Name the total number of list votes for 20.95% | CREATE TABLE "election_results" (
"year" real,
"candidate" text,
"hare_quota" real,
"mandate" text,
"list_votes" real,
"list_pct" text
); | SELECT COUNT("list_votes") FROM "election_results" WHERE "list_pct"='20.95%'; | 1-14834801-1 |
What was the scoring rank for Angela Stanford in 2009? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" real,
"scoring_average" text,
"scoring_rank" text
); | SELECT "scoring_rank" FROM "lpga_tour_career_summary" WHERE "year"=2009; | 1-14836185-3 |
What was the highest number on money list rank for Angela Stanford's career? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" real,
"scoring_average" text,
"scoring_rank" text
); | SELECT MAX("money_list_rank") FROM "lpga_tour_career_summary"; | 1-14836185-3 |
In the year where Angela Stanford had a scoring average of 71.62, how many times did she take second place? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" real,
"scoring_average" text,
"scoring_rank" text
); | SELECT COUNT("2nd") FROM "lpga_tour_career_summary" WHERE "scoring_average"='71.62'; | 1-14836185-3 |
who is hte player with a 3 dart avg of 89.57? | CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
); | SELECT "player" FROM "statistics" WHERE "3_dart_average"='89.57'; | 1-14831932-12 |
what are all played with a 3 dart avg is 92.06? | CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
); | SELECT "played" FROM "statistics" WHERE "3_dart_average"='92.06'; | 1-14831932-12 |
Namw the minimum production code for 16.04 million viewers | CREATE TABLE "table1_14845640_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT MIN("production_code") FROM "table1_14845640_1" WHERE "u_s_viewers_millions"='16.04'; | 1-14845640-1 |
Name the written by for 16.32 million viewers | CREATE TABLE "table1_14845640_1" (
"series_num" real,
"season_num" 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_14845640_1" WHERE "u_s_viewers_millions"='16.32'; | 1-14845640-1 |
What is the highest number of cuts made when her best finish is t4? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text,
"scoring_average" text,
"scoring_rank" text
); | SELECT MAX("cuts_made") FROM "lpga_tour_career_summary" WHERE "best_finish"='T4'; | 1-14853156-2 |
How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text,
"scoring_average" text,
"scoring_rank" text
); | SELECT COUNT("earnings") FROM "lpga_tour_career_summary" WHERE "best_finish"='T2' AND "scoring_average"='71.25'; | 1-14853156-2 |
What is the lowest number of cuts made when her best finish is t4? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text,
"scoring_average" text,
"scoring_rank" text
); | SELECT MIN("cuts_made") FROM "lpga_tour_career_summary" WHERE "best_finish"='T4'; | 1-14853156-2 |
How many years has she ranked 56 on the money list? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text,
"scoring_average" text,
"scoring_rank" text
); | SELECT COUNT("year") FROM "lpga_tour_career_summary" WHERE "money_list_rank"='56'; | 1-14853156-2 |
What is the lowest number of wins? | CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_list_rank" text,
"scoring_average" text,
"scoring_rank" text
); | SELECT MIN("wins") FROM "lpga_tour_career_summary"; | 1-14853156-2 |
When steve gomer is the director who is the writer? | CREATE TABLE "table1_14847258_1" (
"series_num" 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_14847258_1" WHERE "directed_by"='Steve Gomer'; | 1-14847258-1 |
What is the air date for "there goes the bride"? | CREATE TABLE "table1_14847258_1" (
"series_num" 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_14847258_1" WHERE "title"='\"There Goes the Bride\"'; | 1-14847258-1 |
15.03 million u.s viewers seen what episode? | CREATE TABLE "table1_14847258_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_14847258_1" WHERE "u_s_viewers_millions"='15.03'; | 1-14847258-1 |
Name the most 3 credits | CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
); | SELECT MIN("3_credits") FROM "deuces_wild"; | 1-148535-2 |
Name the least 2 credits for straight hand | CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
); | SELECT MIN("2_credits") FROM "deuces_wild" WHERE "hand"='Straight'; | 1-148535-2 |
Name the least 2 credits for flush | CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
); | SELECT MIN("2_credits") FROM "deuces_wild" WHERE "hand"='Flush'; | 1-148535-2 |
Name the hand for 1 credit 200 | CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
); | SELECT "hand" FROM "deuces_wild" WHERE "1_credit"=200; | 1-148535-2 |
Name the most 1 credit for three of a kind | CREATE TABLE "deuces_wild" (
"hand" text,
"1_credit" real,
"2_credits" real,
"3_credits" real,
"4_credits" real,
"5_credits" real
); | SELECT MAX("1_credit") FROM "deuces_wild" WHERE "hand"='Three of a Kind'; | 1-148535-2 |
Name the points classification for mark renshaw and team csc | CREATE TABLE "classification_leadership" (
"stage_winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"young_rider_classification" text,
"team_classification" text
); | SELECT "points_classification" FROM "classification_leadership" WHERE "general_classification"='Mark Renshaw' AND "team_classification"='Team CSC'; | 1-14856023-18 |
How many episodes were released on DVD in the US on October 13, 2009? | CREATE TABLE "table1_14855908_3" (
"dvd_name" text,
"episodes" real,
"region_1_can" text,
"region_1_us" text,
"region_2_fr" text,
"region_4" text
); | SELECT "episodes" FROM "table1_14855908_3" WHERE "region_1_us"='October 13, 2009'; | 1-14855908-3 |
How many episodes were put out in Region 4 on March 4, 2010? | CREATE TABLE "table1_14855908_3" (
"dvd_name" text,
"episodes" real,
"region_1_can" text,
"region_1_us" text,
"region_2_fr" text,
"region_4" text
); | SELECT MAX("episodes") FROM "table1_14855908_3" WHERE "region_4"='March 4, 2010'; | 1-14855908-3 |
How many episodes were released in the season 1 DVD? | CREATE TABLE "table1_14855908_3" (
"dvd_name" text,
"episodes" real,
"region_1_can" text,
"region_1_us" text,
"region_2_fr" text,
"region_4" text
); | SELECT MIN("episodes") FROM "table1_14855908_3" WHERE "dvd_name"='Season 1'; | 1-14855908-3 |
What is the original air date for "runaway"? | CREATE TABLE "table1_14857583_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_14857583_1" WHERE "title"='\"Runaway\"'; | 1-14857583-1 |
What was the altitude of the explosion Hardtack Teak? | CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
); | SELECT "altitude_km" FROM "list_of_artificial_radiation_belts" WHERE "explosion"='Hardtack Teak'; | 1-148578-1 |
What was the altitude of the event on 1962-07-09? | CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
); | SELECT "altitude_km" FROM "list_of_artificial_radiation_belts" WHERE "date"='1962-07-09'; | 1-148578-1 |
What was the altitude of the yield of 1.4 megatons? | CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
); | SELECT "altitude_km" FROM "list_of_artificial_radiation_belts" WHERE "yield_approximate"='1.4 megatons'; | 1-148578-1 |
What was the yield of the K-4 explosion? | CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
); | SELECT "yield_approximate" FROM "list_of_artificial_radiation_belts" WHERE "explosion"='K-4'; | 1-148578-1 |
What explosion had an altitude of 539 km? | CREATE TABLE "list_of_artificial_radiation_belts" (
"explosion" text,
"location" text,
"date" text,
"yield_approximate" text,
"altitude_km" text,
"nation_of_origin" text
); | SELECT "explosion" FROM "list_of_artificial_radiation_belts" WHERE "altitude_km"='539'; | 1-148578-1 |
List all opponents in the September 23, 1984 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "date"='September 23, 1984'; | 1-14863869-1 |
What was the score in the game played on December 2, 1984? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "record" FROM "schedule" WHERE "date"='December 2, 1984'; | 1-14863869-1 |
How many scores were there in week 11? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT COUNT("record") FROM "schedule" WHERE "week"=11; | 1-14863869-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.