question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Who is the player from United States who play in year 2003-06 in Toronto?
CREATE TABLE "r" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text );
SELECT "player" FROM "r" WHERE "nationality"='united states' AND "years_in_toronto"='2003-06';
2-10015132-16
Tell me the average units sold for square enix
CREATE TABLE "japan" ( "place" real, "title" text, "platform" text, "publisher" text, "units_sold" real );
SELECT AVG("units_sold") FROM "japan" WHERE "publisher"='square enix';
2-10060114-4
Tell me the date for nicolas pereira
CREATE TABLE "doubles_wins_30" ( "date" text, "tournament" text, "surface" text, "partnering" text, "opponent_in_the_final" text, "score" text );
SELECT "date" FROM "doubles_wins_30" WHERE "partnering"='nicolas pereira';
2-10250905-4
what is the date in 1986?
CREATE TABLE "1980s" ( "year" real, "competition" text, "date" text, "location" text, "score" text, "result" text );
SELECT "date" FROM "1980s" WHERE "year"=1986;
2-10153880-2
What is the average year for Ponce, Puerto Rico events?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );
SELECT AVG("year") FROM "achievements" WHERE "venue"='ponce, puerto rico';
2-10288720-1
What year did she place 8th in the junior race?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );
SELECT "year" FROM "achievements" WHERE "event"='junior race' AND "position"='8th';
2-10288720-1
Tell me the NHL team for ryan johnson
CREATE TABLE "round_two" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_two" WHERE "player"='ryan johnson';
2-1013129-2
Tell me the position for pick of 47
CREATE TABLE "round_two" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "position" FROM "round_two" WHERE "pick"='47';
2-1013129-2
Tell me the pick for pittsburgh penguins
CREATE TABLE "round_two" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "pick" FROM "round_two" WHERE "nhl_team"='pittsburgh penguins';
2-1013129-2
Tell me the nationality for rudolf vercik
CREATE TABLE "round_two" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nationality" FROM "round_two" WHERE "player"='rudolf vercik';
2-1013129-2
Tell me the player for nationality of canada for pick of 43
CREATE TABLE "round_two" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "player" FROM "round_two" WHERE "nationality"='canada' AND "pick"='43';
2-1013129-2
Tell me the college for jason holland
CREATE TABLE "round_two" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "college_junior_club_team" FROM "round_two" WHERE "player"='jason holland';
2-1013129-2
Tell me the date for rudolf caracciola for avusrennen
CREATE TABLE "non_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "date" FROM "non_championship_grands_prix" WHERE "winning_driver"='rudolf caracciola' AND "name"='avusrennen';
2-10061118-2
Tell me the circuit for 10 may for targa florio
CREATE TABLE "non_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "circuit" FROM "non_championship_grands_prix" WHERE "date"='10 may' AND "name"='targa florio';
2-10061118-2
What was the score of the Washington tournament?
CREATE TABLE "singles_36_14_22" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "score" FROM "singles_36_14_22" WHERE "tournament"='washington';
2-1028356-8
On what date was Patty Fendick an opponent?
CREATE TABLE "singles_36_14_22" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "singles_36_14_22" WHERE "opponent"='patty fendick';
2-1028356-8
What score does Vasil Levski National Stadium, Sofia earn?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "venue"='vasil levski national stadium, sofia';
2-1014073-1
What score did vasil levski national stadium, sofia, which was friendly during competition, earn?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "competition"='friendly' AND "venue"='vasil levski national stadium, sofia';
2-1014073-1
What is the nationality of the Washington Capitals?
CREATE TABLE "round_seven" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nationality" FROM "round_seven" WHERE "nhl_team"='washington capitals';
2-1013129-7
On what NHL team does Roman Vopat play for?
CREATE TABLE "round_seven" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "nhl_team" FROM "round_seven" WHERE "player"='roman vopat';
2-1013129-7
What is the position of the player from the Ukraine?
CREATE TABLE "round_seven" ( "pick" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text );
SELECT "position" FROM "round_seven" WHERE "nationality"='ukraine';
2-1013129-7
What Tournament did he place 12th in?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT "tournament" FROM "achievements" WHERE "result"='12th';
2-10265361-1
What was the first year he placed 12th
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT MIN("year") FROM "achievements" WHERE "result"='12th';
2-10265361-1
Tell me the circuit for alfa romeo swedish ice race
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' AND "name"='swedish ice race';
2-10302742-2
Tell me the date for bugatti fpr stanislas czaykowski
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "date" FROM "other_grands_prix" WHERE "winning_constructor"='bugatti' AND "winning_driver"='stanislas czaykowski';
2-10302742-2
Tell me the circuit for 20 august
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 "date"='20 august';
2-10302742-2
Tell me the winning driver for avusrennen
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "winning_driver" FROM "other_grands_prix" WHERE "name"='avusrennen';
2-10302742-2
Tell me the report for bugatti and brooklands
CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );
SELECT "report" FROM "other_grands_prix" WHERE "winning_constructor"='bugatti' AND "circuit"='brooklands';
2-10302742-2
How many years has there been a competition in Helsinki?
CREATE TABLE "1980_1989" ( "year" real, "competition" text, "date" text, "location" text, "score" text, "result" text );
SELECT COUNT("year") FROM "1980_1989" WHERE "location"='helsinki';
2-10154327-4
Which competition before 1982 had a score of 2:3?
CREATE TABLE "1980_1989" ( "year" real, "competition" text, "date" text, "location" text, "score" text, "result" text );
SELECT "competition" FROM "1980_1989" WHERE "year"<1982 AND "score"='2:3';
2-10154327-4
Which competition occurred after 1980 with a score of 0:5 in Jerusalem?
CREATE TABLE "1980_1989" ( "year" real, "competition" text, "date" text, "location" text, "score" text, "result" text );
SELECT "competition" FROM "1980_1989" WHERE "year">1980 AND "score"='0:5' AND "location"='jerusalem';
2-10154327-4
When was there an attendance of 51,342?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "attendance"='51,342';
2-10362190-3
What was the attendance during week 7?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "week"=7;
2-10362190-3
What was the score during week 16?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "week"=16;
2-10362190-3
Who is the mInister who left office during 1960?
CREATE TABLE "list_of_ghanaian_foreign_ministers" ( "number" real, "minister" text, "took_office" text, "left_office" text, "government" text, "party" text );
SELECT "minister" FROM "list_of_ghanaian_foreign_ministers" WHERE "left_office"='1960';
2-10269678-1
Which government is number 6?
CREATE TABLE "list_of_ghanaian_foreign_ministers" ( "number" real, "minister" text, "took_office" text, "left_office" text, "government" text, "party" text );
SELECT "government" FROM "list_of_ghanaian_foreign_ministers" WHERE "number"=6;
2-10269678-1
Which rider had a speed of 90.57mph?
CREATE TABLE "1970_isle_of_man_lightweight_tt_250cc_fi" ( "place" real, "rider" text, "country" text, "machine" text, "speed" text, "time" text, "points" real );
SELECT "rider" FROM "1970_isle_of_man_lightweight_tt_250cc_fi" WHERE "speed"='90.57mph';
2-10301911-5
Which country has a place smaller than 8 and points smaller than 5?
CREATE TABLE "1970_isle_of_man_lightweight_tt_250cc_fi" ( "place" real, "rider" text, "country" text, "machine" text, "speed" text, "time" text, "points" real );
SELECT "country" FROM "1970_isle_of_man_lightweight_tt_250cc_fi" WHERE "place"<8 AND "points"<5;
2-10301911-5
What is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5?
CREATE TABLE "group_b" ( "place" real, "team" text, "wins" real, "ties" real, "losses" real, "points" text );
SELECT MIN("losses") FROM "group_b" WHERE "wins"<4 AND "ties"=2 AND "place"=5;
2-1004902-4
Tell me the post-season record for kansas city
CREATE TABLE "season_by_season_results" ( "season" text, "manager" text, "record_a" text, "win_pct" real, "post_season_record_e" text, "post_season_win_pct" text, "mlb_affiliate" text );
SELECT "post_season_record_e" FROM "season_by_season_results" WHERE "mlb_affiliate"='kansas city';
2-1031852-2
Tell me the venue of 29 april 2007
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "date"='29 april 2007';
2-1010850-2
Tell me the competition of 20 august 2008
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "date"='20 august 2008';
2-1010850-2
Tell me the date of stade des martyrs, dr congo
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "venue"='stade des martyrs, dr congo';
2-1010850-2
How much money, in millions, is paid to Infotalent?
CREATE TABLE "finance" ( "payee" text, "purpose" text, "amount_millions" text, "signatories" text, "date_signed" text );
SELECT "amount_millions" FROM "finance" WHERE "payee"='infotalent';
2-1030359-1
What is the purpose of Euromarine?
CREATE TABLE "finance" ( "payee" text, "purpose" text, "amount_millions" text, "signatories" text, "date_signed" text );
SELECT "purpose" FROM "finance" WHERE "payee"='euromarine';
2-1030359-1
What signatory has a purpose of police security and Infotalent payee?
CREATE TABLE "finance" ( "payee" text, "purpose" text, "amount_millions" text, "signatories" text, "date_signed" text );
SELECT "signatories" FROM "finance" WHERE "purpose"='police security' AND "payee"='infotalent';
2-1030359-1
Tell me the highest launced for trn
CREATE TABLE "oil_refining_and_petrochemical_facilitie" ( "name" text, "location" text, "launched" real, "acquired" text, "capacity_mln_tpa" text );
SELECT MAX("launched") FROM "oil_refining_and_petrochemical_facilitie" WHERE "name"='trn';
2-1027881-2
Tell me the average launced for capacity mln tpa of 15,0
CREATE TABLE "oil_refining_and_petrochemical_facilitie" ( "name" text, "location" text, "launched" real, "acquired" text, "capacity_mln_tpa" text );
SELECT AVG("launched") FROM "oil_refining_and_petrochemical_facilitie" WHERE "capacity_mln_tpa"='15,0';
2-1027881-2
Tell me the period for red rock
CREATE TABLE "see_also" ( "camp" text, "place" text, "province" text, "location" text, "period" text );
SELECT "period" FROM "see_also" WHERE "place"='red rock';
2-1030470-1
Tell me the province for 260km ese of calgary
CREATE TABLE "see_also" ( "camp" text, "place" text, "province" text, "location" text, "period" text );
SELECT "province" FROM "see_also" WHERE "location"='260km ese of calgary';
2-1030470-1
Tell me the province of 1941-1946
CREATE TABLE "see_also" ( "camp" text, "place" text, "province" text, "location" text, "period" text );
SELECT "province" FROM "see_also" WHERE "period"='1941-1946';
2-1030470-1
Tell me the degree for degree year of 1983
CREATE TABLE "nobel_laureate_alumni" ( "name" text, "degree" text, "degree_year" text, "award_year" real, "award" text );
SELECT "degree" FROM "nobel_laureate_alumni" WHERE "degree_year"='1983';
2-10290198-3
Tell me the degree for chemistry 1965
CREATE TABLE "nobel_laureate_alumni" ( "name" text, "degree" text, "degree_year" text, "award_year" real, "award" text );
SELECT "degree" FROM "nobel_laureate_alumni" WHERE "award_year"=1965 AND "award"='chemistry';
2-10290198-3
What is the MP's term who was elected from grey and bell?
CREATE TABLE "initial_composition_of_the_2nd_parliamen" ( "member" text, "electorate" text, "province" text, "mp_s_term" text, "election_date" text );
SELECT "mp_s_term" FROM "initial_composition_of_the_2nd_parliamen" WHERE "electorate"='grey and bell';
2-1024710-2
What is the Election date for Member william richmond category:articles with hcards?
CREATE TABLE "initial_composition_of_the_2nd_parliamen" ( "member" text, "electorate" text, "province" text, "mp_s_term" text, "election_date" text );
SELECT "election_date" FROM "initial_composition_of_the_2nd_parliamen" WHERE "member"='william richmond category:articles with hcards';
2-1024710-2
What is Member alfred east category:articles with hcards's term?
CREATE TABLE "initial_composition_of_the_2nd_parliamen" ( "member" text, "electorate" text, "province" text, "mp_s_term" text, "election_date" text );
SELECT "mp_s_term" FROM "initial_composition_of_the_2nd_parliamen" WHERE "member"='alfred east category:articles with hcards';
2-1024710-2
What is the election date for the city of auckland category:articles with hcards?
CREATE TABLE "initial_composition_of_the_2nd_parliamen" ( "member" text, "electorate" text, "province" text, "mp_s_term" text, "election_date" text );
SELECT "election_date" FROM "initial_composition_of_the_2nd_parliamen" WHERE "electorate"='city of auckland category:articles with hcards';
2-1024710-2
What electorate does Member dingley brittin category:articles with hcards represent?
CREATE TABLE "initial_composition_of_the_2nd_parliamen" ( "member" text, "electorate" text, "province" text, "mp_s_term" text, "election_date" text );
SELECT "electorate" FROM "initial_composition_of_the_2nd_parliamen" WHERE "member"='dingley brittin category:articles with hcards';
2-1024710-2
What is the election date for the electorate of member charles brown category:articles with hcards?
CREATE TABLE "initial_composition_of_the_2nd_parliamen" ( "member" text, "electorate" text, "province" text, "mp_s_term" text, "election_date" text );
SELECT "election_date" FROM "initial_composition_of_the_2nd_parliamen" WHERE "member"='charles brown category:articles with hcards';
2-1024710-2
Tell me the date for acts of 6 bands and year larger than 1981 for monsters of rock
CREATE TABLE "1980s" ( "year" real, "date" text, "event" text, "days" text, "stages" text, "acts" text );
SELECT "date" FROM "1980s" WHERE "acts"='6 bands' AND "year">1981 AND "event"='monsters of rock';
2-10311801-1
Tell me the stages for 1981
CREATE TABLE "1980s" ( "year" real, "date" text, "event" text, "days" text, "stages" text, "acts" text );
SELECT "stages" FROM "1980s" WHERE "year"=1981;
2-10311801-1
Tell me the event for 6 bands
CREATE TABLE "1980s" ( "year" real, "date" text, "event" text, "days" text, "stages" text, "acts" text );
SELECT "event" FROM "1980s" WHERE "acts"='6 bands';
2-10311801-1
What is the lightweight value with no information model and the flexible value is unknown?
CREATE TABLE "popular_languages_used_for_data_exchange" ( "schemas" text, "flexible" text, "semantic_verification" text, "dictionary" text, "information_model" text, "synonyms_and_homonyms" text, "dialecting" text, "web_standard" text, "transformations" text, "lightweight" text, "human_readable" t...
SELECT "lightweight" FROM "popular_languages_used_for_data_exchange" WHERE "information_model"='no' AND "flexible"='unknown';
2-10231058-1
What value for U.S. dance occurred in 1986 when the value of U.S. R&B was 9?
CREATE TABLE "solo" ( "year" real, "title" text, "u_s" text, "u_s_r_b" text, "u_s_dance" text );
SELECT "u_s_dance" FROM "solo" WHERE "year"=1986 AND "u_s_r_b"='9';
2-1023439-2
What is the bore for a 9-cyl radial on a 9 AD?
CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text );
SELECT "bore" FROM "salmson_post_world_war_one_engines" WHERE "cyl"='9-cyl radial' AND "name"='9 ad';
2-10103151-1
What bore goes with an 18 AB?
CREATE TABLE "salmson_post_world_war_one_engines" ( "name" text, "cyl" text, "bore" text, "capacity" text, "power" text, "weight" text );
SELECT "bore" FROM "salmson_post_world_war_one_engines" WHERE "name"='18 ab';
2-10103151-1
Tell me the venue for notes of 10.93 secs
CREATE TABLE "major_achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text, "notes" text );
SELECT "venue" FROM "major_achievements" WHERE "notes"='10.93 secs';
2-1027162-1
Tell me the venue for year less than 2003
CREATE TABLE "major_achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text, "notes" text );
SELECT "venue" FROM "major_achievements" WHERE "year"<2003;
2-1027162-1
What is the total number of points team Alfa Romeo 184T won?
CREATE TABLE "complete_formula_one_results" ( "year" real, "team_chassis" text, "engine" text, "tyres" text, "points" real );
SELECT SUM("points") FROM "complete_formula_one_results" WHERE "team_chassis"='alfa romeo 184t';
2-10040530-1
What engine was used after 1984?
CREATE TABLE "complete_formula_one_results" ( "year" real, "team_chassis" text, "engine" text, "tyres" text, "points" real );
SELECT "engine" FROM "complete_formula_one_results" WHERE "year">1984;
2-10040530-1
In which year were the points more than 0?
CREATE TABLE "complete_formula_one_results" ( "year" real, "team_chassis" text, "engine" text, "tyres" text, "points" real );
SELECT "year" FROM "complete_formula_one_results" WHERE "points">0;
2-10040530-1
What were the Tyres after 1984?
CREATE TABLE "complete_formula_one_results" ( "year" real, "team_chassis" text, "engine" text, "tyres" text, "points" real );
SELECT "tyres" FROM "complete_formula_one_results" WHERE "year">1984;
2-10040530-1
Tell me the bp comp 2 for % wt comp 1 of 76
CREATE TABLE "binary_azeotropes" ( "component_1" text, "b_p_comp_1_c" text, "component_2" text, "b_p_comp_2_c" text, "b_p_azeo_c" text, "pct_wt_comp_1" real, "pct_wt_comp_2" real );
SELECT "b_p_comp_2_c" FROM "binary_azeotropes" WHERE "pct_wt_comp_1"=76;
2-10181793-6
Tell me the total number of % wt comp 1 foR % wt comp 2 or 27
CREATE TABLE "binary_azeotropes" ( "component_1" text, "b_p_comp_1_c" text, "component_2" text, "b_p_comp_2_c" text, "b_p_azeo_c" text, "pct_wt_comp_1" real, "pct_wt_comp_2" real );
SELECT COUNT("pct_wt_comp_1") FROM "binary_azeotropes" WHERE "pct_wt_comp_2"=27;
2-10181793-6
What is the percentage of the popular vote when there were 90 seats available?
CREATE TABLE "election_results" ( "year_of_election" real, "candidates_elected" real, "num_of_seats_available" real, "num_of_votes" text, "pct_of_popular_vote" text );
SELECT "pct_of_popular_vote" FROM "election_results" WHERE "num_of_seats_available"=90;
2-1036175-1
Name the gold for silver of 39
CREATE TABLE "medals_by_country" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "gold" FROM "medals_by_country" WHERE "silver"=39;
2-1006015-1
What is the compression ratio for the 302-2v Windsor v8 engine?
CREATE TABLE "1973_engines" ( "engine" text, "horsepower" text, "torque" text, "carburetor" text, "compression_ratio" text, "bore_stroke" text, "vin_code" text );
SELECT "compression_ratio" FROM "1973_engines" WHERE "engine"='302-2v windsor v8';
2-10166535-6
How many games had 41 rushes and were than 197 yards?
CREATE TABLE "career_rushing_statistics_at_ohio_state" ( "year" text, "games" real, "rushes" real, "yards" real, "average" real );
SELECT COUNT("games") FROM "career_rushing_statistics_at_ohio_state" WHERE "rushes"=41 AND "yards"<197;
2-10232407-1
What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games?
CREATE TABLE "career_rushing_statistics_at_ohio_state" ( "year" text, "games" real, "rushes" real, "yards" real, "average" real );
SELECT MAX("yards") FROM "career_rushing_statistics_at_ohio_state" WHERE "rushes"<51 AND "games">12;
2-10232407-1
What is the pick # for Dimelon Westfield?
CREATE TABLE "round_three" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text );
SELECT MIN("pick_num") FROM "round_three" WHERE "player"='dimelon westfield';
2-1014145-3
What was the final score of the November 8, 2001 game?
CREATE TABLE "schedule_and_results" ( "date" text, "opponent" text, "location" text, "result" text, "overall" text, "conf" text );
SELECT "result" FROM "schedule_and_results" WHERE "date"='november 8, 2001';
2-10167124-1
Tell me the bullet tip color of headstamp id of h1z
CREATE TABLE "headstamps_and_colour_coding" ( "headstamp_id" text, "primer_annulus_color" text, "bullet_tip_color" text, "other_features" text, "functional_type" text );
SELECT "bullet_tip_color" FROM "headstamps_and_colour_coding" WHERE "headstamp_id"='h1z';
2-1036189-1
Tell me the total number of gold for bronze more than 0 and total more than 100
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("gold") FROM "medal_table" WHERE "bronze">0 AND "rank"='total' AND "total">100;
2-10371133-1
Tell me the least silver for total less than 6 and rank of 8
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("silver") FROM "medal_table" WHERE "total"<6 AND "rank"='8';
2-10371133-1
Who played men's singles in 1951?
CREATE TABLE "winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text );
SELECT "men_s_singles" FROM "winners" WHERE "year"='1951';
2-10145751-1
Who played women's singles in 1955?
CREATE TABLE "winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text );
SELECT "women_s_singles" FROM "winners" WHERE "year"='1955';
2-10145751-1
Who played Women's singles when xiong guobao played men's singles, and tian bingyi li yongbo played Men's doubles?
CREATE TABLE "winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text );
SELECT "women_s_singles" FROM "winners" WHERE "men_s_singles"='xiong guobao' AND "men_s_doubles"='tian bingyi li yongbo';
2-10145751-1
Who played men's doubles when gao ling huang sui played women's doubles in 2007?
CREATE TABLE "winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text );
SELECT "men_s_doubles" FROM "winners" WHERE "women_s_doubles"='gao ling huang sui' AND "year"='2007';
2-10145751-1
What year did huang nanyan yang wei play women's doubles and Men's doubles was played by lee dong-soo yoo yong-sung?
CREATE TABLE "winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text );
SELECT "year" FROM "winners" WHERE "women_s_doubles"='huang nanyan yang wei' AND "men_s_doubles"='lee dong-soo yoo yong-sung';
2-10145751-1
Who played men's doubles when men's singles were played by wong peng soon and Women's singles was played by cecilia samuel, in 1952?
CREATE TABLE "winners" ( "year" text, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text );
SELECT "men_s_doubles" FROM "winners" WHERE "men_s_singles"='wong peng soon' AND "women_s_singles"='cecilia samuel' AND "year"='1952';
2-10145751-1
What is the first leg score in that match where Marseille was the first team?
CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "round_of_16" WHERE "team_1"='marseille';
2-10124937-14
Tell me the discovery/publication for still living
CREATE TABLE "comparative_table_of_homo_species_view_t" ( "species" text, "lived_when_mya" text, "lived_where" text, "fossil_record" text, "discovery_publication_of_name" text );
SELECT "discovery_publication_of_name" FROM "comparative_table_of_homo_species_view_t" WHERE "fossil_record"='still living';
2-10326-1
Tell me the discovery/publication for red deer cave people
CREATE TABLE "comparative_table_of_homo_species_view_t" ( "species" text, "lived_when_mya" text, "lived_where" text, "fossil_record" text, "discovery_publication_of_name" text );
SELECT "discovery_publication_of_name" FROM "comparative_table_of_homo_species_view_t" WHERE "species"='red deer cave people';
2-10326-1
Tell me the discovery/publicatio of name for h.heidelbergensis
CREATE TABLE "comparative_table_of_homo_species_view_t" ( "species" text, "lived_when_mya" text, "lived_where" text, "fossil_record" text, "discovery_publication_of_name" text );
SELECT "discovery_publication_of_name" FROM "comparative_table_of_homo_species_view_t" WHERE "species"='h.heidelbergensis';
2-10326-1
Tell me the fossil record for name of 1994/2003
CREATE TABLE "comparative_table_of_homo_species_view_t" ( "species" text, "lived_when_mya" text, "lived_where" text, "fossil_record" text, "discovery_publication_of_name" text );
SELECT "fossil_record" FROM "comparative_table_of_homo_species_view_t" WHERE "discovery_publication_of_name"='1994/2003';
2-10326-1
Tell me lived for name of 1994/2003
CREATE TABLE "comparative_table_of_homo_species_view_t" ( "species" text, "lived_when_mya" text, "lived_where" text, "fossil_record" text, "discovery_publication_of_name" text );
SELECT "lived_when_mya" FROM "comparative_table_of_homo_species_view_t" WHERE "discovery_publication_of_name"='1994/2003';
2-10326-1
When was the Monza circuit?
CREATE TABLE "european_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text );
SELECT "date" FROM "european_championship_grands_prix" WHERE "circuit"='monza';
2-10061118-1
What is Metro's win percentage?
CREATE TABLE "record_by_conference" ( "conference" text, "num_of_bids" real, "record" text, "win_pct" text, "round_of_32" text, "elite_eight" text, "final_four" text, "championship_game" text );
SELECT "win_pct" FROM "record_by_conference" WHERE "conference"='metro';
2-10373048-6
How many elite eight teams came from the Atlantic 10?
CREATE TABLE "record_by_conference" ( "conference" text, "num_of_bids" real, "record" text, "win_pct" text, "round_of_32" text, "elite_eight" text, "final_four" text, "championship_game" text );
SELECT "elite_eight" FROM "record_by_conference" WHERE "conference"='atlantic 10';
2-10373048-6
Tell me the opponent for attendance of 55,527
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "attendance"='55,527';
2-10362162-2