question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Who had the pole position in the Canadian Grand Prix? | CREATE TABLE "grands_prix" (
"rd" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
); | SELECT "pole_position" FROM "grands_prix" WHERE "grand_prix"='Canadian Grand Prix'; | 1-26258348-4 |
What year was the institution of St. Catharine College founded? | CREATE TABLE "full_members" (
"institution" text,
"location_population" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname_colors" text,
"football" text
); | SELECT MIN("founded") FROM "full_members" WHERE "institution"='St. Catharine College'; | 1-262534-2 |
What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)? | CREATE TABLE "full_members" (
"institution" text,
"location_population" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname_colors" text,
"football" text
); | SELECT "enrollment" FROM "full_members" WHERE "location_population"='Lebanon, Tennessee (20,235)'; | 1-262534-2 |
What is the location and population of the institution called Bluefield College? | CREATE TABLE "full_members" (
"institution" text,
"location_population" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname_colors" text,
"football" text
); | SELECT "location_population" FROM "full_members" WHERE "institution"='Bluefield College'; | 1-262534-2 |
How many times was the result is hired by serepisos? | CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT COUNT("hometown") FROM "table1_26263322_1" WHERE "result"='Hired by Serepisos'; | 1-26263322-1 |
What is the age when the result is fired in week 8 | CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT MIN("age") FROM "table1_26263322_1" WHERE "result"='Fired in week 8'; | 1-26263322-1 |
What is the background of the candidate daniel phillips? | CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT "background" FROM "table1_26263322_1" WHERE "candidate"='Daniel Phillips'; | 1-26263322-1 |
How many times was the background self-employed - media agency? | CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT COUNT("candidate") FROM "table1_26263322_1" WHERE "background"='Self-employed - media agency'; | 1-26263322-1 |
How many times was the background university student? | CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT COUNT("result") FROM "table1_26263322_1" WHERE "background"='University Student'; | 1-26263322-1 |
What is the candidate whose age is 27? | CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT "candidate" FROM "table1_26263322_1" WHERE "age"=27; | 1-26263322-1 |
In Round 6, who is the winning team? | CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "winning_team" FROM "race_calendar_and_results" WHERE "round"='6'; | 1-26267607-2 |
On what date is the winning team Abt Sportsline and pole position Mattias Ekström in the Circuit Ricardo Tormo , Valencia? | CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "date" FROM "race_calendar_and_results" WHERE "winning_team"='Abt Sportsline' AND "pole_position"='Mattias Ekström' AND "circuit"='Circuit Ricardo Tormo , Valencia'; | 1-26267607-2 |
Round 1 is in what circuit? | CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "circuit" FROM "race_calendar_and_results" WHERE "round"='1'; | 1-26267607-2 |
In the circuit Showevent Olympiastadion München, where the winning driver is Bruno Spengler, what is the pole position? | CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "pole_position" FROM "race_calendar_and_results" WHERE "winning_driver"='Bruno Spengler' AND "circuit"='Showevent Olympiastadion München'; | 1-26267607-2 |
Where the fastest lap is Mike Rockenfeller, who is the winning driver? | CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "winning_driver" FROM "race_calendar_and_results" WHERE "fastest_lap"='Mike Rockenfeller'; | 1-26267607-2 |
How many dates are there in round 3? | CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT COUNT("date") FROM "race_calendar_and_results" WHERE "round"='3'; | 1-26267607-2 |
Name the least series number written by brenda hampton and directed by burt brinckerhoff | CREATE TABLE "table1_26261072_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT MIN("series_num") FROM "table1_26261072_1" WHERE "written_by"='Brenda Hampton' AND "directed_by"='Burt Brinckerhoff'; | 1-26261072-1 |
Name the original air date for series number 15 | CREATE TABLE "table1_26261072_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "original_air_date" FROM "table1_26261072_1" WHERE "series_num"=15; | 1-26261072-1 |
What team was Pearson on when his winnings were $5,200? | CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT "team_s" FROM "nascar_nationwide_series" WHERE "winnings"='$5,200'; | 1-2626564-2 |
How many starts did Pearson have when his winnings were $101,438? | CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT "starts" FROM "nascar_nationwide_series" WHERE "winnings"='$101,438'; | 1-2626564-2 |
How many top 10's did Pearson have the year he was in 8th position? | CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT MIN("top_10") FROM "nascar_nationwide_series" WHERE "position"='8th'; | 1-2626564-2 |
what is the title of the episode daphne field wrote? | CREATE TABLE "table1_2626495_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text
); | SELECT "title" FROM "table1_2626495_1" WHERE "written_by"='Daphne Field'; | 1-2626495-1 |
who directed the episode james clavell wrote? | CREATE TABLE "table1_2626495_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text
); | SELECT "directed_by" FROM "table1_2626495_1" WHERE "written_by"='James Clavell'; | 1-2626495-1 |
how many times was the episode directed by maury geraghty originally aired? | CREATE TABLE "table1_2626495_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text
); | SELECT COUNT("originalairdate") FROM "table1_2626495_1" WHERE "directed_by"='Maury Geraghty'; | 1-2626495-1 |
What Film Festival had participants/recipients of Isao Tomita? | CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
); | SELECT "film_festival" FROM "film_festivals" WHERE "participants_recipients"='Isao Tomita'; | 1-26282750-1 |
Who was the participant or recipient for the Best Female Actor? | CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
); | SELECT "participants_recipients" FROM "film_festivals" WHERE "category"='Best Female Actor'; | 1-26282750-1 |
What date was the participant/recipient takakazu watanabe? | CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
); | SELECT "date_of_ceremony" FROM "film_festivals" WHERE "participants_recipients"='Takakazu Watanabe'; | 1-26282750-1 |
What film festival had the Best Male Actor? | CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
); | SELECT "film_festival" FROM "film_festivals" WHERE "category"='Best Male Actor'; | 1-26282750-1 |
What film festival was the participant/recipient Isao Tomita? | CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
); | SELECT "film_festival" FROM "film_festivals" WHERE "participants_recipients"='Isao Tomita'; | 1-26282750-1 |
What category was the the participant/recipient otōto? | CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
); | SELECT "category" FROM "film_festivals" WHERE "participants_recipients"='Otōto'; | 1-26282750-1 |
Name the performance order of the velasco brothers | CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
); | SELECT "performance_order" FROM "results" WHERE "artist"='Velasco Brothers'; | 1-26267849-11 |
Name the number of semi final results for 12 performance order | CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
); | SELECT COUNT("semi_finals_result") FROM "results" WHERE "performance_order"=12; | 1-26267849-11 |
Name the performance order for 2.15% | CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
); | SELECT "performance_order" FROM "results" WHERE "percentage_of_votes"='2.15%'; | 1-26267849-11 |
Name the percentage of votes for 3rd finished | CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
); | SELECT "percentage_of_votes" FROM "results" WHERE "finished"='3rd'; | 1-26267849-11 |
Name the percentage of votes for violinist | CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
); | SELECT "percentage_of_votes" FROM "results" WHERE "act"='Violinist'; | 1-26267849-11 |
what are all the hometown where the average age is 16 | CREATE TABLE "top_36_results_summary" (
"name_name_of_act" text,
"age_s" text,
"genre" text,
"act" text,
"hometown" text,
"semifinal_week" real,
"position_reached" text
); | SELECT "hometown" FROM "top_36_results_summary" WHERE "age_s"='16'; | 1-26267849-2 |
What is the population in 2011 for the name Beaubassin East? | CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "population_2011" FROM "list_of_rural_communities_in_new_brunswi" WHERE "name"='Beaubassin East'; | 1-26321719-1 |
What is every population density if name is Beaubassin East? | CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "population_density" FROM "list_of_rural_communities_in_new_brunswi" WHERE "name"='Beaubassin East'; | 1-26321719-1 |
What is every value for area for population density of 100.8? | CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "area_km" FROM "list_of_rural_communities_in_new_brunswi" WHERE "population_density"='100.8'; | 1-26321719-1 |
What is every value for change% for area of 1835.01? | CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "change_pct" FROM "list_of_rural_communities_in_new_brunswi" WHERE "area_km"='1835.01'; | 1-26321719-1 |
How many names correspond to an area of 8.12? | CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT COUNT("name") FROM "list_of_rural_communities_in_new_brunswi" WHERE "area_km"='8.12'; | 1-26321719-1 |
What is every value for area if change% is -3.6? | CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
); | SELECT "area_km" FROM "list_of_rural_communities_in_new_brunswi" WHERE "change_pct"='-3.6'; | 1-26321719-1 |
Name the hdi 2012 for dominica | CREATE TABLE "indicators" (
"country" text,
"area_km_2010" real,
"population_2011" real,
"gdp_ppp_intl_2011" text,
"gdp_ppp_per_capita_intl_2011" text,
"income_inequality_1992_2010_latest_available" text,
"hdi_2012" text,
"fsi_2012" text,
"cpi_2012" text,
"ief_2013" text,
"gpi_2012" text,
"wpfi_... | SELECT "hdi_2012" FROM "indicators" WHERE "country"='Dominica'; | 1-26313243-1 |
Name the fsi 2012 for 42.7 cpi | CREATE TABLE "indicators" (
"country" text,
"area_km_2010" real,
"population_2011" real,
"gdp_ppp_intl_2011" text,
"gdp_ppp_per_capita_intl_2011" text,
"income_inequality_1992_2010_latest_available" text,
"hdi_2012" text,
"fsi_2012" text,
"cpi_2012" text,
"ief_2013" text,
"gpi_2012" text,
"wpfi_... | SELECT "fsi_2012" FROM "indicators" WHERE "cpi_2012"='42.7'; | 1-26313243-1 |
Name the gdp per capita for haiti | CREATE TABLE "indicators" (
"country" text,
"area_km_2010" real,
"population_2011" real,
"gdp_ppp_intl_2011" text,
"gdp_ppp_per_capita_intl_2011" text,
"income_inequality_1992_2010_latest_available" text,
"hdi_2012" text,
"fsi_2012" text,
"cpi_2012" text,
"ief_2013" text,
"gpi_2012" text,
"wpfi_... | SELECT "gdp_ppp_per_capita_intl_2011" FROM "indicators" WHERE "country"='Haiti'; | 1-26313243-1 |
How many times was lakpa tashi sherpa ( bhu ) w pts 12-5 in round of 32? | CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
); | SELECT COUNT("round_of_16") FROM "table1_26335424_86" WHERE "round_of_32"='Lakpa Tashi Sherpa ( BHU ) W PTS 12-5'; | 1-26335424-86 |
If the quarterfinals was nabil talal ( jor ) l pts 3-3, who was the athlete? | CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
); | SELECT "athlete" FROM "table1_26335424_86" WHERE "quarterfinals"='Nabil Talal ( JOR ) L PTS 3-3'; | 1-26335424-86 |
If the event was bantamweight (-63kg), and the quarterfinals did not advance, then who was in round of 32? | CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
); | SELECT "round_of_32" FROM "table1_26335424_86" WHERE "quarterfinals"='Did not advance' AND "event"='Bantamweight (-63kg)'; | 1-26335424-86 |
If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals? | CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
); | SELECT "semifinals" FROM "table1_26335424_86" WHERE "round_of_16"='Yulius Fernando ( INA ) L PTS 5-6'; | 1-26335424-86 |
If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, what was the event? | CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
); | SELECT "event" FROM "table1_26335424_86" WHERE "round_of_32"='Sawatvilay Phimmasone ( LAO ) W PTS 9-7'; | 1-26335424-86 |
What date was the district incumbent Saxby Chambliss elected? | CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
); | SELECT MAX("elected") FROM "results" WHERE "incumbent"='Saxby Chambliss'; | 1-26336739-1 |
What is the status in the district with the incumbent Bob Barr? | CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
); | SELECT "status" FROM "results" WHERE "incumbent"='Bob Barr'; | 1-26336739-1 |
How many elected catagories are there for the district with Saxby Chambliss as the incumbent? | CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
); | SELECT COUNT("elected") FROM "results" WHERE "incumbent"='Saxby Chambliss'; | 1-26336739-1 |
What was the result for the district with an election in 1986 | CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
); | SELECT "result" FROM "results" WHERE "elected"=1986; | 1-26336739-1 |
how many party classifications are there for the incumbent Mac Collins? | CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
); | SELECT COUNT("party") FROM "results" WHERE "incumbent"='Mac Collins'; | 1-26336739-1 |
For the engine family MaxxForce 11, what is the years produced? | CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
); | SELECT "years_produced" FROM "table1_26352332_4" WHERE "engine_family"='MaxxForce 11'; | 1-26352332-4 |
The cylinder layout v8 is produced in what years? | CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
); | SELECT "years_produced" FROM "table1_26352332_4" WHERE "cylinder_layout"='V8'; | 1-26352332-4 |
The years produced for the cylinder layout v8 are what? | CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
); | SELECT "years_produced" FROM "table1_26352332_4" WHERE "cylinder_layout"='V8'; | 1-26352332-4 |
The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout? | CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
); | SELECT "cylinder_layout" FROM "table1_26352332_4" WHERE "years_produced"='2007-current' AND "engine_family"='MaxxForce 5'; | 1-26352332-4 |
Where the displacement(s) is 10.5L is, what is the engine family? | CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
); | SELECT "engine_family" FROM "table1_26352332_4" WHERE "displacement_s"='10.5L'; | 1-26352332-4 |
The displacement(s) 466 cubic inches (7.6L), has what engine family? | CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
); | SELECT "engine_family" FROM "table1_26352332_4" WHERE "displacement_s"='466 cubic inches (7.6L)'; | 1-26352332-4 |
What is the coinage metal for a KM number of S75? | CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
); | SELECT "coinage_metal" FROM "later_thalers_with_event_location_and_ye" WHERE "km_number"='S75'; | 1-26336060-19 |
What is the maximum date for a mintage of 150 and a KM number of S66? | CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
); | SELECT MAX("date") FROM "later_thalers_with_event_location_and_ye" WHERE "mintage"=150 AND "km_number"='S66'; | 1-26336060-19 |
What is the mintage for a location of Sion and a denomination of 00500 500 Francs? | CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
); | SELECT "mintage" FROM "later_thalers_with_event_location_and_ye" WHERE "location"='Sion' AND "denomination"='00500 500 francs'; | 1-26336060-19 |
What is the coinage metal for KM numbers of S45? | CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
); | SELECT "coinage_metal" FROM "later_thalers_with_event_location_and_ye" WHERE "km_number"='S45'; | 1-26336060-19 |
What is the coinage metal for a location of Fribourg and denomination of 00005 5 Francs? | CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
); | SELECT "coinage_metal" FROM "later_thalers_with_event_location_and_ye" WHERE "location"='Fribourg' AND "denomination"='00005 5 francs'; | 1-26336060-19 |
When the under-17 was Antonio Glez, who was the under-13? | CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_13" FROM "boys" WHERE "under_17"='Antonio Glez'; | 1-26368963-1 |
In the year 2009 who was the under-13? | CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_13" FROM "boys" WHERE "year"=2009; | 1-26368963-1 |
When Julian Illingworth was the under-19, who was the under-15? | CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_15" FROM "boys" WHERE "under_19"='Julian Illingworth'; | 1-26368963-1 |
Who was the under-15 when Moises Galvez was the under-17? | CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_15" FROM "boys" WHERE "under_17"='Moises Galvez'; | 1-26368963-1 |
How many years are there where the the under-15 is Arturo Salazar Martinez and the under-19 is Moises Galvez? | CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT COUNT("year") FROM "boys" WHERE "under_15"='Arturo Salazar Martinez' AND "under_19"='Moises Galvez'; | 1-26368963-1 |
When the under-11 was Aly Abou El Einen, who was the under-13? | CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_13" FROM "boys" WHERE "under_11"='Aly Abou El Einen'; | 1-26368963-1 |
What is the election date for those politicians who left office on 1850-11-15? | CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
); | SELECT COUNT("election_date") FROM "elections_to_congress_of_deputies" WHERE "left_office"='1850-11-15'; | 1-26362472-1 |
What are the election date for elections held in the province of Albacete? | CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
); | SELECT "election_date" FROM "elections_to_congress_of_deputies" WHERE "province"='Albacete'; | 1-26362472-1 |
What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11? | CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
); | SELECT "left_office" FROM "elections_to_congress_of_deputies" WHERE "election_number"=11; | 1-26362472-1 |
In how many district has a politician took office on 1844-10-14? | CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
); | SELECT "district" FROM "elections_to_congress_of_deputies" WHERE "took_office"='1844-10-14'; | 1-26362472-1 |
What are the dates of leaving office for politician from the province of Seville? | CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
); | SELECT "left_office" FROM "elections_to_congress_of_deputies" WHERE "province"='Seville'; | 1-26362472-1 |
When united arab emirates is the country how many fastest qualifying are there? | CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
); | SELECT COUNT("fastest_qualifying") FROM "race_calendar_and_results" WHERE "country"='United Arab Emirates'; | 1-26358264-2 |
When cancelled is the fastest qualifying where is the location? | CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
); | SELECT "location" FROM "race_calendar_and_results" WHERE "fastest_qualifying"='Cancelled'; | 1-26358264-2 |
When united arab emirates is the country what is the winning aircraft? | CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
); | SELECT "winning_aircraft" FROM "race_calendar_and_results" WHERE "country"='United Arab Emirates'; | 1-26358264-2 |
List the number of assists against illinois-chicago. | CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
); | SELECT "assists" FROM "individual_triple_doubles" WHERE "opponent"='Illinois-Chicago'; | 1-26360571-2 |
List the opposing team on february 15, 2003. | CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
); | SELECT "opponent" FROM "individual_triple_doubles" WHERE "date"='February 15, 2003'; | 1-26360571-2 |
List the number of recovers for player #2. | CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
); | SELECT "rebounds" FROM "individual_triple_doubles" WHERE "num"=2; | 1-26360571-2 |
List the opposing team from february 22, 1983. | CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
); | SELECT "opponent" FROM "individual_triple_doubles" WHERE "date"='February 22, 1983'; | 1-26360571-2 |
List the lowest number of assists. | CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
); | SELECT MIN("assists") FROM "individual_triple_doubles"; | 1-26360571-2 |
What is every value for Under-11 when value of under-17 is Salma Nassar? | CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_11" FROM "girls" WHERE "under_17"='Salma Nassar'; | 1-26368963-2 |
What is every value for Under-13 when value for Under-15 is Maria Elena Ubina? | CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_13" FROM "girls" WHERE "under_15"='Maria Elena Ubina'; | 1-26368963-2 |
What is every value for Under-17 if Under-15 is Maria Elena Ubina? | CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_17" FROM "girls" WHERE "under_15"='Maria Elena Ubina'; | 1-26368963-2 |
What is every value for Under-11 if Under-19 is Leong Siu Lynn? | CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_11" FROM "girls" WHERE "under_19"='Leong Siu Lynn'; | 1-26368963-2 |
Who is everyone Under-11 if Under-17 is Salma Nassar? | CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_11" FROM "girls" WHERE "under_17"='Salma Nassar'; | 1-26368963-2 |
Who is every Under-15 if Under-11 is Reeham Sedky? | CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
); | SELECT "under_15" FROM "girls" WHERE "under_11"='Reeham Sedky'; | 1-26368963-2 |
How many couples had a vote percentage of 9.5%? | CREATE TABLE "table1_26375386_16" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT COUNT("rank") FROM "table1_26375386_16" WHERE "vote_percentage"='9.5%'; | 1-26375386-16 |
What was the lowest judge rank for danny and frankie? | CREATE TABLE "table1_26375386_16" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT MIN("judges") FROM "table1_26375386_16" WHERE "couple"='Danny and Frankie'; | 1-26375386-16 |
What couple had a total of 8? | CREATE TABLE "table1_26375386_16" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT "couple" FROM "table1_26375386_16" WHERE "total"=8; | 1-26375386-16 |
In what region was the change in % of the country's population since 1993 at 0.3? | CREATE TABLE "results" (
"region" text,
"population" real,
"pct_of_countrys_population" text,
"change_in_population_since_1993" real,
"change_in_pct_of_countrys_population_since_1993" text
); | SELECT "region" FROM "results" WHERE "change_in_pct_of_countrys_population_since_1993"='0.3'; | 1-2637317-1 |
What is the change in population since 1993 in the region where the % of country's population was 4.2? | CREATE TABLE "results" (
"region" text,
"population" real,
"pct_of_countrys_population" text,
"change_in_population_since_1993" real,
"change_in_pct_of_countrys_population_since_1993" text
); | SELECT COUNT("change_in_population_since_1993") FROM "results" WHERE "pct_of_countrys_population"='4.2'; | 1-2637317-1 |
What is the change in % of the country's population since 1993 in the Lambayeque region? | CREATE TABLE "results" (
"region" text,
"population" real,
"pct_of_countrys_population" text,
"change_in_population_since_1993" real,
"change_in_pct_of_countrys_population_since_1993" text
); | SELECT "change_in_pct_of_countrys_population_since_1993" FROM "results" WHERE "region"='Lambayeque'; | 1-2637317-1 |
What is the broadcast are for channel 1? | CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
); | SELECT "broadcast_area" FROM "television_broadcasters" WHERE "channel"=1; | 1-2638104-1 |
What is the call sign for channel 6? | CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
); | SELECT "callsign" FROM "television_broadcasters" WHERE "channel"=6; | 1-2638104-1 |
What is the channel number for TBS? | CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
); | SELECT MIN("channel") FROM "television_broadcasters" WHERE "channel_name"='TBS'; | 1-2638104-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.