question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What ship has a pennant number h05?
CREATE TABLE "g_class" ( "ship" text, "pennant_number" text, "laid_down" text, "launched" text, "completed" text );
SELECT "ship" FROM "g_class" WHERE "pennant_number"='h05';
2-1210297-1
What is the launched date of the destroyer completed 25 February 1936?
CREATE TABLE "g_class" ( "ship" text, "pennant_number" text, "laid_down" text, "launched" text, "completed" text );
SELECT "launched" FROM "g_class" WHERE "completed"='25 february 1936';
2-1210297-1
What is the launched date of the destroyer completed 1 July 1936?
CREATE TABLE "g_class" ( "ship" text, "pennant_number" text, "laid_down" text, "launched" text, "completed" text );
SELECT "launched" FROM "g_class" WHERE "completed"='1 july 1936';
2-1210297-1
What was the home team score when the VFL played at Western Oval?
CREATE TABLE "round_19" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_19" WHERE "venue"='western oval';
2-10809157-19
Who was North Melbourne's home opponent?
CREATE TABLE "round_19" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team" FROM "round_19" WHERE "away_team"='north melbourne';
2-10809157-19
What was the home team score when the VFL played at Princes Park?
CREATE TABLE "round_19" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_19" WHERE "venue"='princes park';
2-10809157-19
Which sum of AVE-No has a Name of albula alps, and a Height (m) larger than 3418?
CREATE TABLE "alpine_club_classification" ( "ave_no" real, "name" text, "country" text, "highest_mountain" text, "height_m" real );
SELECT SUM("ave_no") FROM "alpine_club_classification" WHERE "name"='albula alps' AND "height_m">3418;
2-1185126-2
Which Height (m) has a Name of plessur alps, and a AVE-No larger than 63?
CREATE TABLE "alpine_club_classification" ( "ave_no" real, "name" text, "country" text, "highest_mountain" text, "height_m" real );
SELECT MIN("height_m") FROM "alpine_club_classification" WHERE "name"='plessur alps' AND "ave_no">63;
2-1185126-2
Which Name has a Height (m) of 2980?
CREATE TABLE "alpine_club_classification" ( "ave_no" real, "name" text, "country" text, "highest_mountain" text, "height_m" real );
SELECT "name" FROM "alpine_club_classification" WHERE "height_m"=2980;
2-1185126-2
Which AVE-No has a Name of livigno alps?
CREATE TABLE "alpine_club_classification" ( "ave_no" real, "name" text, "country" text, "highest_mountain" text, "height_m" real );
SELECT MIN("ave_no") FROM "alpine_club_classification" WHERE "name"='livigno alps';
2-1185126-2
Who was the winning driver when pole position was jenson button, the fastest lap was michael schumacher and the car was ferrari?
CREATE TABLE "grands_prix" ( "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "winning_driver" FROM "grands_prix" WHERE "fastest_lap"='michael schumacher' AND "constructor"='ferrari' AND "pole_position"='jenson button';
2-1126627-3
What was the pole position at the san marino grand prix with michael schumacher as winning driver?
CREATE TABLE "grands_prix" ( "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "pole_position" FROM "grands_prix" WHERE "winning_driver"='michael schumacher' AND "grand_prix"='san marino grand prix';
2-1126627-3
Name the Grand Prix for pole position of kimi räikkönen
CREATE TABLE "grands_prix" ( "grand_prix" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "grand_prix" FROM "grands_prix" WHERE "pole_position"='kimi räikkönen';
2-1126627-3
How many Established groups have a multicultural sub category?
CREATE TABLE "annual_events" ( "event_name" text, "established" real, "category" text, "sub_category" text, "main_venue" text );
SELECT COUNT("established") FROM "annual_events" WHERE "sub_category"='multicultural';
2-11758927-2
Which is the category of the group was establishe in 1990?
CREATE TABLE "annual_events" ( "event_name" text, "established" real, "category" text, "sub_category" text, "main_venue" text );
SELECT "category" FROM "annual_events" WHERE "established"=1990;
2-11758927-2
What is the category of the touchdown atlantic?
CREATE TABLE "annual_events" ( "event_name" text, "established" real, "category" text, "sub_category" text, "main_venue" text );
SELECT "category" FROM "annual_events" WHERE "event_name"='touchdown atlantic';
2-11758927-2
Name the result for 13 october 2004
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "date"='13 october 2004';
2-11471512-1
Name the date that has a friendly competition at rheinpark stadion, vaduz
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='friendly' AND "venue"='rheinpark stadion, vaduz';
2-11471512-1
Who is the constructor of John Surtees's Oulton Park circuit car?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "constructor" FROM "non_championship_race_results" WHERE "circuit"='oulton park' AND "winning_driver"='john surtees';
2-1140090-6
Which race was Matra the constructor?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "race_name" FROM "non_championship_race_results" WHERE "constructor"='matra';
2-1140090-6
Which race was at Hockenheim circuit?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "race_name" FROM "non_championship_race_results" WHERE "circuit"='hockenheim';
2-1140090-6
Who was the winner of the XII Spring Trophy race with BRM as the constructor?
CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text );
SELECT "winning_driver" FROM "non_championship_race_results" WHERE "constructor"='brm' AND "race_name"='xii spring trophy';
2-1140090-6
What is the away team at victoria park?
CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_8" WHERE "venue"='victoria park';
2-10790651-8
Which venue has an Away team score of 17.14 (116)?
CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_8" WHERE "away_team_score"='17.14 (116)';
2-10790651-8
Which away team is from junction oval?
CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_8" WHERE "venue"='junction oval';
2-10790651-8
Which Away team score has Home team score of 13.12 (90)?
CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_8" WHERE "home_team_score"='13.12 (90)';
2-10790651-8
What was the term of Hon Peter Morris?
CREATE TABLE "notes" ( "member" text, "party" text, "electorate" text, "state" text, "term_in_office" text );
SELECT "term_in_office" FROM "notes" WHERE "member"='hon peter morris';
2-1164463-1
What party is the member that has an electorate of Lindsay?
CREATE TABLE "notes" ( "member" text, "party" text, "electorate" text, "state" text, "term_in_office" text );
SELECT "party" FROM "notes" WHERE "electorate"='lindsay';
2-1164463-1
What is the low lap total for the under 4 grid car driven by juan pablo montoya?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT MIN("laps") FROM "race" WHERE "grid"<4 AND "driver"='juan pablo montoya';
2-1123526-2
Who drove the grid 11 car?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "race" WHERE "grid"=11;
2-1123526-2
What is the grid total for cars with over 69 laps?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("grid") FROM "race" WHERE "laps">69;
2-1123526-2
What is the time/retired with 22 laps and a grid of 29?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "125cc_classification" WHERE "laps"=22 AND "grid"=29;
2-12020197-3
What is the highest number of laps with a time of +6.643 and grid less than 2?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("laps") FROM "125cc_classification" WHERE "time_retired"='+6.643' AND "grid"<2;
2-12020197-3
When was there 204 deaths?
CREATE TABLE "season_effects" ( "name" text, "dates_active" text, "windspeeds" text, "pressure" text, "deaths" text );
SELECT "dates_active" FROM "season_effects" WHERE "deaths"='204';
2-10998232-1
When is the birth date of player with right arm fast style?
CREATE TABLE "west_indies" ( "player" text, "date_of_birth" text, "batting_style" text, "bowling_style" text, "first_class_team" text );
SELECT "date_of_birth" FROM "west_indies" WHERE "bowling_style"='right arm fast';
2-11950720-8
What batting style corresponds to a bowling style of right arm medium for Stuart Williams?
CREATE TABLE "west_indies" ( "player" text, "date_of_birth" text, "batting_style" text, "bowling_style" text, "first_class_team" text );
SELECT "batting_style" FROM "west_indies" WHERE "bowling_style"='right arm medium' AND "player"='stuart williams';
2-11950720-8
What is the birth date for Mervyn Dillon?
CREATE TABLE "west_indies" ( "player" text, "date_of_birth" text, "batting_style" text, "bowling_style" text, "first_class_team" text );
SELECT "date_of_birth" FROM "west_indies" WHERE "player"='mervyn dillon';
2-11950720-8
What position does Michael Ruffin play?
CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "position" FROM "r" WHERE "player"='michael ruffin';
2-11545282-17
What is the nationality of the center?
CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "nationality" FROM "r" WHERE "position"='center';
2-11545282-17
What is the nationality of the Jazz player 1977-79?
CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "nationality" FROM "r" WHERE "years_for_jazz"='1977-79';
2-11545282-17
Tell me the School/Club team of the player from the United States that play'de guard?
CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "school_club_team" FROM "r" WHERE "nationality"='united states' AND "position"='guard';
2-11545282-17
What nationality is Bill Robinzine?
CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "nationality" FROM "r" WHERE "player"='bill robinzine';
2-11545282-17
What is the average of seasons for 10th place finishes?
CREATE TABLE "season_to_season" ( "season" real, "level" text, "division" text, "administration" text, "position" text );
SELECT AVG("season") FROM "season_to_season" WHERE "position"='10th';
2-10970542-1
What season was there a 2nd place finish?
CREATE TABLE "season_to_season" ( "season" real, "level" text, "division" text, "administration" text, "position" text );
SELECT "season" FROM "season_to_season" WHERE "position"='2nd';
2-10970542-1
What level for seasons after 2003, a Division of kakkonen (second division), and a Position of 12th?
CREATE TABLE "season_to_season" ( "season" real, "level" text, "division" text, "administration" text, "position" text );
SELECT "level" FROM "season_to_season" WHERE "season">2003 AND "division"='kakkonen (second division)' AND "position"='12th';
2-10970542-1
What was the streak on April 2?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text, "streak" text );
SELECT "streak" FROM "april" WHERE "date"='april 2';
2-11964047-10
Who was the visiting team when the leading scorer was Jones : 20?
CREATE TABLE "april" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text, "streak" text );
SELECT "visitor" FROM "april" WHERE "leading_scorer"='jones : 20';
2-11964047-10
How many people watched season 1?
CREATE TABLE "american_television_ratings" ( "season" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" real );
SELECT "viewers_in_millions" FROM "american_television_ratings" WHERE "season"='1';
2-1145977-2
What was the ranking of the season whose finale aired on May 15, 2011?
CREATE TABLE "american_television_ratings" ( "season" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" real );
SELECT "ranking" FROM "american_television_ratings" WHERE "season_finale"='may 15, 2011';
2-1145977-2
Which season premiered on November 27, 2012?
CREATE TABLE "american_television_ratings" ( "season" text, "season_premiere" text, "season_finale" text, "tv_season" text, "ranking" text, "viewers_in_millions" real );
SELECT "season" FROM "american_television_ratings" WHERE "season_premiere"='november 27, 2012';
2-1145977-2
What is the PI GP of Rob Flockhart, who has a pick # less than 122 and a round # less than 3?
CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "team_league" text, "reg_gp" real, "pl_gp" real );
SELECT SUM("pl_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "pick_num"<122 AND "player"='rob flockhart' AND "rd_num"<3;
2-11636955-8
What is the lowest reg gp of the player with a round # more than 2, a pick # of 80, and a PI GP larger than 0?
CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "team_league" text, "reg_gp" real, "pl_gp" real );
SELECT MIN("reg_gp") FROM "list_of_vancouver_canucks_draft_picks" WHERE "rd_num">2 AND "pick_num"=80 AND "pl_gp">0;
2-11636955-8
Name the highest FIPS code for coordinates of 41.827547, -74.118478 and land less than 1.196
CREATE TABLE "census_designated_places_in_new_york" ( "cdp_name" text, "county" text, "pop_2010" real, "land_sq_mi" real, "water_sq_mi" real, "coordinates" text, "fips_code" real, "ansi_code" real );
SELECT MAX("fips_code") FROM "census_designated_places_in_new_york" WHERE "coordinates"='41.827547, -74.118478' AND "land_sq_mi"<1.196;
2-1182691-1
Name the CDP name for FIPS code of 3659708
CREATE TABLE "census_designated_places_in_new_york" ( "cdp_name" text, "county" text, "pop_2010" real, "land_sq_mi" real, "water_sq_mi" real, "coordinates" text, "fips_code" real, "ansi_code" real );
SELECT "cdp_name" FROM "census_designated_places_in_new_york" WHERE "fips_code"=3659708;
2-1182691-1
Name the FIPS code for county of wyoming and CDP name of pike
CREATE TABLE "census_designated_places_in_new_york" ( "cdp_name" text, "county" text, "pop_2010" real, "land_sq_mi" real, "water_sq_mi" real, "coordinates" text, "fips_code" real, "ansi_code" real );
SELECT "fips_code" FROM "census_designated_places_in_new_york" WHERE "county"='wyoming' AND "cdp_name"='pike';
2-1182691-1
Name the sum of land for ANSI code of 2390496 and population less than 7,284
CREATE TABLE "census_designated_places_in_new_york" ( "cdp_name" text, "county" text, "pop_2010" real, "land_sq_mi" real, "water_sq_mi" real, "coordinates" text, "fips_code" real, "ansi_code" real );
SELECT SUM("land_sq_mi") FROM "census_designated_places_in_new_york" WHERE "ansi_code"=2390496 AND "pop_2010"<'7,284';
2-1182691-1
How many solo tackles for the player with over 0 TDs and over 0 sacks?
CREATE TABLE "defense" ( "player" text, "tackles" real, "solo" real, "assisted" real, "sack" real, "yards" real, "td_s" real );
SELECT MIN("solo") FROM "defense" WHERE "td_s">0 AND "sack">0;
2-11784911-13
How many sacks for the player with over 1 tackle, under 3 assisted tackles, and over 0 yards?
CREATE TABLE "defense" ( "player" text, "tackles" real, "solo" real, "assisted" real, "sack" real, "yards" real, "td_s" real );
SELECT COUNT("sack") FROM "defense" WHERE "tackles">1 AND "assisted"<3 AND "yards">0;
2-11784911-13
What stamp design has a denomination of $1.18?
CREATE TABLE "2009" ( "date_of_issue" text, "denomination" text, "design" text, "paper_type" text, "first_day_cover_cancellation" text );
SELECT "design" FROM "2009" WHERE "denomination"='$1.18';
2-11900773-7
What is the denomination for the stamp issued 8 January 2009?
CREATE TABLE "2009" ( "date_of_issue" text, "denomination" text, "design" text, "paper_type" text, "first_day_cover_cancellation" text );
SELECT "denomination" FROM "2009" WHERE "date_of_issue"='8 january 2009';
2-11900773-7
What date was the John Belisle, Kosta Tsetsekas stamp issued?
CREATE TABLE "2009" ( "date_of_issue" text, "denomination" text, "design" text, "paper_type" text, "first_day_cover_cancellation" text );
SELECT "date_of_issue" FROM "2009" WHERE "design"='john belisle, kosta tsetsekas';
2-11900773-7
What is the first day cover cancellation for the Karen Smith Design stamp?
CREATE TABLE "2009" ( "date_of_issue" text, "denomination" text, "design" text, "paper_type" text, "first_day_cover_cancellation" text );
SELECT "first_day_cover_cancellation" FROM "2009" WHERE "design"='karen smith design';
2-11900773-7
What is the date of Competition of 2008 africa cup of nations?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='2008 africa cup of nations';
2-10814043-1
What is the score on 22 january 2008?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "date"='22 january 2008';
2-10814043-1
Which venue was used 22 january 2008?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "date"='22 january 2008';
2-10814043-1
What result has a Score of 1–0, and a Competition of 2014 fifa world cup qualification?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "result" FROM "international_goals" WHERE "score"='1–0' AND "competition"='2014 fifa world cup qualification';
2-10814043-1
What date was the Competition of 2014 fifa world cup qualification, with a Score of 1–0?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='2014 fifa world cup qualification' AND "score"='1–0';
2-10814043-1
what is the object type when the right ascension (j2000) is 11h10m42.8s?
CREATE TABLE "3501_3600" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT "object_type" FROM "3501_3600" WHERE "right_ascension_j2000"='11h10m42.8s';
2-11097691-6
what is the declination (j2000) when the ngc number is higher than 3593?
CREATE TABLE "3501_3600" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT "declination_j2000" FROM "3501_3600" WHERE "ngc_number">3593;
2-11097691-6
what is the constellation when the object type is spiral galaxy, the ngc number is less than 3593 and the right ascension (j2000) is 11h05m48.9s?
CREATE TABLE "3501_3600" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT "constellation" FROM "3501_3600" WHERE "object_type"='spiral galaxy' AND "ngc_number"<3593 AND "right_ascension_j2000"='11h05m48.9s';
2-11097691-6
what is the right ascension (j2000) when the ngc number is 3576?
CREATE TABLE "3501_3600" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT "right_ascension_j2000" FROM "3501_3600" WHERE "ngc_number"=3576;
2-11097691-6
Who is the driver when the grid is 18?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "driver" FROM "race" WHERE "grid"='18';
2-1122079-2
What is the time/retired when the grid is 19?
CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text );
SELECT "time_retired" FROM "race" WHERE "grid"='19';
2-1122079-2
What was St Kilda's home team opponents score?
CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_16" WHERE "away_team"='st kilda';
2-10806194-16
What was the home team score at Carlton's away match?
CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_14" WHERE "away_team"='carlton';
2-10808681-14
When did Hawthorn play at home?
CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_14" WHERE "home_team"='hawthorn';
2-10808681-14
How many people were in attendance at St Kilda's away match?
CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "crowd" FROM "round_14" WHERE "away_team"='st kilda';
2-10808681-14
Where did the home team score 8.9 (57)?
CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_14" WHERE "home_team_score"='8.9 (57)';
2-10808681-14
When did the away team score 7.16 (58)?
CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_14" WHERE "away_team_score"='7.16 (58)';
2-10808681-14
What is the date of the British Rail class 111 tslrb description?
CREATE TABLE "list_of_great_central_railway_locomotive" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" text );
SELECT "date" FROM "list_of_great_central_railway_locomotive" WHERE "description"='british rail class 111 tslrb';
2-11913905-6
What is the number & name with an Undergoing overhaul, restoration or repairs date?
CREATE TABLE "list_of_great_central_railway_locomotive" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" text );
SELECT "number_name" FROM "list_of_great_central_railway_locomotive" WHERE "date"='undergoing overhaul, restoration or repairs';
2-11913905-6
What is the number & name of the livery in 1958?
CREATE TABLE "list_of_great_central_railway_locomotive" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" text );
SELECT "number_name" FROM "list_of_great_central_railway_locomotive" WHERE "date"='1958';
2-11913905-6
What is the lowest rank for a nation with 29 total medals, over 5 silvers, and under 16 bronze?
CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("rank") FROM "medal_count" WHERE "silver">5 AND "total"=29 AND "bronze"<16;
2-11344569-3
What is the highest rank for a nation with 26 golds and over 17 silvers?
CREATE TABLE "medal_count" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("rank") FROM "medal_count" WHERE "gold"=26 AND "silver">17;
2-11344569-3
What is the catalog number with the date November 16, 2004?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "date"='november 16, 2004';
2-1097545-4
What is the date of the item with a label of Sony BMG, Epic and a Catalog number 5187482?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "label"='sony bmg, epic' AND "catalog"='5187482';
2-1097545-4
Which Catalog has a Region of Canada and a Format of cd/dvd?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "region"='canada' AND "format"='cd/dvd';
2-1097545-4
What is the date for a CD format with a Region of Europe?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "region"='europe' AND "format"='cd';
2-1097545-4
What nationality is the la salle team?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "nationality" FROM "l" WHERE "school_club_team"='la salle';
2-11545282-12
What's the nationality of jim les?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "nationality" FROM "l" WHERE "player"='jim les';
2-11545282-12
Which player has a nationality of spain?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "player" FROM "l" WHERE "nationality"='spain';
2-11545282-12
What position is listed for the nebraska team?
CREATE TABLE "l" ( "player" text, "nationality" text, "position" text, "years_for_jazz" text, "school_club_team" text );
SELECT "position" FROM "l" WHERE "school_club_team"='nebraska';
2-11545282-12
On October 24, who played at home when there was a decision of Ward?
CREATE TABLE "october" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "home" FROM "october" WHERE "decision"='ward' AND "date"='october 24';
2-11772511-3
How many laps are there for grid 8?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "laps" FROM "classification" WHERE "grid"=8;
2-1122654-1
What is the driver for Grid 8?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "classification" WHERE "grid"=8;
2-1122654-1
What is the average grid for Clay Regazzoni?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("grid") FROM "classification" WHERE "driver"='clay regazzoni';
2-1122654-1
What is the average laps for the grid smaller than 21 for Renzo Zorzi?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "classification" WHERE "grid"<21 AND "driver"='renzo zorzi';
2-1122654-1
What is the average laps for Grid 9?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "classification" WHERE "grid"=9;
2-1122654-1
Name the constituted for labor and scullin ministry
CREATE TABLE "ministries" ( "order" real, "name" text, "party" text, "constituted" text, "concluded" text );
SELECT "constituted" FROM "ministries" WHERE "party"='labor' AND "name"='scullin ministry';
2-1193159-1
What location is the tournament with a 1st Prize larger than $202,500, and a Score of 274 (-14)?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );
SELECT "location" FROM "tournament_results" WHERE "1st_prize">'202,500' AND "score"='274 (-14)';
2-11603398-1