question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
If the US Open tournament had 2r in 2012, what was it in 2010? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "singles_performance_timeline" WHERE "2012"='2r' AND "tournament"='us open'; | 2-13268827-8 |
What is the school, when the Team is Senators? | CREATE TABLE "2005_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "school" FROM "2005_regular_season_football_standings" WHERE "team"='senators'; | 2-13054553-5 |
What is the Season Outcome, when the School is Sussex Tech? | CREATE TABLE "2005_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "season_outcome" FROM "2005_regular_season_football_standings" WHERE "school"='sussex tech'; | 2-13054553-5 |
What is the School, when the Team is Golden Knights? | CREATE TABLE "2005_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "school" FROM "2005_regular_season_football_standings" WHERE "team"='golden knights'; | 2-13054553-5 |
What is the Venue where the Result is 5β1? | CREATE TABLE "mohamed_al_zeno_international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "mohamed_al_zeno_international_goals" WHERE "result"='5β1'; | 2-12877821-1 |
What was the Score where Goal is larger than 11, and a Competition of 2009 nehru cup, and had a Date of 24 august 2009? | CREATE TABLE "mohamed_al_zeno_international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "mohamed_al_zeno_international_goals" WHERE "goal">11 AND "competition"='2009 nehru cup' AND "date"='24 august 2009'; | 2-12877821-1 |
What is the Result where Goal is 9? | CREATE TABLE "mohamed_al_zeno_international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "mohamed_al_zeno_international_goals" WHERE "goal"=9; | 2-12877821-1 |
What was Goal that where Competition of international friendly, and a Result of 2β1? | CREATE TABLE "mohamed_al_zeno_international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "goal" FROM "mohamed_al_zeno_international_goals" WHERE "competition"='international friendly' AND "result"='2β1'; | 2-12877821-1 |
What is the Competition where the Score was 3β0, and the was Goal larger than 4? | CREATE TABLE "mohamed_al_zeno_international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "mohamed_al_zeno_international_goals" WHERE "score"='3β0' AND "goal">4; | 2-12877821-1 |
What is the 2009 estimate population of the Northeast? | CREATE TABLE "the_five_regions" (
"name" text,
"population_2009_estimate" text,
"largest_city" text,
"largest_metropolitan_area" text,
"number_of_states" text
); | SELECT "population_2009_estimate" FROM "the_five_regions" WHERE "name"='northeast'; | 2-1268246-1 |
What is the 2009 estimate population of the region with Manaus as the largest city? | CREATE TABLE "the_five_regions" (
"name" text,
"population_2009_estimate" text,
"largest_city" text,
"largest_metropolitan_area" text,
"number_of_states" text
); | SELECT "population_2009_estimate" FROM "the_five_regions" WHERE "largest_city"='manaus'; | 2-1268246-1 |
How many states has a 2009 estimate population of 27,3 million? | CREATE TABLE "the_five_regions" (
"name" text,
"population_2009_estimate" text,
"largest_city" text,
"largest_metropolitan_area" text,
"number_of_states" text
); | SELECT "number_of_states" FROM "the_five_regions" WHERE "population_2009_estimate"='27,3 million'; | 2-1268246-1 |
What is the largest metropolitan area of the Central-West? | CREATE TABLE "the_five_regions" (
"name" text,
"population_2009_estimate" text,
"largest_city" text,
"largest_metropolitan_area" text,
"number_of_states" text
); | SELECT "largest_metropolitan_area" FROM "the_five_regions" WHERE "name"='central-west'; | 2-1268246-1 |
What is the 2009 estimate population of the region with Manaus as the largest city? | CREATE TABLE "the_five_regions" (
"name" text,
"population_2009_estimate" text,
"largest_city" text,
"largest_metropolitan_area" text,
"number_of_states" text
); | SELECT "population_2009_estimate" FROM "the_five_regions" WHERE "largest_city"='manaus'; | 2-1268246-1 |
Who was the leader at the summit when the stage was larger than 14, the category was 1, the start was Saint-Girons, and the finish was Cauterets? | CREATE TABLE "appearances_in_tour_de_france" (
"year" real,
"stage" real,
"category" real,
"start" text,
"finish" text,
"leader_at_the_summit" text
); | SELECT "leader_at_the_summit" FROM "appearances_in_tour_de_france" WHERE "stage">14 AND "category"=1 AND "start"='saint-girons' AND "finish"='cauterets'; | 2-12179265-1 |
What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15? | CREATE TABLE "appearances_in_tour_de_france" (
"year" real,
"stage" real,
"category" real,
"start" text,
"finish" text,
"leader_at_the_summit" text
); | SELECT MIN("year") FROM "appearances_in_tour_de_france" WHERE "start"='saint-gaudens' AND "stage"<15; | 2-12179265-1 |
Which Model had 37-78 seats? | CREATE TABLE "four_abreast_cabin" (
"model" text,
"seats" text,
"period" text,
"built" real,
"country" text
); | SELECT "model" FROM "four_abreast_cabin" WHERE "seats"='37-78'; | 2-12127130-3 |
Which studio did The Oregon Trail? | CREATE TABLE "1936" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
); | SELECT "studio" FROM "1936" WHERE "title"='the oregon trail'; | 2-12379832-11 |
Which title had Muriel Evans as leading lady? | CREATE TABLE "1936" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
); | SELECT "title" FROM "1936" WHERE "leading_lady"='muriel evans'; | 2-12379832-11 |
Who is the leading lady in The Lonely Trail? | CREATE TABLE "1936" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
); | SELECT "leading_lady" FROM "1936" WHERE "title"='the lonely trail'; | 2-12379832-11 |
Who was the leading lady for Uni studio and Frank Strayer? | CREATE TABLE "1936" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
); | SELECT "leading_lady" FROM "1936" WHERE "studio"='uni' AND "director"='frank strayer'; | 2-12379832-11 |
In which title was Ann Rutherford the leading lady for Joseph Kane? | CREATE TABLE "1936" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
); | SELECT "title" FROM "1936" WHERE "leading_lady"='ann rutherford' AND "director"='joseph kane'; | 2-12379832-11 |
Who is the leading lady in The Lonely Trail for Joseph Kane? | CREATE TABLE "1936" (
"title" text,
"studio" text,
"role" text,
"leading_lady" text,
"director" text
); | SELECT "leading_lady" FROM "1936" WHERE "director"='joseph kane' AND "title"='the lonely trail'; | 2-12379832-11 |
What was the Chassis with less than 8 points before 1960? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "year"<1960 AND "points"<8; | 2-1252110-3 |
Which Chassis has 0 points? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_formula_one_world_championship_" WHERE "points"=0; | 2-1252110-3 |
What were the total Pints after 1957? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("points") FROM "complete_formula_one_world_championship_" WHERE "year">1957; | 2-1252110-3 |
What was the most recent year for Dean Van Lines? | CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT MAX("year") FROM "complete_formula_one_world_championship_" WHERE "entrant"='dean van lines'; | 2-1252110-3 |
What Gold Coast has Auckland cancelled, and Adelaide yes? | CREATE TABLE "2012" (
"auckland" text,
"gold_coast" text,
"sydney" text,
"melbourne" text,
"adelaide" text,
"perth" text
); | SELECT "gold_coast" FROM "2012" WHERE "auckland"='cancelled' AND "adelaide"='yes'; | 2-12230393-20 |
Which Sydney has Auckland cancelled and Perth yes? | CREATE TABLE "2012" (
"auckland" text,
"gold_coast" text,
"sydney" text,
"melbourne" text,
"adelaide" text,
"perth" text
); | SELECT "sydney" FROM "2012" WHERE "auckland"='cancelled' AND "perth"='yes'; | 2-12230393-20 |
Which Sydney has Gold Coast no, Adelaide no< and Auckland no? | CREATE TABLE "2012" (
"auckland" text,
"gold_coast" text,
"sydney" text,
"melbourne" text,
"adelaide" text,
"perth" text
); | SELECT "sydney" FROM "2012" WHERE "gold_coast"='no' AND "adelaide"='no' AND "auckland"='no'; | 2-12230393-20 |
Which Gold Coast has Melbourne yes, and Auckland yes? | CREATE TABLE "2012" (
"auckland" text,
"gold_coast" text,
"sydney" text,
"melbourne" text,
"adelaide" text,
"perth" text
); | SELECT "gold_coast" FROM "2012" WHERE "melbourne"='yes' AND "auckland"='yes'; | 2-12230393-20 |
Which Perth has Auckland yes and Gold Coast yes? | CREATE TABLE "2012" (
"auckland" text,
"gold_coast" text,
"sydney" text,
"melbourne" text,
"adelaide" text,
"perth" text
); | SELECT "perth" FROM "2012" WHERE "auckland"='yes' AND "gold_coast"='yes'; | 2-12230393-20 |
Which Gold Coast has Auckland no, Adelaide yes, and Melbourne no? | CREATE TABLE "2012" (
"auckland" text,
"gold_coast" text,
"sydney" text,
"melbourne" text,
"adelaide" text,
"perth" text
); | SELECT "gold_coast" FROM "2012" WHERE "auckland"='no' AND "adelaide"='yes' AND "melbourne"='no'; | 2-12230393-20 |
What round was on 7 January 2003? | CREATE TABLE "league_cup" (
"date" text,
"round" text,
"opponents" text,
"result_f_a" text,
"attendance" real
); | SELECT "round" FROM "league_cup" WHERE "date"='7 january 2003'; | 2-13167639-5 |
What is the result F_A on 17 December 2002? | CREATE TABLE "league_cup" (
"date" text,
"round" text,
"opponents" text,
"result_f_a" text,
"attendance" real
); | SELECT "result_f_a" FROM "league_cup" WHERE "date"='17 december 2002'; | 2-13167639-5 |
What attendance was on 7 January 2003? | CREATE TABLE "league_cup" (
"date" text,
"round" text,
"opponents" text,
"result_f_a" text,
"attendance" real
); | SELECT "attendance" FROM "league_cup" WHERE "date"='7 january 2003'; | 2-13167639-5 |
Name the recording for 2012 | CREATE TABLE "awards_and_nominations" (
"year" text,
"category" text,
"genre" text,
"recording" text,
"result" text
); | SELECT "recording" FROM "awards_and_nominations" WHERE "year"='2012'; | 2-12719880-1 |
Name the year with the best female pop vocal album and result of won | CREATE TABLE "awards_and_nominations" (
"year" text,
"category" text,
"genre" text,
"recording" text,
"result" text
); | SELECT "year" FROM "awards_and_nominations" WHERE "category"='best female pop vocal album' AND "result"='won'; | 2-12719880-1 |
Name the category for 2013 | CREATE TABLE "awards_and_nominations" (
"year" text,
"category" text,
"genre" text,
"recording" text,
"result" text
); | SELECT "category" FROM "awards_and_nominations" WHERE "year"='2013'; | 2-12719880-1 |
Which was the lowest gold when silver was smaller than 0? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medal_table" WHERE "silver"<0; | 2-12392607-3 |
Which is the highest total at rank 6, bronze 2, and gold larger than 0? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("total") FROM "medal_table" WHERE "rank"=6 AND "bronze"=2 AND "gold">0; | 2-12392607-3 |
Which is the highest bronze at Chinese Taipei when the rank was higher than 5 and total was smaller than 1? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "medal_table" WHERE "rank">5 AND "nation"='chinese taipei' AND "total"<1; | 2-12392607-3 |
Name the US dance when the year is more than 1985 | CREATE TABLE "singles" (
"year" real,
"single" text,
"u_s_hot_100" text,
"u_s_dance" text,
"u_s_r_b" text,
"album" text
); | SELECT "u_s_dance" FROM "singles" WHERE "year">1985; | 2-1230478-2 |
Name the US Hot 100 for album of I like you | CREATE TABLE "singles" (
"year" real,
"single" text,
"u_s_hot_100" text,
"u_s_dance" text,
"u_s_r_b" text,
"album" text
); | SELECT "u_s_hot_100" FROM "singles" WHERE "album"='i like you'; | 2-1230478-2 |
Name the US R&B for 1981 | CREATE TABLE "singles" (
"year" real,
"single" text,
"u_s_hot_100" text,
"u_s_dance" text,
"u_s_r_b" text,
"album" text
); | SELECT "u_s_r_b" FROM "singles" WHERE "year"=1981; | 2-1230478-2 |
Who was the writer when Parkville Pictures Ltd was the recipient? | CREATE TABLE "2008_i" (
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "writer_s" FROM "2008_i" WHERE "recipient"='parkville pictures ltd'; | 2-12181447-3 |
Alex Winckler wrote the film, who was the director? | CREATE TABLE "2008_i" (
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "director_s" FROM "2008_i" WHERE "writer_s"='alex winckler'; | 2-12181447-3 |
On what date was Edward Jeffreys the writer? | CREATE TABLE "2008_i" (
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "date" FROM "2008_i" WHERE "writer_s"='edward jeffreys'; | 2-12181447-3 |
What date was the award of Β£6,600 was given? | CREATE TABLE "2008_i" (
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "date" FROM "2008_i" WHERE "award"='Β£6,600'; | 2-12181447-3 |
Who was the director that had a recipient of Redbag Pictures Ltd? | CREATE TABLE "2008_i" (
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "director_s" FROM "2008_i" WHERE "recipient"='redbag pictures ltd'; | 2-12181447-3 |
What's the name of the award that Edward Jeffreys was the writer? | CREATE TABLE "2008_i" (
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "award" FROM "2008_i" WHERE "writer_s"='edward jeffreys'; | 2-12181447-3 |
Who is the Player born in 1981? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "player" FROM "fiba_euro_basket_2007_squads" WHERE "year_born"=1981; | 2-12962773-1 |
What is the Height that has a year born before 1977 | CREATE TABLE "fiba_euro_basket_2007_squads" (
"player" text,
"height" real,
"position" text,
"year_born" real,
"current_club" text
); | SELECT COUNT("height") FROM "fiba_euro_basket_2007_squads" WHERE "year_born"<1977; | 2-12962773-1 |
What is the lowest Total Region that has a Year after 2001, and a Broadsound greater than 6,843? | CREATE TABLE "population" (
"year" real,
"total_region" real,
"belyando" real,
"broadsound" real,
"nebo" real
); | SELECT MIN("total_region") FROM "population" WHERE "year">2001 AND "broadsound">'6,843'; | 2-12536848-1 |
What is the highest Total Region that has a Broadsound greater than 1,590, a Year after 1966, a Belyando greater than 11,362, and a Nebo of 914? | CREATE TABLE "population" (
"year" real,
"total_region" real,
"belyando" real,
"broadsound" real,
"nebo" real
); | SELECT MAX("total_region") FROM "population" WHERE "broadsound">'1,590' AND "year">1966 AND "belyando">'11,362' AND "nebo"=914; | 2-12536848-1 |
What is the sum of Total Regions that have the Year 1954, and a Nebo greater than 447? | CREATE TABLE "population" (
"year" real,
"total_region" real,
"belyando" real,
"broadsound" real,
"nebo" real
); | SELECT SUM("total_region") FROM "population" WHERE "year"=1954 AND "nebo">447; | 2-12536848-1 |
Before the Year 1947, what is the sum of Broadsound that have a Belyando greater than 11,362, and a Total Region equal to 5,016? | CREATE TABLE "population" (
"year" real,
"total_region" real,
"belyando" real,
"broadsound" real,
"nebo" real
); | SELECT SUM("broadsound") FROM "population" WHERE "belyando">'11,362' AND "total_region"='5,016' AND "year"<1947; | 2-12536848-1 |
After 2001, what is the sum of Belyando that have a Nebo greater than 2,522? | CREATE TABLE "population" (
"year" real,
"total_region" real,
"belyando" real,
"broadsound" real,
"nebo" real
); | SELECT SUM("belyando") FROM "population" WHERE "nebo">'2,522' AND "year">2001; | 2-12536848-1 |
What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("bronze") FROM "medal_table" WHERE "gold"<2 AND "nation"='uganda' AND "total">2; | 2-12972743-3 |
With less than 7 Silver medals, how many Gold medals did Canada receive? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("gold") FROM "medal_table" WHERE "nation"='canada' AND "silver"<7; | 2-12972743-3 |
What is the outcome of a score that is 6β1, 6β4? | CREATE TABLE "singles_2_3" (
"outcome" text,
"date" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "outcome" FROM "singles_2_3" WHERE "score"='6β1, 6β4'; | 2-13101535-3 |
What is the surface of the score, 7β6 (7β3) , 6β3? | CREATE TABLE "singles_2_3" (
"outcome" text,
"date" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_2_3" WHERE "score"='7β6 (7β3) , 6β3'; | 2-13101535-3 |
What venue did he play in before 2008 and finished 14th (q)? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "year"<2008 AND "position"='14th (q)'; | 2-13024639-1 |
What competition did he compete in before 2007 in gothenburg, sweden? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "competition" FROM "achievements" WHERE "year"<2007 AND "venue"='gothenburg, sweden'; | 2-13024639-1 |
What venue did he finish 7th? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "position"='7th'; | 2-13024639-1 |
Name the most performances for geoffrey fitton | CREATE TABLE "theatre" (
"opening_date" text,
"closing_date" text,
"performances" real,
"role" text,
"theatre" text
); | SELECT MAX("performances") FROM "theatre" WHERE "role"='geoffrey fitton'; | 2-1287443-1 |
Name the role for Feb 4, 1961 closing date | CREATE TABLE "theatre" (
"opening_date" text,
"closing_date" text,
"performances" real,
"role" text,
"theatre" text
); | SELECT "role" FROM "theatre" WHERE "closing_date"='feb 4, 1961'; | 2-1287443-1 |
Name the theatre for aaron jablonski schuyler grogan with performances more than 49 | CREATE TABLE "theatre" (
"opening_date" text,
"closing_date" text,
"performances" real,
"role" text,
"theatre" text
); | SELECT "theatre" FROM "theatre" WHERE "performances">49 AND "role"='aaron jablonski schuyler grogan'; | 2-1287443-1 |
What are the titles for episodes prior to episode 4? | CREATE TABLE "list_of_gossip_girl_episodes" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "title" FROM "list_of_gossip_girl_episodes" WHERE "no_in_series"<4; | 2-12182486-3 |
What are the titles for episodes prior to episode 4? | CREATE TABLE "list_of_gossip_girl_episodes" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "title" FROM "list_of_gossip_girl_episodes" WHERE "no_in_series"<4; | 2-12182486-3 |
What the air dates for the episodes are episode 3 in the series? | CREATE TABLE "list_of_gossip_girl_episodes" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "original_air_date" FROM "list_of_gossip_girl_episodes" WHERE "no_in_series">3; | 2-12182486-3 |
How many laps resulted from a Qual of 165.229? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT MAX("laps") FROM "indy_500_results" WHERE "qual"='165.229'; | 2-1235044-1 |
Whent he start was 15, what was the Qual? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "qual" FROM "indy_500_results" WHERE "start"='15'; | 2-1235044-1 |
What was the start result with a Rank of 7 and more than 100 laps? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "start" FROM "indy_500_results" WHERE "rank"='7' AND "laps">100; | 2-1235044-1 |
Who was the shirt sponsor for the Blackburn Rovers? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "shirt_sponsor" FROM "personnel_and_kits" WHERE "team"='blackburn rovers'; | 2-1269458-2 |
Who was the team captain of the Bolton Wanderers? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "captain" FROM "personnel_and_kits" WHERE "team"='bolton wanderers'; | 2-1269458-2 |
For which team did Adidas manufacture kits and TDK sponsor shirts? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "team" FROM "personnel_and_kits" WHERE "kit_manufacturer"='adidas' AND "shirt_sponsor"='tdk'; | 2-1269458-2 |
On which team was Robbie Earle the captain? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "team" FROM "personnel_and_kits" WHERE "captain"='robbie earle'; | 2-1269458-2 |
Who was the manager for the team with captain Neil Redfearn? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "manager_1" FROM "personnel_and_kits" WHERE "captain"='neil redfearn'; | 2-1269458-2 |
Who was the team captain for Crystal Palace? | CREATE TABLE "personnel_and_kits" (
"team" text,
"manager_1" text,
"captain" text,
"kit_manufacturer" text,
"shirt_sponsor" text
); | SELECT "captain" FROM "personnel_and_kits" WHERE "team"='crystal palace'; | 2-1269458-2 |
drop goals larger than 0, and a Penalties of 52, and a Number larger than 5 had what lowest score? | CREATE TABLE "top_five_scoring_international_players_t" (
"number" real,
"player" text,
"years_active" text,
"caps" real,
"tries" real,
"conversions" real,
"penalties" real,
"drop_goals" real,
"average_score" real,
"score" real
); | SELECT MIN("score") FROM "top_five_scoring_international_players_t" WHERE "drop_goals">0 AND "penalties"=52 AND "number">5; | 2-13255695-3 |
Player of jaco coetzee, and a Tries larger than 6 had what total number of score? | CREATE TABLE "top_five_scoring_international_players_t" (
"number" real,
"player" text,
"years_active" text,
"caps" real,
"tries" real,
"conversions" real,
"penalties" real,
"drop_goals" real,
"average_score" real,
"score" real
); | SELECT COUNT("score") FROM "top_five_scoring_international_players_t" WHERE "player"='jaco coetzee' AND "tries">6; | 2-13255695-3 |
What is the highest round that has a draftee from Washington State University? | CREATE TABLE "june_secondary_phase" (
"round" real,
"name" text,
"position" text,
"school" text,
"signed" text
); | SELECT MAX("round") FROM "june_secondary_phase" WHERE "school"='washington state university'; | 2-12901367-12 |
What round was Bob Randall selected in? | CREATE TABLE "june_secondary_phase" (
"round" real,
"name" text,
"position" text,
"school" text,
"signed" text
); | SELECT MAX("round") FROM "june_secondary_phase" WHERE "name"='bob randall'; | 2-12901367-12 |
Name the Ont of N.B. of 10 and normal total of 77 | CREATE TABLE "change_in_number_of_senators_over_time" (
"date_enacted" text,
"normal_total" text,
"26_total" text,
"ont" text,
"que" text,
"n_s" text,
"n_b" text
); | SELECT "ont" FROM "change_in_number_of_senators_over_time" WHERE "n_b"='10' AND "normal_total"='77'; | 2-123498-4 |
Name the date enacted for N.S. of 10 and normal total of 104 | CREATE TABLE "change_in_number_of_senators_over_time" (
"date_enacted" text,
"normal_total" text,
"26_total" text,
"ont" text,
"que" text,
"n_s" text,
"n_b" text
); | SELECT "date_enacted" FROM "change_in_number_of_senators_over_time" WHERE "n_s"='10' AND "normal_total"='104'; | 2-123498-4 |
Name the NS with normal total of 102 | CREATE TABLE "change_in_number_of_senators_over_time" (
"date_enacted" text,
"normal_total" text,
"26_total" text,
"ont" text,
"que" text,
"n_s" text,
"n_b" text
); | SELECT "n_s" FROM "change_in_number_of_senators_over_time" WHERE "normal_total"='102'; | 2-123498-4 |
Name the normal with que of 24 | CREATE TABLE "change_in_number_of_senators_over_time" (
"date_enacted" text,
"normal_total" text,
"26_total" text,
"ont" text,
"que" text,
"n_s" text,
"n_b" text
); | SELECT "normal_total" FROM "change_in_number_of_senators_over_time" WHERE "que"='24'; | 2-123498-4 |
What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis? | CREATE TABLE "complete_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("points") FROM "complete_world_championship_results" WHERE "entrant"='peter whitehead' AND "chassis"='alta f2'; | 2-1235868-1 |
How many points does g a vandervell have? | CREATE TABLE "complete_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "points" FROM "complete_world_championship_results" WHERE "entrant"='g a vandervell'; | 2-1235868-1 |
How many total points were earned with ferrari 125 Chassis after 1952? | CREATE TABLE "complete_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("points") FROM "complete_world_championship_results" WHERE "chassis"='ferrari 125' AND "year">1952; | 2-1235868-1 |
What is the total number of Points that Peter Whitehead earned in a Ferrari 125? | CREATE TABLE "complete_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT SUM("points") FROM "complete_world_championship_results" WHERE "entrant"='peter whitehead' AND "chassis"='ferrari 125'; | 2-1235868-1 |
Name the D 44 when it has a D 40β of r 16 | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43_o" text,
"d_42_o" text,
"d_41" text,
"d_40" text
); | SELECT "d_44" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_40"='r 16'; | 2-1313008-2 |
Name the D 41 β for having D 43 of r 13 | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43_o" text,
"d_42_o" text,
"d_41" text,
"d_40" text
); | SELECT "d_41" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_43_o"='r 13'; | 2-1313008-2 |
Name the D 45+ which has D 42 of r 14 | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43_o" text,
"d_42_o" text,
"d_41" text,
"d_40" text
); | SELECT "d_45" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_42_o"='r 14'; | 2-1313008-2 |
Name the D 44 which has D 42 O of d 33 | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43_o" text,
"d_42_o" text,
"d_41" text,
"d_40" text
); | SELECT "d_44" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_42_o"='d 33'; | 2-1313008-2 |
Name the D 46 which has D 44 of r 25 | CREATE TABLE "senate_composition_as_a_result_of_the_el" (
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43_o" text,
"d_42_o" text,
"d_41" text,
"d_40" text
); | SELECT "d_46" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_44"='r 25'; | 2-1313008-2 |
What was the rank of a transfer fee larger than 13 million, and after 2008? | CREATE TABLE "incoming_transfers" (
"rank" real,
"player" text,
"from" text,
"transfer_fee_million" real,
"year" real
); | SELECT COUNT("rank") FROM "incoming_transfers" WHERE "transfer_fee_million">13 AND "year">2008; | 2-12742744-2 |
What president was elected in 2010? | CREATE TABLE "ukraine_1991_present" (
"president" text,
"elected" real,
"took_office" text,
"left_office" text,
"party" text
); | SELECT "president" FROM "ukraine_1991_present" WHERE "elected"=2010; | 2-12812683-2 |
When seats for 2001 is greater than 15 and % 2001 is greater than 100, what is the % 2006? | CREATE TABLE "community_council" (
"parties_and_voter_communities" text,
"pct_2006" real,
"seats_2006" real,
"pct_2001" real,
"seats_2001" real
); | SELECT AVG("pct_2006") FROM "community_council" WHERE "seats_2001">15 AND "pct_2001">100; | 2-12190237-1 |
Subsets and Splits