question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Who wrote the episode with a production code of ip03007? | CREATE TABLE "table1_29273182_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "written_by" FROM "table1_29273182_1" WHERE "production_code"='IP03007'; | 1-29273182-1 |
What is the name of episode number 29 in the series? | CREATE TABLE "table1_29273182_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "title" FROM "table1_29273182_1" WHERE "no_in_series"=29; | 1-29273182-1 |
Who wrote the episode with ip03012 as the production code? | CREATE TABLE "table1_29273182_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "written_by" FROM "table1_29273182_1" WHERE "production_code"='IP03012'; | 1-29273182-1 |
Who directed the episode with production code ip03010? | CREATE TABLE "table1_29273182_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "directed_by" FROM "table1_29273182_1" WHERE "production_code"='IP03010'; | 1-29273182-1 |
What is the least amount in each season? | CREATE TABLE "table1_29273390_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_million" text
); | SELECT MIN("no_in_season") FROM "table1_29273390_1"; | 1-29273390-1 |
What is the least number in a season? | CREATE TABLE "table1_29273390_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_million" text
); | SELECT MIN("no_in_season") FROM "table1_29273390_1"; | 1-29273390-1 |
Who directed an episode with 1.19 million? | CREATE TABLE "table1_29273390_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_million" text
); | SELECT "directed_by" FROM "table1_29273390_1" WHERE "u_s_viewers_million"='1.19'; | 1-29273390-1 |
At what location was the March 17 race held? | CREATE TABLE "race_calendar_and_results" (
"rnd" real,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
); | SELECT "location" FROM "race_calendar_and_results" WHERE "date"='March 17'; | 1-29285076-2 |
What location did Zach Veach have the fastest lap? | CREATE TABLE "race_calendar_and_results" (
"rnd" real,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
); | SELECT "location" FROM "race_calendar_and_results" WHERE "fastest_lap"='Zach Veach'; | 1-29285076-2 |
Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver? | CREATE TABLE "race_calendar_and_results" (
"rnd" real,
"circuit" text,
"location" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"most_laps_led" text,
"winning_driver" text,
"winning_team" text,
"supporting" text
); | SELECT "location" FROM "race_calendar_and_results" WHERE "fastest_lap"='Luke Ellery' AND "winning_driver"='Wayne Boyd'; | 1-29285076-2 |
When 318676 is the population of 2010 and 1st class is the income classification what is the area in kilometers squared? | CREATE TABLE "table1_29289372_1" (
"city_municipality" text,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text,
"income_classification" text
); | SELECT "area_km" FROM "table1_29289372_1" WHERE "income_classification"='1st Class' AND "population_2010"=318676; | 1-29289372-1 |
When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010? | CREATE TABLE "table1_29289372_1" (
"city_municipality" text,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text,
"income_classification" text
); | SELECT COUNT("population_2010") FROM "table1_29289372_1" WHERE "income_classification"='1st Class' AND "city_municipality"='Itogon, Benguet'; | 1-29289372-1 |
When 82.74 is the area in kilometers squared what is the pop.density (per km2)? | CREATE TABLE "table1_29289372_1" (
"city_municipality" text,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text,
"income_classification" text
); | SELECT "pop_density_per_km" FROM "table1_29289372_1" WHERE "area_km"='82.74'; | 1-29289372-1 |
When 106 is the area in kilometers squared what is the city/municipality? | CREATE TABLE "table1_29289372_1" (
"city_municipality" text,
"population_2010" real,
"area_km" text,
"pop_density_per_km" text,
"income_classification" text
); | SELECT "city_municipality" FROM "table1_29289372_1" WHERE "area_km"='106'; | 1-29289372-1 |
How many episodes have the production code ip04004? | CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("title") FROM "table1_29273243_1" WHERE "production_code"='IP04004'; | 1-29273243-1 |
What season number is the episode "The Gang Cracks The Liberty Bell"? | CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT MIN("no_in_season") FROM "table1_29273243_1" WHERE "title"='\"The Gang Cracks the Liberty Bell\"'; | 1-29273243-1 |
How many people wrote "Paddy's Pub: The Worst Bar in Philadelphia"? | CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("written_by") FROM "table1_29273243_1" WHERE "title"='\"Paddy''s Pub: The Worst Bar in Philadelphia\"'; | 1-29273243-1 |
Who wrote episode number 11? | CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "written_by" FROM "table1_29273243_1" WHERE "no_in_season"=11; | 1-29273243-1 |
Who wrote the episode "The Gang Gets Extreme: Home Makeover Edition"? | CREATE TABLE "table1_29273243_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "written_by" FROM "table1_29273243_1" WHERE "title"='\"The Gang Gets Extreme: Home Makeover Edition\"'; | 1-29273243-1 |
Who was the challenger when guillaume brahimi was the iron chef? | CREATE TABLE "results" (
"episode" real,
"airdate" text,
"iron_chef" text,
"challenger" text,
"theme_ingredient" text,
"winner" text
); | SELECT "challenger" FROM "results" WHERE "iron_chef"='Guillaume Brahimi'; | 1-29281529-2 |
Who was the iron chef when herb Faust was the challenger? | CREATE TABLE "results" (
"episode" real,
"airdate" text,
"iron_chef" text,
"challenger" text,
"theme_ingredient" text,
"winner" text
); | SELECT "iron_chef" FROM "results" WHERE "challenger"='Herb Faust'; | 1-29281529-2 |
What date did the episode air when guy grossi won? | CREATE TABLE "results" (
"episode" real,
"airdate" text,
"iron_chef" text,
"challenger" text,
"theme_ingredient" text,
"winner" text
); | SELECT "airdate" FROM "results" WHERE "winner"='Guy Grossi'; | 1-29281529-2 |
In the 2010 revival, who played the character that was played by Morgan Albrecht in the New Zealand 2012 production? | CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
); | SELECT "revival_cast_2010" FROM "characters" WHERE "new_zealand_cast_2012"='Morgan Albrecht'; | 1-29289213-1 |
In the 2012 production in Wales, who played the character that Owen Little played in Australia? | CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
); | SELECT "wales_cast_2012" FROM "characters" WHERE "australian_cast_2012"='Owen Little'; | 1-29289213-1 |
Who played Lily Cahill in the Australian 2012 production? | CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
); | SELECT "australian_cast_2012" FROM "characters" WHERE "character"='Lily Cahill'; | 1-29289213-1 |
In the 2012 Wales production, who played the character that Clementine Mills played in Australia? | CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
); | SELECT "wales_cast_2012" FROM "characters" WHERE "australian_cast_2012"='Clementine Mills'; | 1-29289213-1 |
In the original cast, who played the character portrayed by Edward Franklin in the revival? | CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
); | SELECT "original_cast_2009" FROM "characters" WHERE "revival_cast_2010"='Edward Franklin'; | 1-29289213-1 |
In the original cast, who played the character portrayed by Christopher Harris in Wales? | CREATE TABLE "characters" (
"character" text,
"original_cast_2009" text,
"revival_cast_2010" text,
"wales_cast_2012" text,
"new_zealand_cast_2012" text,
"australian_cast_2012" text
); | SELECT "original_cast_2009" FROM "characters" WHERE "wales_cast_2012"='Christopher Harris'; | 1-29289213-1 |
which tournament was the champion nick saviano florin segărceanu 6–3, 6–4? | CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "tournament" FROM "table1_29296103_10" WHERE "champion"='Nick Saviano Florin Segărceanu 6–3, 6–4'; | 1-29296103-10 |
Which tournament was runner-up paul annacone eric korita? | CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "tournament" FROM "table1_29296103_10" WHERE "runner_up"='Paul Annacone Eric Korita'; | 1-29296103-10 |
Who were the semifinalists when sammy giammalva was runner-up? | CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "semifinalists" FROM "table1_29296103_10" WHERE "runner_up"='Sammy Giammalva'; | 1-29296103-10 |
which tournament was the champion pat cash 4–6, 6–4, 6–3? | CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "tournament" FROM "table1_29296103_10" WHERE "champion"='Pat Cash 4–6, 6–4, 6–3'; | 1-29296103-10 |
Which tournament was on the week of 24 october and champion is matt doyle 1–6, 6–1, 6–2? | CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "tournament" FROM "table1_29296103_10" WHERE "week_of"='24 October' AND "champion"='Matt Doyle 1–6, 6–1, 6–2'; | 1-29296103-10 |
How many runner ups were there for the cologne , germany carpet – $75,000 – s32/d16 when the champion was matt doyle 1–6, 6–1, 6–2? | CREATE TABLE "table1_29296103_10" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT COUNT("runner_up") FROM "table1_29296103_10" WHERE "tournament"='Cologne , Germany Carpet – $75,000 – S32/D16' AND "champion"='Matt Doyle 1–6, 6–1, 6–2'; | 1-29296103-10 |
which train number departs pune at 13:00 | CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
); | SELECT "train_number" FROM "pune_lonavala_service" WHERE "departure_pune"='13:00'; | 1-29301050-1 |
which train number arrives in lonavla at 17:45 | CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
); | SELECT "train_number" FROM "pune_lonavala_service" WHERE "arrival_lonavla"='17:45'; | 1-29301050-1 |
which train name arrives in lonavla at 17:45 | CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
); | SELECT "train_name" FROM "pune_lonavala_service" WHERE "arrival_lonavla"='17:45'; | 1-29301050-1 |
how many trains run daily to lonavla and arrive at 12:25 | CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
); | SELECT COUNT("train_number") FROM "pune_lonavala_service" WHERE "frequency"='Daily' AND "arrival_lonavla"='12:25'; | 1-29301050-1 |
how many trains have the number 99808 | CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
); | SELECT COUNT("train_name") FROM "pune_lonavala_service" WHERE "train_number"=99808; | 1-29301050-1 |
what time does the train that arrives in lonavla at 22:22 depart pune | CREATE TABLE "pune_lonavala_service" (
"train_number" real,
"train_name" text,
"departure_pune" text,
"arrival_lonavla" text,
"frequency" text,
"origin" text
); | SELECT "departure_pune" FROM "pune_lonavala_service" WHERE "arrival_lonavla"='22:22'; | 1-29301050-1 |
Who became the champion for the 1984 Grand Prix where Marty Davis was the runner-up? | CREATE TABLE "table1_29295463_9" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "champion" FROM "table1_29295463_9" WHERE "runner_up"='Marty Davis'; | 1-29295463-9 |
Who were the quarter-finalists in the event where the champion was Terry Moor 3-6, 7-6, 6-2? | CREATE TABLE "table1_29295463_9" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "quarterfinalists" FROM "table1_29295463_9" WHERE "champion"='Terry Moor 3-6, 7-6, 6-2'; | 1-29295463-9 |
Who was the champion in the tournament where Scott Davis Chris Dunk was the runner up? | CREATE TABLE "table1_29295463_9" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "champion" FROM "table1_29295463_9" WHERE "runner_up"='Scott Davis Chris Dunk'; | 1-29295463-9 |
Who were the semifinalists in the tournament where Mats Wilander 7-6, 6-3 was declared the champion? | CREATE TABLE "table1_29295463_9" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "semifinalists" FROM "table1_29295463_9" WHERE "champion"='Mats Wilander 7-6, 6-3'; | 1-29295463-9 |
How many years saw 3 hurricanes wherein the strongest storm was level three? | CREATE TABLE "1850s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
); | SELECT COUNT("year") FROM "1850s" WHERE "number_of_hurricanes"=3 AND "strongest_storm"='Three'; | 1-2930244-2 |
What is the largest overall number of major hurricanes? | CREATE TABLE "1860s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
); | SELECT MAX("number_of_major_hurricanes") FROM "1860s"; | 1-2930244-3 |
When the death is none what is the number of major hurricanes? | CREATE TABLE "1860s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
); | SELECT COUNT("number_of_major_hurricanes") FROM "1860s" WHERE "deaths"='None'; | 1-2930244-3 |
What is the lowest overall number of hurricanes? | CREATE TABLE "1860s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
); | SELECT MIN("number_of_hurricanes") FROM "1860s"; | 1-2930244-3 |
What country offered a prize of 66400 US dollars? | CREATE TABLE "table1_29302711_13" (
"rk" real,
"name" text,
"country" text,
"matches_played" real,
"matches_won" real,
"points" real,
"prize_money_usd" real
); | SELECT "country" FROM "table1_29302711_13" WHERE "prize_money_usd"=66400; | 1-29302711-13 |
What country does the player named Mark Cox play for? | CREATE TABLE "table1_29302711_13" (
"rk" real,
"name" text,
"country" text,
"matches_played" real,
"matches_won" real,
"points" real,
"prize_money_usd" real
); | SELECT "country" FROM "table1_29302711_13" WHERE "name"='Mark Cox'; | 1-29302711-13 |
How many deaths did the eyar with exactly 6 hurricanes have? | CREATE TABLE "1870s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
); | SELECT COUNT("deaths") FROM "1870s" WHERE "number_of_hurricanes"=6; | 1-2930244-4 |
What is the maximum number of tropical storms in the year that had exactly 34 deaths? | CREATE TABLE "1870s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
); | SELECT MAX("number_of_tropical_storms") FROM "1870s" WHERE "deaths"='34'; | 1-2930244-4 |
How many deaths did the year with 10 hurricanes and exactly 1 major hurricane have? | CREATE TABLE "1870s" (
"year" real,
"number_of_tropical_storms" real,
"number_of_hurricanes" real,
"number_of_major_hurricanes" real,
"deaths" text,
"strongest_storm" text
); | SELECT "deaths" FROM "1870s" WHERE "number_of_hurricanes"=10 AND "number_of_major_hurricanes"=1; | 1-2930244-4 |
Name the number of episodes that jim barnes wrote for 1.82 million viewers | CREATE TABLE "table1_29329432_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT COUNT("no") FROM "table1_29329432_1" WHERE "written_by"='Jim Barnes' AND "u_s_viewers_million"='1.82'; | 1-29329432-1 |
Name the least number for production code 3x6266 | CREATE TABLE "table1_29329432_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT MIN("no") FROM "table1_29329432_1" WHERE "production_code"='3X6266'; | 1-29329432-1 |
How many characters does Maurice Dean Wint play in the movie Cube? | CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
); | SELECT COUNT("status") FROM "cube_film_series" WHERE "played_by"='Maurice Dean Wint'; | 1-2933761-1 |
What is Joan Leaven's occupation? | CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
); | SELECT "occupation" FROM "cube_film_series" WHERE "name"='Joan Leaven'; | 1-2933761-1 |
What gender is Quentin? | CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
); | SELECT "gender" FROM "cube_film_series" WHERE "name"='Quentin'; | 1-2933761-1 |
Who played the mathematics student? | CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
); | SELECT "played_by" FROM "cube_film_series" WHERE "occupation"='Mathematics Student'; | 1-2933761-1 |
How many prisons is Joan Leaven connected with? | CREATE TABLE "cube_film_series" (
"name" text,
"occupation" text,
"gender" text,
"prison_connection" text,
"played_by" text,
"status" text
); | SELECT COUNT("prison_connection") FROM "cube_film_series" WHERE "name"='Joan Leaven'; | 1-2933761-1 |
What is aggressive rider Richie Porte's team classifaction? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
); | SELECT "team_classification" FROM "classification_leadership" WHERE "aggressive_rider"='Richie Porte'; | 1-29332810-14 |
Thomas de Gendt performed on what stage as aggressive rider? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
); | SELECT MAX("stage") FROM "classification_leadership" WHERE "aggressive_rider"='Thomas De Gendt'; | 1-29332810-14 |
Where Luke Durbridge is the aggressive rider who is listed as the young rider classification? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
); | SELECT "young_rider_classification" FROM "classification_leadership" WHERE "aggressive_rider"='Luke Durbridge'; | 1-29332810-14 |
Who is listed under the general classifcation where Ben Swift won and Cameron Meyer was listed under the young rider? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
); | SELECT "general_classification" FROM "classification_leadership" WHERE "winner"='Ben Swift' AND "young_rider_classification"='Cameron Meyer'; | 1-29332810-14 |
Who is the sprint classification where Francisco Ventoso wins? | CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"young_rider_classification" text,
"team_classification" text,
"aggressive_rider" text
); | SELECT "sprint_classification" FROM "classification_leadership" WHERE "winner"='Francisco Ventoso'; | 1-29332810-14 |
In the week of what was the runner-up Pat Du Pré? | CREATE TABLE "table1_29302781_12" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "week_of" FROM "table1_29302781_12" WHERE "runner_up"='Pat Du Pré'; | 1-29302781-12 |
Who were the semifinalists when the runner-up was Peter Feigl? | CREATE TABLE "table1_29302781_12" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "semifinalists" FROM "table1_29302781_12" WHERE "runner_up"='Peter Feigl'; | 1-29302781-12 |
Who were the semifinalists when the runner-up was Pat Du Pré? | CREATE TABLE "table1_29302781_12" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "semifinalists" FROM "table1_29302781_12" WHERE "runner_up"='Pat Du Pré'; | 1-29302781-12 |
Who were the semifinalists in the week of 13 November when the runner-up was Pat Du Pré? | CREATE TABLE "table1_29302781_12" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "semifinalists" FROM "table1_29302781_12" WHERE "week_of"='13 November' AND "runner_up"='Pat Du Pré'; | 1-29302781-12 |
What are the quarterfinalists when the runner up is andrew pattison? | CREATE TABLE "table1_29302816_8" (
"week_of" text,
"tournament" text,
"champion" text,
"runner_up" text,
"semifinalists" text,
"quarterfinalists" text
); | SELECT "quarterfinalists" FROM "table1_29302816_8" WHERE "runner_up"='Andrew Pattison'; | 1-29302816-8 |
When indonesia is the country what is the rank of 2010? | CREATE TABLE "table1_293465_1" (
"rank_2011" real,
"country" text,
"production_in_2011_1_000_ton" real,
"share_2011" text,
"rank_2010" real,
"production_in_2010_1_000_ton" real
); | SELECT "rank_2010" FROM "table1_293465_1" WHERE "country"='Indonesia'; | 1-293465-1 |
When 5 is the rank of 2011 what is the country? | CREATE TABLE "table1_293465_1" (
"rank_2011" real,
"country" text,
"production_in_2011_1_000_ton" real,
"share_2011" text,
"rank_2010" real,
"production_in_2010_1_000_ton" real
); | SELECT "country" FROM "table1_293465_1" WHERE "rank_2011"=5; | 1-293465-1 |
When sweden is the country what is the highest production in 2010 (1,000 ton)? | CREATE TABLE "table1_293465_1" (
"rank_2011" real,
"country" text,
"production_in_2011_1_000_ton" real,
"share_2011" text,
"rank_2010" real,
"production_in_2010_1_000_ton" real
); | SELECT MAX("production_in_2010_1_000_ton") FROM "table1_293465_1" WHERE "country"='Sweden'; | 1-293465-1 |
When 75849 is the production in 2010 (1,000 ton) what is the production in 2011 (1,000 ton)? | CREATE TABLE "table1_293465_1" (
"rank_2011" real,
"country" text,
"production_in_2011_1_000_ton" real,
"share_2011" text,
"rank_2010" real,
"production_in_2010_1_000_ton" real
); | SELECT "production_in_2011_1_000_ton" FROM "table1_293465_1" WHERE "production_in_2010_1_000_ton"=75849; | 1-293465-1 |
Valmir Benavides won pole position at which circuit? | CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "circuit" FROM "race_calendar_and_results" WHERE "pole_position"='Valmir Benavides'; | 1-29361707-2 |
Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team? | CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "winning_driver" FROM "race_calendar_and_results" WHERE "pole_position"='Roberval Andrade' AND "fastest_lap"='Felipe Giaffone' AND "winning_team"='RVR Corinthians Motorsport'; | 1-29361707-2 |
What is the fewest number of 2005 subscribers for Vodafone? | CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
); | SELECT MIN("subscribers_2005_thousands") FROM "current_situation" WHERE "provider"='Vodafone'; | 1-29395291-2 |
What is the maximum number of 2006 subscribers for Glo Mobile? | CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
); | SELECT MAX("subscribers_2006_thousands") FROM "current_situation" WHERE "provider"='Glo Mobile'; | 1-29395291-2 |
What is the maximum number of 2006 subscribers for Mobilis? | CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
); | SELECT MAX("subscribers_2006_thousands") FROM "current_situation" WHERE "provider"='Mobilis'; | 1-29395291-2 |
How many subscribers, in 2006, does Glo Mobile have? | CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
); | SELECT "subscribers_2006_thousands" FROM "current_situation" WHERE "provider"='Glo Mobile'; | 1-29395291-2 |
How many 2006 subscribers are named Vodafone? | CREATE TABLE "current_situation" (
"provider" text,
"country" text,
"subscribers_2005_thousands" real,
"subscribers_2006_thousands" real,
"growth_pct" text
); | SELECT COUNT("subscribers_2006_thousands") FROM "current_situation" WHERE "provider"='Vodafone'; | 1-29395291-2 |
Name the number of captains for barcelona | CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
); | SELECT COUNT("captain") FROM "personnel_and_sponsorship" WHERE "team"='Barcelona'; | 1-29398373-2 |
Name the chairman for iker casillas | CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
); | SELECT "chairman" FROM "personnel_and_sponsorship" WHERE "captain"='Iker Casillas'; | 1-29398373-2 |
Name the team for javier clemente | CREATE TABLE "personnel_and_sponsorship" (
"team" text,
"chairman" text,
"head_coach" text,
"captain" text,
"kitmaker" text,
"shirt_sponsor" text
); | SELECT "team" FROM "personnel_and_sponsorship" WHERE "head_coach"='Javier Clemente'; | 1-29398373-2 |
What is the season # for the production code 3.89? | CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "season_num" FROM "table1_29391888_1" WHERE "production_code"='3.89'; | 1-29391888-1 |
What is the series # for the episode titled "words"? | CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT MAX("series_num") FROM "table1_29391888_1" WHERE "title"='\"Words\"'; | 1-29391888-1 |
Who wrote the episode that was directed by Kevin Inch? | CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "written_by" FROM "table1_29391888_1" WHERE "directed_by"='Kevin Inch'; | 1-29391888-1 |
What is the original air date for the season# 2? | CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "original_air_date" FROM "table1_29391888_1" WHERE "season_num"=2; | 1-29391888-1 |
What is the production code for the episode whose original air date was May15,2000? | CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "production_code" FROM "table1_29391888_1" WHERE "original_air_date"='May15,2000'; | 1-29391888-1 |
Who directed the episode titled "who nose"? | CREATE TABLE "table1_29391888_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
); | SELECT "directed_by" FROM "table1_29391888_1" WHERE "title"='\"Who Nose\"'; | 1-29391888-1 |
What is the former school of the player from Detroit, MI? | CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
); | SELECT "former_school" FROM "roster" WHERE "hometown"='Detroit, MI'; | 1-29418619-1 |
What is the hometown of Jarrid Famous? | CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
); | SELECT "hometown" FROM "roster" WHERE "name"='Jarrid Famous'; | 1-29418619-1 |
What number is the player whose hometown is Tampa, FL? | CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
); | SELECT "num" FROM "roster" WHERE "hometown"='Tampa, FL'; | 1-29418619-1 |
What year is the player whose number is 31? | CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
); | SELECT "year" FROM "roster" WHERE "num"=31; | 1-29418619-1 |
What is the height of Anthony Crater? | CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
); | SELECT "height" FROM "roster" WHERE "name"='Anthony Crater'; | 1-29418619-1 |
What is the former school of the player from North Port, FL? | CREATE TABLE "roster" (
"num" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
); | SELECT "former_school" FROM "roster" WHERE "hometown"='North Port, FL'; | 1-29418619-1 |
how many countries have remittances in 2008 of 9.07? | CREATE TABLE "top_recipient_countries_of_remittances_i" (
"country" text,
"remittances_2008" text,
"remittances_2009" text,
"remittances_2010" text,
"remittances_2011" text
); | SELECT COUNT("country") FROM "top_recipient_countries_of_remittances_i" WHERE "remittances_2008"='9.07'; | 1-2941963-1 |
how many remittances in 2010 where the remittances is 19.73? | CREATE TABLE "top_recipient_countries_of_remittances_i" (
"country" text,
"remittances_2008" text,
"remittances_2009" text,
"remittances_2010" text,
"remittances_2011" text
); | SELECT COUNT("remittances_2010") FROM "top_recipient_countries_of_remittances_i" WHERE "remittances_2009"='19.73'; | 1-2941963-1 |
how many remittances in 2010 for nigeria? | CREATE TABLE "top_recipient_countries_of_remittances_i" (
"country" text,
"remittances_2008" text,
"remittances_2009" text,
"remittances_2010" text,
"remittances_2011" text
); | SELECT "remittances_2010" FROM "top_recipient_countries_of_remittances_i" WHERE "country"='Nigeria'; | 1-2941963-1 |
how many countiers had 2009 remittances of 6.02? | CREATE TABLE "top_recipient_countries_of_remittances_i" (
"country" text,
"remittances_2008" text,
"remittances_2009" text,
"remittances_2010" text,
"remittances_2011" text
); | SELECT COUNT("country") FROM "top_recipient_countries_of_remittances_i" WHERE "remittances_2009"='6.02'; | 1-2941963-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.