question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which song was sung by Artist Luther Vandross in the Week Top 20?
CREATE TABLE "list_of_performances_on" ( "week" text, "theme" text, "song_sung" text, "artist" text, "status" text );
SELECT "song_sung" FROM "list_of_performances_on" WHERE "artist"='luther vandross' AND "week"='top 20';
2-1792668-1
Which Artist has a Week of Top 12?
CREATE TABLE "list_of_performances_on" ( "week" text, "theme" text, "song_sung" text, "artist" text, "status" text );
SELECT "artist" FROM "list_of_performances_on" WHERE "week"='top 12';
2-1792668-1
What Status does Freddie Jackson have?
CREATE TABLE "list_of_performances_on" ( "week" text, "theme" text, "song_sung" text, "artist" text, "status" text );
SELECT "status" FROM "list_of_performances_on" WHERE "artist"='freddie jackson';
2-1792668-1
Which Song Sung has a Status of Eliminated?
CREATE TABLE "list_of_performances_on" ( "week" text, "theme" text, "song_sung" text, "artist" text, "status" text );
SELECT "song_sung" FROM "list_of_performances_on" WHERE "status"='eliminated';
2-1792668-1
What is the place of the player with a 71-69-66=206 score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "score"='71-69-66=206';
2-18113463-6
What is the place of the player with a 71-66-64=201 score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "third_round" WHERE "score"='71-66-64=201';
2-18113463-6
What is the to par of player peter senior?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "player"='peter senior';
2-18113463-6
What is Finalist, when Year is "2008"?
CREATE TABLE "prize_list" ( "year" real, "champion" text, "finalist" text, "score" text, "place" text );
SELECT "finalist" FROM "prize_list" WHERE "year"=2008;
2-1810878-1
What is Place, when Year is greater than 2006, and when Champion is "Asvel"?
CREATE TABLE "prize_list" ( "year" real, "champion" text, "finalist" text, "score" text, "place" text );
SELECT "place" FROM "prize_list" WHERE "year">2006 AND "champion"='asvel';
2-1810878-1
What is Champion, when Year is greater than 2007, and when Finalist is "Asvel"?
CREATE TABLE "prize_list" ( "year" real, "champion" text, "finalist" text, "score" text, "place" text );
SELECT "champion" FROM "prize_list" WHERE "year">2007 AND "finalist"='asvel';
2-1810878-1
What is Election, when 2nd Party is "Constituency Abolished"?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "1st_party" text, "second_member" text, "2nd_party" text );
SELECT "election" FROM "m_ps_1832_1885" WHERE "2nd_party"='constituency abolished';
2-1809923-1
What is 2nd Party, when Election is "1865"?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "1st_party" text, "second_member" text, "2nd_party" text );
SELECT "2nd_party" FROM "m_ps_1832_1885" WHERE "election"='1865';
2-1809923-1
What is Election, when 2nd Party is "Conservative", and when First Member is "Edmund Antrobus"?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "1st_party" text, "second_member" text, "2nd_party" text );
SELECT "election" FROM "m_ps_1832_1885" WHERE "2nd_party"='conservative' AND "first_member"='edmund antrobus';
2-1809923-1
What is First Member, when Election is "1871 by-election"?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "1st_party" text, "second_member" text, "2nd_party" text );
SELECT "first_member" FROM "m_ps_1832_1885" WHERE "election"='1871 by-election';
2-1809923-1
What is 1st Party, when First Member is "Peter John Locke King", and when Second Member is "James Watney"?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "1st_party" text, "second_member" text, "2nd_party" text );
SELECT "1st_party" FROM "m_ps_1832_1885" WHERE "first_member"='peter john locke king' AND "second_member"='james watney';
2-1809923-1
What is Second Member, when Election is "1835"?
CREATE TABLE "m_ps_1832_1885" ( "election" text, "first_member" text, "1st_party" text, "second_member" text, "2nd_party" text );
SELECT "second_member" FROM "m_ps_1832_1885" WHERE "election"='1835';
2-1809923-1
How much Played has Goals Against of 45, and Goals For smaller than 65?
CREATE TABLE "second_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT SUM("played") FROM "second_division_final_table" WHERE "goals_against"=45 AND "goals_for"<65;
2-17718005-2
How many Goals Against have a Position of 4?
CREATE TABLE "second_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT COUNT("goals_against") FROM "second_division_final_table" WHERE "position"=4;
2-17718005-2
What is the highest total when bronze is less than 1 and gold more 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 "bronze"<1 AND "gold">0;
2-17674688-2
what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "medal_table" WHERE "rank"=5 AND "nation"='poland' AND "gold"<0;
2-17674688-2
what is the sum of silver when the rank is 3, nation is france and bronze is less than 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("silver") FROM "medal_table" WHERE "rank"=3 AND "nation"='france' AND "bronze"<0;
2-17674688-2
How many times is the nation china and bronze more than 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("rank") FROM "medal_table" WHERE "nation"='china' AND "bronze">0;
2-17674688-2
How many times is the rank higher than 3 and bronze more than 1?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("gold") FROM "medal_table" WHERE "rank">3 AND "bronze">1;
2-17674688-2
what is the least silver when bronze is 1, rank is less than 2 and gold is more than 4?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medal_table" WHERE "bronze"=1 AND "rank"<2 AND "gold">4;
2-17674688-2
What is the average value for Draws, when Against is "2177", and when Byes is less than 4?
CREATE TABLE "2008_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real );
SELECT AVG("draws") FROM "2008_ladder_and_finals" WHERE "against"=2177 AND "byes"<4;
2-17982145-2
What is the total number of Losses, when Wins is "16", and when Against is less than 772?
CREATE TABLE "2008_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real );
SELECT COUNT("losses") FROM "2008_ladder_and_finals" WHERE "wins"=16 AND "against"<772;
2-17982145-2
What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4?
CREATE TABLE "2008_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real );
SELECT MIN("draws") FROM "2008_ladder_and_finals" WHERE "losses"=0 AND "byes">4;
2-17982145-2
What is the highest value for Byes, when Wins is less than 16, when Benalla DFL is "Swanpool", and when Against is less than 2177?
CREATE TABLE "2008_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real );
SELECT MAX("byes") FROM "2008_ladder_and_finals" WHERE "wins"<16 AND "benalla_dfl"='swanpool' AND "against"<2177;
2-17982145-2
What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0?
CREATE TABLE "2008_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real );
SELECT MAX("byes") FROM "2008_ladder_and_finals" WHERE "against"<1794 AND "losses"=6 AND "draws"<0;
2-17982145-2
what is the teams for season 1950-51?
CREATE TABLE "1_fc_nuremberg_versus_sp_vgg_f_rth" ( "season" text, "league" text, "teams" text, "home" text, "away" text );
SELECT "teams" FROM "1_fc_nuremberg_versus_sp_vgg_f_rth" WHERE "season"='1950-51';
2-17918213-4
What is the league for season 1955-56?
CREATE TABLE "1_fc_nuremberg_versus_sp_vgg_f_rth" ( "season" text, "league" text, "teams" text, "home" text, "away" text );
SELECT "league" FROM "1_fc_nuremberg_versus_sp_vgg_f_rth" WHERE "season"='1955-56';
2-17918213-4
What is the drafted year when the FCSL Team was Winter Park, in the 4th round?
CREATE TABLE "florida_league_alumni_top_5_round_picks_" ( "player" text, "fcsl_team" text, "years_played" text, "year_drafted" real, "round" text, "mlb_team" text );
SELECT MAX("year_drafted") FROM "florida_league_alumni_top_5_round_picks_" WHERE "fcsl_team"='winter park' AND "round"='4th';
2-18373863-2
What is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round?
CREATE TABLE "florida_league_alumni_top_5_round_picks_" ( "player" text, "fcsl_team" text, "years_played" text, "year_drafted" real, "round" text, "mlb_team" text );
SELECT "fcsl_team" FROM "florida_league_alumni_top_5_round_picks_" WHERE "mlb_team"='toronto blue jays' AND "round"='4th';
2-18373863-2
What was John Fought's score?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_leaderboard" WHERE "player"='john fought';
2-18164207-3
What is the to par of the player from Argentina with a t8 place?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "to_par" FROM "final_round" WHERE "place"='t8' AND "country"='argentina';
2-18135501-6
How much money does the player with a 68-67-69-71=275 score have?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round" WHERE "score"='68-67-69-71=275';
2-18135501-6
What is the country of t1 place player wayne grady?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "country" FROM "final_round" WHERE "place"='t1' AND "player"='wayne grady';
2-18135501-6
How much money does the player with a 68-71-68-72=279 score have?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round" WHERE "score"='68-71-68-72=279';
2-18135501-6
How much money does the player with a 69-70-72-64=275 score have?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round" WHERE "score"='69-70-72-64=275';
2-18135501-6
What was the money when the place was t8 and the score was 74-72-75-71=292?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "money" FROM "final_leaderboard" WHERE "place"='t8' AND "score"='74-72-75-71=292';
2-18132874-4
What was the average money when the score was 74-72-75-71=292?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT AVG("money") FROM "final_leaderboard" WHERE "score"='74-72-75-71=292';
2-18132874-4
What was Tim Simpson's place?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_leaderboard" WHERE "player"='tim simpson';
2-18132874-4
What country placed 3?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_leaderboard" WHERE "place"='3';
2-18132874-4
What is the average Barrow Island Australia when Draugen north sea is 17 and Mutineer-Exeter Australia is smaller than 6?
CREATE TABLE "typical_heavy_naphtha_feedstocks" ( "crude_oil_name_rightarrow_location_rightarrow" text, "barrow_island_australia" real, "mutineer_exeter_australia" real, "cpc_blend_kazakhstan" real, "draugen_north_sea" real );
SELECT AVG("barrow_island_australia") FROM "typical_heavy_naphtha_feedstocks" WHERE "draugen_north_sea"=17 AND "mutineer_exeter_australia"<6;
2-1816156-1
What is the lowest Barrow Island Australia when the Crude oil name \Rightarrow Location \Rightarrow of initial boiling point, °c, and a draugen north sea is larger than 150?
CREATE TABLE "typical_heavy_naphtha_feedstocks" ( "crude_oil_name_rightarrow_location_rightarrow" text, "barrow_island_australia" real, "mutineer_exeter_australia" real, "cpc_blend_kazakhstan" real, "draugen_north_sea" real );
SELECT MIN("barrow_island_australia") FROM "typical_heavy_naphtha_feedstocks" WHERE "crude_oil_name_rightarrow_location_rightarrow"='initial boiling point, °c' AND "draugen_north_sea">150;
2-1816156-1
What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12?
CREATE TABLE "typical_heavy_naphtha_feedstocks" ( "crude_oil_name_rightarrow_location_rightarrow" text, "barrow_island_australia" real, "mutineer_exeter_australia" real, "cpc_blend_kazakhstan" real, "draugen_north_sea" real );
SELECT MAX("cpc_blend_kazakhstan") FROM "typical_heavy_naphtha_feedstocks" WHERE "barrow_island_australia"<12;
2-1816156-1
What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17?
CREATE TABLE "typical_heavy_naphtha_feedstocks" ( "crude_oil_name_rightarrow_location_rightarrow" text, "barrow_island_australia" real, "mutineer_exeter_australia" real, "cpc_blend_kazakhstan" real, "draugen_north_sea" real );
SELECT MIN("cpc_blend_kazakhstan") FROM "typical_heavy_naphtha_feedstocks" WHERE "draugen_north_sea"=17;
2-1816156-1
What race did eugenio silvani win?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "name" FROM "other_grands_prix" WHERE "winning_driver"='eugenio silvani';
2-18269311-2
Which race did Mercedes win?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "name" FROM "other_grands_prix" WHERE "winning_constructor"='mercedes';
2-18269311-2
Which circuit did alfa romeo win?
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "circuit" FROM "other_grands_prix" WHERE "winning_constructor"='alfa romeo';
2-18269311-2
What is the number range for the 56 quantity?
CREATE TABLE "passenger_train_locomotives" ( "class" text, "number_range" text, "quantity" text, "year_s_built" text, "type" text );
SELECT "number_range" FROM "passenger_train_locomotives" WHERE "quantity"='56';
2-17951246-2
Which team in 1987 had a start of 28 and drove a chrysler?
CREATE TABLE "daytona_500_results" ( "year" real, "manufacturer" text, "start" text, "finish" text, "team" text );
SELECT "team" FROM "daytona_500_results" WHERE "year"<1987 AND "manufacturer"='chrysler' AND "start"='28';
2-1779743-1
What is Party, when District is "Tennessee 8"?
CREATE TABLE "tennessee" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "party" FROM "tennessee" WHERE "district"='tennessee 8';
2-1805191-43
What is the total number of First Elected, when Party is "Democratic", and when District is "Tennessee 5"?
CREATE TABLE "tennessee" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT COUNT("first_elected") FROM "tennessee" WHERE "party"='democratic' AND "district"='tennessee 5';
2-1805191-43
What is the lowest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?
CREATE TABLE "tennessee" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT MIN("first_elected") FROM "tennessee" WHERE "results"='re-elected' AND "incumbent"='lincoln davis';
2-1805191-43
What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?
CREATE TABLE "tennessee" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT MAX("first_elected") FROM "tennessee" WHERE "results"='re-elected' AND "incumbent"='lincoln davis';
2-1805191-43
Which 2004 has a 2006 of 4,67, and a 2005 larger than 7,77?
CREATE TABLE "economics" ( "commercial_balance" text, "2003" real, "2004" real, "2005" real, "2006" real );
SELECT MIN("2004") FROM "economics" WHERE "2006"='4,67' AND "2005">'7,77';
2-17922506-1
How much 2005 has a 2006 larger than 4,67, and a 2004 of -14,76?
CREATE TABLE "economics" ( "commercial_balance" text, "2003" real, "2004" real, "2005" real, "2006" real );
SELECT COUNT("2005") FROM "economics" WHERE "2006">'4,67' AND "2004"='-14,76';
2-17922506-1
Which 2004 has a 2005 larger than -80,04, and a 2003 of 36,60?
CREATE TABLE "economics" ( "commercial_balance" text, "2003" real, "2004" real, "2005" real, "2006" real );
SELECT MAX("2004") FROM "economics" WHERE "2005">'-80,04' AND "2003"='36,60';
2-17922506-1
Which 2005 has a 2003 of -13,25, and a 2004 smaller than -8,37?
CREATE TABLE "economics" ( "commercial_balance" text, "2003" real, "2004" real, "2005" real, "2006" real );
SELECT MIN("2005") FROM "economics" WHERE "2003"='-13,25' AND "2004"<'-8,37';
2-17922506-1
What is the Status of the 44 Against?
CREATE TABLE "2008" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "status" FROM "2008" WHERE "against"=44;
2-18178551-9
What is the date of the 42 Against?
CREATE TABLE "2008" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "date" FROM "2008" WHERE "against"=42;
2-18178551-9
What is the total number for Seve Ballesteros?
CREATE TABLE "made_both_cuts" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT COUNT("total") FROM "made_both_cuts" WHERE "player"='seve ballesteros';
2-18169093-1
What is the lowest to par for Bob Charles?
CREATE TABLE "made_both_cuts" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT MIN("to_par") FROM "made_both_cuts" WHERE "player"='bob charles';
2-18169093-1
Who is born on 1982-01-29?
CREATE TABLE "serbia_and_montenegro" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );
SELECT "name" FROM "serbia_and_montenegro" WHERE "date_of_birth"='1982-01-29';
2-17759945-11
What is the position played by the man born on 1976-09-20?
CREATE TABLE "serbia_and_montenegro" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );
SELECT "pos" FROM "serbia_and_montenegro" WHERE "date_of_birth"='1976-09-20';
2-17759945-11
What country was the golfer with a score of 72-72-72=216 representing?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT "country" FROM "third_round" WHERE "score"='72-72-72=216';
2-18007222-5
Which Division Two team were champions as the same time the Premier Division Leominster town team were champs?
CREATE TABLE "recent_divisional_champions" ( "season" text, "premier_division" text, "division_one" text, "division_two" text, "division_three" text );
SELECT "division_two" FROM "recent_divisional_champions" WHERE "premier_division"='leominster town';
2-17951218-1
Which Season was the Division Three Hampton Park Rangers champions?
CREATE TABLE "recent_divisional_champions" ( "season" text, "premier_division" text, "division_one" text, "division_two" text, "division_three" text );
SELECT "season" FROM "recent_divisional_champions" WHERE "division_three"='hampton park rangers';
2-17951218-1
Which Season was the Division Two Fownhope Reserves champions?
CREATE TABLE "recent_divisional_champions" ( "season" text, "premier_division" text, "division_one" text, "division_two" text, "division_three" text );
SELECT "season" FROM "recent_divisional_champions" WHERE "division_two"='fownhope reserves';
2-17951218-1
What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs?
CREATE TABLE "recent_divisional_champions" ( "season" text, "premier_division" text, "division_one" text, "division_two" text, "division_three" text );
SELECT "division_one" FROM "recent_divisional_champions" WHERE "division_two"='hereford lads club colts';
2-17951218-1
Which year were both the Premier Division Ewyas Harold and Division Three Stoke Prior champions?
CREATE TABLE "recent_divisional_champions" ( "season" text, "premier_division" text, "division_one" text, "division_two" text, "division_three" text );
SELECT "season" FROM "recent_divisional_champions" WHERE "premier_division"='ewyas harold' AND "division_three"='stoke prior';
2-17951218-1
What engine has an output of ps (kw; hp) @4700 rpm?
CREATE TABLE "engines" ( "name" text, "volume" text, "engine" text, "fuel" text, "output" text, "torque" text, "engine_id_code_s" text, "0_100km_h_s" real, "top_speed" text, "years" text );
SELECT "engine" FROM "engines" WHERE "output"='ps (kw; hp) @4700 rpm';
2-17941111-1
What is the output of the engine AEX/APQ that uses petrol?
CREATE TABLE "engines" ( "name" text, "volume" text, "engine" text, "fuel" text, "output" text, "torque" text, "engine_id_code_s" text, "0_100km_h_s" real, "top_speed" text, "years" text );
SELECT "output" FROM "engines" WHERE "fuel"='petrol' AND "engine_id_code_s"='aex/apq';
2-17941111-1
What is the 0–100km/h,s for the output of ps (kw; hp) @4000 rpm?
CREATE TABLE "engines" ( "name" text, "volume" text, "engine" text, "fuel" text, "output" text, "torque" text, "engine_id_code_s" text, "0_100km_h_s" real, "top_speed" text, "years" text );
SELECT COUNT("0_100km_h_s") FROM "engines" WHERE "output"='ps (kw; hp) @4000 rpm';
2-17941111-1
Who were the opposing teams on 08/02/1969?
CREATE TABLE "1969" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "opposing_teams" FROM "1969" WHERE "date"='08/02/1969';
2-18179114-10
What is the highest number against on 12/04/1969?
CREATE TABLE "1969" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT MAX("against") FROM "1969" WHERE "date"='12/04/1969';
2-18179114-10
What is the venue of the match with more than 8 against and ireland as the opposing team?
CREATE TABLE "1969" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "1969" WHERE "against">8 AND "opposing_teams"='ireland';
2-18179114-10
which Place has a Player of mark brooks?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "player"='mark brooks';
2-18103106-5
Which Place has a Player of justin leonard?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "player"='justin leonard';
2-18103106-5
Name the Place which has a Score of 67-71=138, united states?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "country"='united states' AND "score"='67-71=138';
2-18103106-5
Name the Player which has a To par of –6?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "to_par"='–6';
2-18103106-5
What was their record on week 11?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );
SELECT "record" FROM "schedule" WHERE "week"=11;
2-17848578-1
Who did they play at Atlanta-Fulton County Stadium?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "game_site"='atlanta-fulton county stadium';
2-17848578-1
What was their record when they played at Riverfront Stadium?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real );
SELECT "record" FROM "schedule" WHERE "game_site"='riverfront stadium';
2-17848578-1
What is Another She's Label?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text );
SELECT "label" FROM "studio_albums" WHERE "english_title"='another she';
2-18168296-1
What is 你 朋友's Label?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text );
SELECT "label" FROM "studio_albums" WHERE "chinese_simplified"='你 朋友';
2-18168296-1
What Label was Released on December 7, 2012?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text );
SELECT "label" FROM "studio_albums" WHERE "release_date"='december 7, 2012';
2-18168296-1
What is 你 朋友's English title?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text );
SELECT "english_title" FROM "studio_albums" WHERE "chinese_simplified"='你 朋友';
2-18168296-1
What is the Release date of the Album Your Friend?
CREATE TABLE "studio_albums" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text );
SELECT "release_date" FROM "studio_albums" WHERE "english_title"='your friend';
2-18168296-1
What was the runner-up when champion is 0, 4th place is 0 and rank is 6?
CREATE TABLE "women" ( "rank" real, "champion" text, "runner_up" text, "third_place" text, "fourth_place" text, "total" real );
SELECT "runner_up" FROM "women" WHERE "champion"='0' AND "fourth_place"='0' AND "rank"=6;
2-18057725-2
What is the runner-up for rank of 7?
CREATE TABLE "women" ( "rank" real, "champion" text, "runner_up" text, "third_place" text, "fourth_place" text, "total" real );
SELECT "runner_up" FROM "women" WHERE "rank"=7;
2-18057725-2
What is the runner-up when the total is 5?
CREATE TABLE "women" ( "rank" real, "champion" text, "runner_up" text, "third_place" text, "fourth_place" text, "total" real );
SELECT "runner_up" FROM "women" WHERE "total"=5;
2-18057725-2
What was the score of team 2 Stade Lavallois (D1)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "score" FROM "round_of_16" WHERE "team_2"='stade lavallois (d1)';
2-17786294-1
What is the CC displacement for 1965?
CREATE TABLE "racing_vehicles" ( "model" text, "year" text, "type" text, "engine" text, "displacement_cc" text );
SELECT "displacement_cc" FROM "racing_vehicles" WHERE "year"='1965';
2-1810336-2
What year was the Grand Prix with an i8 engine and a cc displacement of 1500?
CREATE TABLE "racing_vehicles" ( "model" text, "year" text, "type" text, "engine" text, "displacement_cc" text );
SELECT "year" FROM "racing_vehicles" WHERE "type"='grand prix' AND "engine"='i8' AND "displacement_cc"='1500';
2-1810336-2
What type of car has the model 6cm?
CREATE TABLE "racing_vehicles" ( "model" text, "year" text, "type" text, "engine" text, "displacement_cc" text );
SELECT "type" FROM "racing_vehicles" WHERE "model"='6cm';
2-1810336-2
What cc displacement has an i6 engine in 1936?
CREATE TABLE "racing_vehicles" ( "model" text, "year" text, "type" text, "engine" text, "displacement_cc" text );
SELECT "displacement_cc" FROM "racing_vehicles" WHERE "engine"='i6' AND "year"='1936';
2-1810336-2
What type of car has the v16 engine?
CREATE TABLE "racing_vehicles" ( "model" text, "year" text, "type" text, "engine" text, "displacement_cc" text );
SELECT "type" FROM "racing_vehicles" WHERE "engine"='v16';
2-1810336-2
What is the total number of years won by Justin Leonard with a to par under 9?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" real, "total" real, "to_par" real );
SELECT COUNT("year_s_won") FROM "missed_the_cut" WHERE "player"='justin leonard' AND "to_par"<9;
2-17991748-3