question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What was the signed year for the Chinese name 蘇永康 who separated in 1987?
CREATE TABLE "list_of_male_capital_artists_singers" ( "english_name" text, "chinese_name" text, "year_signed" real, "year_separated" text, "reason_for_separation" text );
SELECT "year_signed" FROM "list_of_male_capital_artists_singers" WHERE "year_separated"='1987' AND "chinese_name"='蘇永康';
2-18316619-1
WHAT IS THE SITE ON OCTOBER 7?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "site" FROM "schedule" WHERE "date"='october 7';
2-17814506-1
WHAT DATE HAD 6 RANK?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "rank_num"='6';
2-17814506-1
WHAT OPPONENT WAS ON OCTOBER 7?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "opponentnum" FROM "schedule" WHERE "date"='october 7';
2-17814506-1
WHAT RANK HAD A RESULT OF W13-3?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "rank_num" FROM "schedule" WHERE "result"='w13-3';
2-17814506-1
What is the original NFL team of the College of Oregon DT Player?
CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text );
SELECT "original_nfl_team" FROM "notable_undrafted_players" WHERE "college"='oregon' AND "pos"='dt';
2-17706792-13
What Player is from Iowa State?
CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text );
SELECT "player" FROM "notable_undrafted_players" WHERE "college"='iowa state';
2-17706792-13
What was the result of the game that had 77,702 people in attendance?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "attendance"='77,702';
2-17993956-1
On what day did the team play the Indianapolis Colts?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "opponent"='indianapolis colts';
2-17993956-1
What is the average Played, when Goals Against is less than 63, when Team is "Nelson", and when Lost is greater than 16?
CREATE TABLE "third_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 AVG("played") FROM "third_division_final_table" WHERE "goals_against"<63 AND "team"='nelson' AND "lost">16;
2-17718005-3
What is the total number of Goals For, when Points 1 is "41"?
CREATE TABLE "third_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_for") FROM "third_division_final_table" WHERE "points_1"='41';
2-17718005-3
What is the lowest Position, when Lost is greater than 15, when Team is Cheadle Town, and when Drawn is greater than 8?
CREATE TABLE "third_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 MIN("position") FROM "third_division_final_table" WHERE "lost">15 AND "team"='cheadle town' AND "drawn">8;
2-17718005-3
What is the lowest Position, when Points 1 is "39", and when Goals Against is greater than 49?
CREATE TABLE "third_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 MIN("position") FROM "third_division_final_table" WHERE "points_1"='39' AND "goals_against">49;
2-17718005-3
WHAT SEASON HAD COACH JONAS KAZLAUSKAS AT champions cup group stage?
CREATE TABLE "season_by_season" ( "season" text, "lkf_cup" text, "regional_competitions" text, "europe" text, "head_coach" text );
SELECT "season" FROM "season_by_season" WHERE "head_coach"='jonas kazlauskas' AND "europe"='champions cup group stage';
2-1771141-1
WHAT IS THE LKF CUP WITH euroleague group stage AND bbl elite division finalist?
CREATE TABLE "season_by_season" ( "season" text, "lkf_cup" text, "regional_competitions" text, "europe" text, "head_coach" text );
SELECT "lkf_cup" FROM "season_by_season" WHERE "europe"='euroleague group stage' AND "regional_competitions"='bbl elite division finalist';
2-1771141-1
WHAT IS THE ERUPE WITH HEAD COACH vainauskas , sakalauskas AND WITH NEBL FINALIST?
CREATE TABLE "season_by_season" ( "season" text, "lkf_cup" text, "regional_competitions" text, "europe" text, "head_coach" text );
SELECT "europe" FROM "season_by_season" WHERE "head_coach"='vainauskas , sakalauskas' AND "regional_competitions"='nebl finalist';
2-1771141-1
What is the American sound that has a 17th century equivalent of ɪ, and a Semi-closed initial unstressed vowels of i /ɪ, ɨ/?
CREATE TABLE "initial_unstressed_syllables" ( "semi_closed_initial_unstressed_vowels" text, "17th_c" text, "american" text, "australian" text, "examples" text );
SELECT "american" FROM "initial_unstressed_syllables" WHERE "17th_c"='ɪ' AND "semi_closed_initial_unstressed_vowels"='i /ɪ, ɨ/';
2-17798093-13
What is the American sound that has a 17th century equivalent of ɔ?
CREATE TABLE "initial_unstressed_syllables" ( "semi_closed_initial_unstressed_vowels" text, "17th_c" text, "american" text, "australian" text, "examples" text );
SELECT "american" FROM "initial_unstressed_syllables" WHERE "17th_c"='ɔ';
2-17798093-13
What is the entry for the Australian sound that has an example of illyria, cf. cirrhosis?
CREATE TABLE "initial_unstressed_syllables" ( "semi_closed_initial_unstressed_vowels" text, "17th_c" text, "american" text, "australian" text, "examples" text );
SELECT "australian" FROM "initial_unstressed_syllables" WHERE "examples"='illyria, cf. cirrhosis';
2-17798093-13
For the 17th century entry of ɐ, what is Semi-closed initial unstressed vowels?
CREATE TABLE "initial_unstressed_syllables" ( "semi_closed_initial_unstressed_vowels" text, "17th_c" text, "american" text, "australian" text, "examples" text );
SELECT "semi_closed_initial_unstressed_vowels" FROM "initial_unstressed_syllables" WHERE "17th_c"='ɐ';
2-17798093-13
What is the entry for the Australian sound that has a 17th century equivalent of ɐ?
CREATE TABLE "initial_unstressed_syllables" ( "semi_closed_initial_unstressed_vowels" text, "17th_c" text, "american" text, "australian" text, "examples" text );
SELECT "australian" FROM "initial_unstressed_syllables" WHERE "17th_c"='ɐ';
2-17798093-13
What is the example for the American of ɪ, ə, and a Semi-closed initial unstressed vowels of y /ɨ/?
CREATE TABLE "initial_unstressed_syllables" ( "semi_closed_initial_unstressed_vowels" text, "17th_c" text, "american" text, "australian" text, "examples" text );
SELECT "examples" FROM "initial_unstressed_syllables" WHERE "american"='ɪ, ə' AND "semi_closed_initial_unstressed_vowels"='y /ɨ/';
2-17798093-13
What field is an opponent of cannons and resulted with w 16-11?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "home_away" text, "field" text, "result" text );
SELECT "field" FROM "schedule" WHERE "opponent"='cannons' AND "result"='w 16-11';
2-18116723-1
what is the result from texas stadium?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "home_away" text, "field" text, "result" text );
SELECT "result" FROM "schedule" WHERE "field"='texas stadium';
2-18116723-1
What field resulted with w 18-12?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "home_away" text, "field" text, "result" text );
SELECT "field" FROM "schedule" WHERE "result"='w 18-12';
2-18116723-1
What field had results of w 18-12?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "home_away" text, "field" text, "result" text );
SELECT "field" FROM "schedule" WHERE "result"='w 18-12';
2-18116723-1
WHAT ARE THE HIGHEST POINTS WITH GOALS LARGER THAN 48, WINS LESS THAN 19, GOALS AGAINST SMALLER THAN 44, DRAWS LARGER THAN 5?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MAX("points") FROM "group_i" WHERE "goals_for">48 AND "wins"<19 AND "goals_against"<44 AND "draws">5;
2-17740819-2
WHAT ARE THE TOTAL NUMBER OF POINTS WITH WINS SMALLER THAN 14, AT SD INDAUCHU, POSITION BIGGER THAN 12?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("points") FROM "group_i" WHERE "wins"<14 AND "club"='sd indauchu' AND "position">12;
2-17740819-2
WHAT ARE THE GOALS WITH DRAWS SMALLER THAN 6, AND LOSSES SMALLER THAN 7?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT AVG("goals_for") FROM "group_i" WHERE "draws"<6 AND "losses"<7;
2-17740819-2
How many 2010s have a 2007 greater than 4.6, and 8.2 as a 2006?
CREATE TABLE "table_showing_viewing_share_of_individua" ( "2006" real, "2007" real, "2008" real, "2009" real, "2010" real );
SELECT COUNT("2010") FROM "table_showing_viewing_share_of_individua" WHERE "2007">4.6 AND "2006"=8.2;
2-182410-9
What 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2007?
CREATE TABLE "table_showing_viewing_share_of_individua" ( "2006" real, "2007" real, "2008" real, "2009" real, "2010" real );
SELECT "2010" FROM "table_showing_viewing_share_of_individua" WHERE "2006"<6.9 AND "2008">1.6 AND "2007"=2;
2-182410-9
How many 2008s have 6.9 as a 2006, with a 2007 less than 7.1?
CREATE TABLE "table_showing_viewing_share_of_individua" ( "2006" real, "2007" real, "2008" real, "2009" real, "2010" real );
SELECT COUNT("2008") FROM "table_showing_viewing_share_of_individua" WHERE "2006"=6.9 AND "2007"<7.1;
2-182410-9
What is the highest 2010 that has a 2009 less than 6.5, 0.4 as the 2008, with a 2007 less than 0.5?
CREATE TABLE "table_showing_viewing_share_of_individua" ( "2006" real, "2007" real, "2008" real, "2009" real, "2010" real );
SELECT MAX("2010") FROM "table_showing_viewing_share_of_individua" WHERE "2009"<6.5 AND "2008"=0.4 AND "2007"<0.5;
2-182410-9
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
CREATE TABLE "table_showing_viewing_share_of_individua" ( "2006" real, "2007" real, "2008" real, "2009" real, "2010" real );
SELECT SUM("2007") FROM "table_showing_viewing_share_of_individua" WHERE "2006"=0.2 AND "2010"<0.1;
2-182410-9
What Tournament has an Outcome of runner-up, and a Score of 4–6, 3–6?
CREATE TABLE "singles_8_4_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_8_4_4" WHERE "outcome"='runner-up' AND "score"='4–6, 3–6';
2-18183850-8
What Surface has a Date of 1 september 2008?
CREATE TABLE "singles_8_4_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_8_4_4" WHERE "date"='1 september 2008';
2-18183850-8
What Score has an Opponent of nina bratchikova?
CREATE TABLE "singles_8_4_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "score" FROM "singles_8_4_4" WHERE "opponent"='nina bratchikova';
2-18183850-8
What Surface has a Tournament of pune, india?
CREATE TABLE "singles_8_4_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_8_4_4" WHERE "tournament"='pune, india';
2-18183850-8
What Tournament has a Date of 20 december 2010?
CREATE TABLE "singles_8_4_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_8_4_4" WHERE "date"='20 december 2010';
2-18183850-8
What Tournament has a Score of 5–7, 2–6?
CREATE TABLE "singles_8_4_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_8_4_4" WHERE "score"='5–7, 2–6';
2-18183850-8
Which Place has a Score of 71-70=141?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "score"='71-70=141';
2-18060467-5
Which Country has a Score of 69-66=135?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "score"='69-66=135';
2-18060467-5
Which Country has a To par of –9?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "second_round" WHERE "to_par"='–9';
2-18060467-5
Which To par has a Country of united states, and a Score of 71-70=141?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "score"='71-70=141';
2-18060467-5
Which Player has a To par of –5, and a Country of england?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "to_par"='–5' AND "country"='england';
2-18060467-5
Which Category has an Award of monte carlo tv festival awards, and a Year larger than 2010?
CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "role" text, "result" text );
SELECT "category" FROM "awards" WHERE "award"='monte carlo tv festival awards' AND "year">2010;
2-17973650-5
How many years have a Result of nominated?
CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "role" text, "result" text );
SELECT COUNT("year") FROM "awards" WHERE "result"='nominated';
2-17973650-5
Which Result has a Category of outstanding actor (drama)?
CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "role" text, "result" text );
SELECT "result" FROM "awards" WHERE "category"='outstanding actor (drama)';
2-17973650-5
Which Result has an Award of virgin media tv awards?
CREATE TABLE "awards" ( "year" real, "award" text, "category" text, "role" text, "result" text );
SELECT "result" FROM "awards" WHERE "award"='virgin media tv awards';
2-17973650-5
What is the prize money for the second round qualifying that is listed?
CREATE TABLE "calendar" ( "round" text, "date" text, "fixtures" real, "clubs" text, "new_entries_this_round" text, "prize_money" text, "player_of_the_round" text );
SELECT "prize_money" FROM "calendar" WHERE "round"='second round qualifying';
2-18054397-1
How many years have runner-up as the outcome, and indian wells as the championship?
CREATE TABLE "singles_7_2_5" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text );
SELECT SUM("year") FROM "singles_7_2_5" WHERE "outcome"='runner-up' AND "championship"='indian wells';
2-17915-12
What score has 2000 as the year?
CREATE TABLE "singles_7_2_5" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text );
SELECT "score" FROM "singles_7_2_5" WHERE "year"=2000;
2-17915-12
What surface has indian wells as the championship, with winner as the outcome?
CREATE TABLE "singles_7_2_5" ( "outcome" text, "year" real, "championship" text, "surface" text, "opponent" text, "score" text );
SELECT "surface" FROM "singles_7_2_5" WHERE "championship"='indian wells' AND "outcome"='winner';
2-17915-12
Which average money has a To par larger than 12?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT AVG("money") FROM "final_leaderboard" WHERE "to_par">12;
2-18007202-1
Which Country has a To par smaller than 6, and a Money ($) larger than 700, and a Score of 69-73-70-71=283?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT "country" FROM "final_leaderboard" WHERE "to_par"<6 AND "money">700 AND "score"='69-73-70-71=283';
2-18007202-1
Which average money has a Place of t10, and a Player of denny shute, and a To par larger than 12?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT AVG("money") FROM "final_leaderboard" WHERE "place"='t10' AND "player"='denny shute' AND "to_par">12;
2-18007202-1
Which Country has a Money ($) of 0, and a Place of t10?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT "country" FROM "final_leaderboard" WHERE "money"=0 AND "place"='t10';
2-18007202-1
What is the highest FLap by a Honda NSR500 bike after Race 16?
CREATE TABLE "by_season" ( "season" text, "class" text, "bike" text, "team" text, "race" real, "pole" real, "f_lap" real );
SELECT MAX("f_lap") FROM "by_season" WHERE "bike"='honda nsr500' AND "race">16;
2-180306-1
Which Fate has a Tonnage (GRT) larger than 1,352, and a Name of lavington court?
CREATE TABLE "raiding_history" ( "date" text, "name" text, "nationality" text, "tonnage_grt" real, "fate" text );
SELECT "fate" FROM "raiding_history" WHERE "tonnage_grt">'1,352' AND "name"='lavington court';
2-17880868-1
How much tonnage Tonnage (GRT) has a Nationality of united kingdom, and a Date of 27 june 1941?
CREATE TABLE "raiding_history" ( "date" text, "name" text, "nationality" text, "tonnage_grt" real, "fate" text );
SELECT COUNT("tonnage_grt") FROM "raiding_history" WHERE "nationality"='united kingdom' AND "date"='27 june 1941';
2-17880868-1
Which Nationality has a Date of 8 may 1942?
CREATE TABLE "raiding_history" ( "date" text, "name" text, "nationality" text, "tonnage_grt" real, "fate" text );
SELECT "nationality" FROM "raiding_history" WHERE "date"='8 may 1942';
2-17880868-1
What is Canada's highest round before 1973?
CREATE TABLE "wha" ( "draft" real, "round" real, "pick" real, "player" text, "nationality" text );
SELECT MAX("round") FROM "wha" WHERE "nationality"='canada' AND "draft"<1973;
2-18278177-3
What year was The Saber nominated for best action?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "title_of_work" text, "result" text );
SELECT AVG("year") FROM "awards_and_nominations" WHERE "title_of_work"='saber' AND "category"='best action';
2-18361366-5
What was awarded before 2013 to the Saber in the category of Best Action?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "title_of_work" text, "result" text );
SELECT "award" FROM "awards_and_nominations" WHERE "year"<2013 AND "title_of_work"='saber' AND "category"='best action';
2-18361366-5
What date had the patent number US plant patent 12098?
CREATE TABLE "mutant_cultivars" ( "date" text, "inventor" text, "marketed_as" text, "mutated_from" text, "assignee" text, "habit" text, "pattern" text, "earlier" text, "color" text, "plant_patent_number" text );
SELECT "date" FROM "mutant_cultivars" WHERE "plant_patent_number"='us plant patent 12098';
2-1765204-1
What's the mutated having a patent number of US plant patent 9645?
CREATE TABLE "mutant_cultivars" ( "date" text, "inventor" text, "marketed_as" text, "mutated_from" text, "assignee" text, "habit" text, "pattern" text, "earlier" text, "color" text, "plant_patent_number" text );
SELECT "mutated_from" FROM "mutant_cultivars" WHERE "plant_patent_number"='us plant patent 9645';
2-1765204-1
What's the patent number when it was mutated from Yakata 7001 and a standard habit?
CREATE TABLE "mutant_cultivars" ( "date" text, "inventor" text, "marketed_as" text, "mutated_from" text, "assignee" text, "habit" text, "pattern" text, "earlier" text, "color" text, "plant_patent_number" text );
SELECT "plant_patent_number" FROM "mutant_cultivars" WHERE "habit"='standard' AND "mutated_from"='yakata 7001';
2-1765204-1
What's the patent number of Fukuda?
CREATE TABLE "mutant_cultivars" ( "date" text, "inventor" text, "marketed_as" text, "mutated_from" text, "assignee" text, "habit" text, "pattern" text, "earlier" text, "color" text, "plant_patent_number" text );
SELECT "plant_patent_number" FROM "mutant_cultivars" WHERE "inventor"='fukuda';
2-1765204-1
Who's the inventor when it was mutated from Redsport Type 2, has a stripe pattern and a spur habit?
CREATE TABLE "mutant_cultivars" ( "date" text, "inventor" text, "marketed_as" text, "mutated_from" text, "assignee" text, "habit" text, "pattern" text, "earlier" text, "color" text, "plant_patent_number" text );
SELECT "inventor" FROM "mutant_cultivars" WHERE "habit"='spur' AND "pattern"='stripe' AND "mutated_from"='redsport type 2';
2-1765204-1
What's the mutated of Auvil?
CREATE TABLE "mutant_cultivars" ( "date" text, "inventor" text, "marketed_as" text, "mutated_from" text, "assignee" text, "habit" text, "pattern" text, "earlier" text, "color" text, "plant_patent_number" text );
SELECT "mutated_from" FROM "mutant_cultivars" WHERE "assignee"='auvil';
2-1765204-1
Which model has a top speed of 231km/h (143mph)?
CREATE TABLE "models_and_specifications" ( "model" text, "years" text, "engine" text, "power" text, "0_100km_h_62mph" text, "top_speed" text );
SELECT "model" FROM "models_and_specifications" WHERE "top_speed"='231km/h (143mph)';
2-1775497-1
How fast can the SLK200K, with a top speed of 236km/h (147mph), accelerate to 100km/h (62mph)?
CREATE TABLE "models_and_specifications" ( "model" text, "years" text, "engine" text, "power" text, "0_100km_h_62mph" text, "top_speed" text );
SELECT "0_100km_h_62mph" FROM "models_and_specifications" WHERE "model"='slk200k' AND "top_speed"='236km/h (147mph)';
2-1775497-1
What is the 0–100km/h (62mph) acceleration of the model with a top speed of 208km/h (129mph)?
CREATE TABLE "models_and_specifications" ( "model" text, "years" text, "engine" text, "power" text, "0_100km_h_62mph" text, "top_speed" text );
SELECT "0_100km_h_62mph" FROM "models_and_specifications" WHERE "top_speed"='208km/h (129mph)';
2-1775497-1
What is the top speed of the SLK200K that produces 122kw (163hp)?
CREATE TABLE "models_and_specifications" ( "model" text, "years" text, "engine" text, "power" text, "0_100km_h_62mph" text, "top_speed" text );
SELECT "top_speed" FROM "models_and_specifications" WHERE "model"='slk200k' AND "power"='122kw (163hp)';
2-1775497-1
What is the Latin term for the Greek symbol μ?
CREATE TABLE "possible_correspondences_between_proto_s" ( "phoen_value" text, "phoen_name" text, "hebrew" text, "greek" text, "latin" text, "cyrillic" text, "arabic" text );
SELECT "latin" FROM "possible_correspondences_between_proto_s" WHERE "greek"='μ';
2-1818955-1
Which role had a closing broadway cast of Adam Grupper?
CREATE TABLE "casts" ( "role" text, "original_broadway_cast" text, "closing_broadway_cast" text, "original_us_tour_cast" text, "original_non_equity_tour_cast" text, "original_s_o_paulo_cast" text, "original_lima_cast" text );
SELECT "role" FROM "casts" WHERE "closing_broadway_cast"='adam grupper';
2-18169845-1
What was the original US Tour cast when the original broadway was Kevin Chamberlin?
CREATE TABLE "casts" ( "role" text, "original_broadway_cast" text, "closing_broadway_cast" text, "original_us_tour_cast" text, "original_non_equity_tour_cast" text, "original_s_o_paulo_cast" text, "original_lima_cast" text );
SELECT "original_us_tour_cast" FROM "casts" WHERE "original_broadway_cast"='kevin chamberlin';
2-18169845-1
What was the original nonequity tour when the original broadway was Kevin Chamberlin?
CREATE TABLE "casts" ( "role" text, "original_broadway_cast" text, "closing_broadway_cast" text, "original_us_tour_cast" text, "original_non_equity_tour_cast" text, "original_s_o_paulo_cast" text, "original_lima_cast" text );
SELECT "original_non_equity_tour_cast" FROM "casts" WHERE "original_broadway_cast"='kevin chamberlin';
2-18169845-1
What was the role when the original broadway was Adam Riegler?
CREATE TABLE "casts" ( "role" text, "original_broadway_cast" text, "closing_broadway_cast" text, "original_us_tour_cast" text, "original_non_equity_tour_cast" text, "original_s_o_paulo_cast" text, "original_lima_cast" text );
SELECT "role" FROM "casts" WHERE "original_broadway_cast"='adam riegler';
2-18169845-1
What is the number for the international with 669 domestic earlier than 2005?
CREATE TABLE "annual_passenger_statistics_for_enonteki" ( "year" real, "domestic" real, "international" real, "total" real, "change" text );
SELECT AVG("international") FROM "annual_passenger_statistics_for_enonteki" WHERE "domestic"=669 AND "year"<2005;
2-17673820-2
What year was the international lower than 17,517 and domestic was less than 545?
CREATE TABLE "annual_passenger_statistics_for_enonteki" ( "year" real, "domestic" real, "international" real, "total" real, "change" text );
SELECT AVG("year") FROM "annual_passenger_statistics_for_enonteki" WHERE "international"<'17,517' AND "domestic"<545;
2-17673820-2
What was the score on 14 march 2004?
CREATE TABLE "league_cup" ( "season" text, "date" text, "winners" text, "finalists" text, "score" text );
SELECT "score" FROM "league_cup" WHERE "date"='14 march 2004';
2-17747271-2
In what season was Kilmarnock a finalist and Hibernian the winner?
CREATE TABLE "league_cup" ( "season" text, "date" text, "winners" text, "finalists" text, "score" text );
SELECT "season" FROM "league_cup" WHERE "winners"='hibernian' AND "finalists"='kilmarnock';
2-17747271-2
Who were the finalists in the 1972–73 season?
CREATE TABLE "league_cup" ( "season" text, "date" text, "winners" text, "finalists" text, "score" text );
SELECT "finalists" FROM "league_cup" WHERE "season"='1972–73';
2-17747271-2
In which season did the Rangers win with a score of 2–1?
CREATE TABLE "league_cup" ( "season" text, "date" text, "winners" text, "finalists" text, "score" text );
SELECT "season" FROM "league_cup" WHERE "score"='2–1' AND "winners"='rangers';
2-17747271-2
When did Motherwell win?
CREATE TABLE "league_cup" ( "season" text, "date" text, "winners" text, "finalists" text, "score" text );
SELECT "date" FROM "league_cup" WHERE "winners"='motherwell';
2-17747271-2
What is the smallest rate of burglary when forcible rape is 39.1 and motor vehicle theft is less than 568.8?
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" ( "state" text, "city" text, "population" real, "violent_crime" text, "murder_and_non_negligent_manslaughter" real, "forcible_rape" text, "robbery" real, "aggravated_assault" real, "property_crime" text, "burglary" real, "larceny_theft" text, "motor_vehicle_theft" real );
SELECT MIN("burglary") FROM "2012_calendar_year_ratios_of_crime_per_1" WHERE "forcible_rape"='39.1' AND "motor_vehicle_theft"<568.8;
2-1818254-1
When population is greater than 832,901 and murder and non-negligent manslaughter is 11.6, what is the smallest burglary?
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" ( "state" text, "city" text, "population" real, "violent_crime" text, "murder_and_non_negligent_manslaughter" real, "forcible_rape" text, "robbery" real, "aggravated_assault" real, "property_crime" text, "burglary" real, "larceny_theft" text, "motor_vehicle_theft" real );
SELECT MIN("burglary") FROM "2012_calendar_year_ratios_of_crime_per_1" WHERE "population">'832,901' AND "murder_and_non_negligent_manslaughter"=11.6;
2-1818254-1
What is the total rate of murder and non-negligent manslaughter when larceny-theft is 3,693.9 and burglary is more than 1,027.0?
CREATE TABLE "2012_calendar_year_ratios_of_crime_per_1" ( "state" text, "city" text, "population" real, "violent_crime" text, "murder_and_non_negligent_manslaughter" real, "forcible_rape" text, "robbery" real, "aggravated_assault" real, "property_crime" text, "burglary" real, "larceny_theft" text, "motor_vehicle_theft" real );
SELECT SUM("murder_and_non_negligent_manslaughter") FROM "2012_calendar_year_ratios_of_crime_per_1" WHERE "larceny_theft"='3,693.9' AND "burglary">'1,027.0';
2-1818254-1
What is the name for district total:?
CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real );
SELECT "name" FROM "assembly_segments" WHERE "district"='total:';
2-18125853-1
What is the electorates in 2009 for Modi Nagar?
CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real );
SELECT AVG("number_of_electorates_2009") FROM "assembly_segments" WHERE "name"='modi nagar';
2-18125853-1
Who was the opponent on 12 May, when the match day was more than 33?
CREATE TABLE "scottish_premier_league" ( "match_day" real, "date" text, "opponent" text, "venue" text, "score" text, "attendance" real, "report" text );
SELECT "opponent" FROM "scottish_premier_league" WHERE "match_day">33 AND "date"='12 may';
2-18133581-2
What is the largest issue date for an album that reached position of 3?
CREATE TABLE "top_10_albums" ( "issue_date" real, "album_title" text, "artist" text, "sales" real, "highest_position" real );
SELECT MAX("issue_date") FROM "top_10_albums" WHERE "highest_position"=3;
2-1819662-4
What is the record on March 16?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='march 16';
2-18184278-2
What was the score on January 23?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='january 23';
2-18184278-2
How many strokes off par was the player who scored 157?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT COUNT("to_par") FROM "missed_the_cut" WHERE "total"=157;
2-18132874-3
Which player who won in 1977 and scored great than 155 was the closest to par?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT MAX("to_par") FROM "missed_the_cut" WHERE "year_s_won"='1977' AND "total">155;
2-18132874-3
What country was the player who was 11 off par from?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "country" FROM "missed_the_cut" WHERE "to_par"=11;
2-18132874-3
What was the Home team in Tie no 16?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "second_round_proper" WHERE "tie_no"='16';
2-17751811-2
What is the Date of Tie no 9?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "second_round_proper" WHERE "tie_no"='9';
2-17751811-2