question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What round of the draft was Stan Adams selected?
CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );
SELECT AVG("round") FROM "draft_picks" WHERE "player"='stan adams';
2-17562956-13
What is the attendance for the t7-7 result?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "result"='t7-7';
2-16518708-2
What is the date for 45,000 in attendance?
CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "attendance"='45,000';
2-16518708-2
How many strokes under par was the player who scored 71?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "to_par" FROM "first_round" WHERE "score"=71;
2-17290169-1
What place is Jay Hebert?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "place" FROM "first_round" WHERE "player"='jay hebert';
2-17290169-1
Which Games lost has Points against of 61, and Points difference smaller than 42?
CREATE TABLE "winners" ( "year" real, "games_played" real, "games_won" real, "games_drawn" real, "games_lost" real, "points_for" real, "points_against" real, "points_difference" real, "bonus_points" real, "table_points" real );
SELECT SUM("games_lost") FROM "winners" WHERE "points_against"=61 AND "points_difference"<42;
2-170109-1
Which Games won has Bonus points larger than 1, a Points difference smaller than 50, Points against of 106, and Points for smaller than 152?
CREATE TABLE "winners" ( "year" real, "games_played" real, "games_won" real, "games_drawn" real, "games_lost" real, "points_for" real, "points_against" real, "points_difference" real, "bonus_points" real, "table_points" real );
SELECT COUNT("games_won") FROM "winners" WHERE "bonus_points">1 AND "points_difference"<50 AND "points_against"=106 AND "points_for"<152;
2-170109-1
Which Score has a Record of 1-2?
CREATE TABLE "stanley_cup_playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "stanley_cup_playoffs" WHERE "record"='1-2';
2-17450539-5
What is the Record for April 15?
CREATE TABLE "stanley_cup_playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "stanley_cup_playoffs" WHERE "date"='april 15';
2-17450539-5
What is the Record for April 13?
CREATE TABLE "stanley_cup_playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "stanley_cup_playoffs" WHERE "date"='april 13';
2-17450539-5
On April 15 who is the Home team?
CREATE TABLE "stanley_cup_playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "home" FROM "stanley_cup_playoffs" WHERE "date"='april 15';
2-17450539-5
Which Attendance has a Date of december 22, 1985, and a Week smaller than 16?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT SUM("attendance") FROM "schedule" WHERE "date"='december 22, 1985' AND "week"<16;
2-16712803-2
Which Attendance has a Result of w 23-21, and a Week smaller than 5?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("attendance") FROM "schedule" WHERE "result"='w 23-21' AND "week"<5;
2-16712803-2
Which Week has a Result of w 20-13?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT AVG("week") FROM "schedule" WHERE "result"='w 20-13';
2-16712803-2
What are the Japanese characters for the Chinese word 叉焼?
CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text );
SELECT "japanese" FROM "examples_of_chinese_loanwords_in_japanes" WHERE "chinese"='叉焼';
2-16851-6
What language did the word that means mahjong first come from?
CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text );
SELECT "source_language" FROM "examples_of_chinese_loanwords_in_japanes" WHERE "meaning"='mahjong';
2-16851-6
What is the Romanization of the Mandarin word whose Rōmaji is ūroncha
CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text );
SELECT "romanization" FROM "examples_of_chinese_loanwords_in_japanes" WHERE "source_language"='mandarin' AND "r_maji"='ūroncha';
2-16851-6
What language did the word mahjong originate from?
CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text );
SELECT "source_language" FROM "examples_of_chinese_loanwords_in_japanes" WHERE "meaning"='mahjong';
2-16851-6
What are the Chinese characters for the word that has a Rōmaji of chāshū?
CREATE TABLE "examples_of_chinese_loanwords_in_japanes" ( "japanese" text, "r_maji" text, "meaning" text, "chinese" text, "romanization" text, "source_language" text );
SELECT "chinese" FROM "examples_of_chinese_loanwords_in_japanes" WHERE "r_maji"='chāshū';
2-16851-6
What was the category of Richard Nixon as President in a year prior to 2009?
CREATE TABLE "academy_awards_actual_presidents" ( "year" real, "category" text, "president" text, "nominee" text, "film" text, "result" text );
SELECT "category" FROM "academy_awards_actual_presidents" WHERE "president"='richard nixon' AND "year"<2009;
2-1673723-9
What is the film that Raymond Massey was nominated for?
CREATE TABLE "academy_awards_actual_presidents" ( "year" real, "category" text, "president" text, "nominee" text, "film" text, "result" text );
SELECT "film" FROM "academy_awards_actual_presidents" WHERE "nominee"='raymond massey';
2-1673723-9
What was the film of Richard Nixon as President in a year newer than 1996?
CREATE TABLE "academy_awards_actual_presidents" ( "year" real, "category" text, "president" text, "nominee" text, "film" text, "result" text );
SELECT "film" FROM "academy_awards_actual_presidents" WHERE "president"='richard nixon' AND "year">1996;
2-1673723-9
WHich Partner has a Outcome of winner, and a Opponents in the final of rick leach jim pugh?
CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "partner" FROM "doubles_champion_12" WHERE "outcome"='winner' AND "opponents_in_the_final"='rick leach jim pugh';
2-16440558-2
Which Score in the final has a Surface of hard on august 20, 1989?
CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "score_in_the_final" FROM "doubles_champion_12" WHERE "surface"='hard' AND "date"='august 20, 1989';
2-16440558-2
Name the Outcome which has a Score in the final of 4–6, 4–6 on october 21, 1990?
CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "outcome" FROM "doubles_champion_12" WHERE "score_in_the_final"='4–6, 4–6' AND "date"='october 21, 1990';
2-16440558-2
Which Tournament has a Score in the final of 7–5, 6–4?
CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "tournament" FROM "doubles_champion_12" WHERE "score_in_the_final"='7–5, 6–4';
2-16440558-2
Name the Score which has a Partner of jorge lozano, an Outcome of runner-up, and Opponents in the final of udo riglewski michael stich?
CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "score_in_the_final" FROM "doubles_champion_12" WHERE "partner"='jorge lozano' AND "outcome"='runner-up' AND "opponents_in_the_final"='udo riglewski michael stich';
2-16440558-2
Name the Date which has Opponents in the final of patrick mcenroe tim wilkison?
CREATE TABLE "doubles_champion_12" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "date" FROM "doubles_champion_12" WHERE "opponents_in_the_final"='patrick mcenroe tim wilkison';
2-16440558-2
What is the total number of goals that have games under 11, debut round over 15, and age of 20 years, 71 days?
CREATE TABLE "players_who_made_their_afl_debut_during_" ( "name" text, "club" text, "age_at_debut" text, "debut_round" real, "games_2008" real, "goals_2008" real );
SELECT COUNT("goals_2008") FROM "players_who_made_their_afl_debut_during_" WHERE "games_2008"<11 AND "debut_round">15 AND "age_at_debut"='20 years, 71 days';
2-16482731-3
What is the name that has a debut round over 14, games under 2, and a club of Melbourne?
CREATE TABLE "players_who_made_their_afl_debut_during_" ( "name" text, "club" text, "age_at_debut" text, "debut_round" real, "games_2008" real, "goals_2008" real );
SELECT "name" FROM "players_who_made_their_afl_debut_during_" WHERE "debut_round">14 AND "games_2008"<2 AND "club"='melbourne';
2-16482731-3
What is the name of team 2 that has 1-2 as the score?
CREATE TABLE "results" ( "season" text, "team_1" text, "score" text, "team_2" text, "venue" text );
SELECT "team_2" FROM "results" WHERE "score"='1-2';
2-16593799-4
In the 2005 season with a score of 0-4 what is the team 1?
CREATE TABLE "results" ( "season" text, "team_1" text, "score" text, "team_2" text, "venue" text );
SELECT "team_1" FROM "results" WHERE "season"='2005' AND "score"='0-4';
2-16593799-4
Team 2 of Yokohama F. Marinos in the n/a venue had what score?
CREATE TABLE "results" ( "season" text, "team_1" text, "score" text, "team_2" text, "venue" text );
SELECT "score" FROM "results" WHERE "venue"='n/a' AND "team_2"='yokohama f. marinos';
2-16593799-4
Team 2 Al-Ain played in what venue?
CREATE TABLE "results" ( "season" text, "team_1" text, "score" text, "team_2" text, "venue" text );
SELECT "venue" FROM "results" WHERE "team_2"='al-ain';
2-16593799-4
What is the scored figure when the result is 40-22?
CREATE TABLE "super_league_tries" ( "date" text, "venue" text, "opponent" text, "result" text, "tournament" text, "scored" real );
SELECT SUM("scored") FROM "super_league_tries" WHERE "result"='40-22';
2-17605620-1
In what tournament is there a result of 46-18?
CREATE TABLE "super_league_tries" ( "date" text, "venue" text, "opponent" text, "result" text, "tournament" text, "scored" real );
SELECT "tournament" FROM "super_league_tries" WHERE "result"='46-18';
2-17605620-1
What is the smallest scored with a result of 46-18?
CREATE TABLE "super_league_tries" ( "date" text, "venue" text, "opponent" text, "result" text, "tournament" text, "scored" real );
SELECT MIN("scored") FROM "super_league_tries" WHERE "result"='46-18';
2-17605620-1
What is the average number of goals with 21 games for a debut round less than 1?
CREATE TABLE "players_who_made_their_club_debut_during" ( "name" text, "club" text, "debut_round" real, "games_2008" real, "goals_2008" real, "previous_club_s" text );
SELECT AVG("goals_2008") FROM "players_who_made_their_club_debut_during" WHERE "games_2008"=21 AND "debut_round"<1;
2-16482731-5
What is the Nationality of the Player with Jersey Number 6?
CREATE TABLE "g" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text );
SELECT "nationality" FROM "g" WHERE "jersey_number_s"=6;
2-16772687-8
What is the Jersey Number of the Player from Clemson?
CREATE TABLE "g" ( "player" text, "nationality" text, "jersey_number_s" real, "position" text, "years" text, "from" text );
SELECT SUM("jersey_number_s") FROM "g" WHERE "from"='clemson';
2-16772687-8
What is the at/vs against the New York Saints with over 16,042 in attendance?
CREATE TABLE "game_log" ( "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text );
SELECT "at_vs" FROM "game_log" WHERE "opponent"='new york saints' AND "attendance">'16,042';
2-16227492-1
What day was the visitor Cleveland when the record was 34-26?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "date" FROM "march" WHERE "visitor"='cleveland' AND "record"='34-26';
2-16188254-7
What was the attendance when the score was 88-98?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "attendance" FROM "march" WHERE "score"='88-98';
2-16188254-7
What was the record when the visitor was Cleveland in Dallas?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" text, "record" text );
SELECT "record" FROM "march" WHERE "visitor"='cleveland' AND "home"='dallas';
2-16188254-7
What is the littlest round that has Matt Delahey, and a greater than 112 pick?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "position" text, "nationality" text, "club_team" text );
SELECT MIN("round") FROM "draft_picks" WHERE "player"='matt delahey' AND "pick">112;
2-17360752-27
What is the average PUBS 11 value in Mumbai, which has a 07-11 totals less than 1025?
CREATE TABLE "world_ranking_of_chemical_engineering_sc" ( "school" text, "location" text, "pubs_2010" real, "totals_06_10" real, "rank_06_10" real, "pubs_2011" real, "totals_07_11" real, "rank_07_11" real, "world_ranking" text );
SELECT AVG("pubs_2011") FROM "world_ranking_of_chemical_engineering_sc" WHERE "location"='mumbai' AND "totals_07_11"<1025;
2-167354-2
What is the lowest 06-10 totals with a pubs 2010 of 68 and a 07-11 totals larger than 305?
CREATE TABLE "world_ranking_of_chemical_engineering_sc" ( "school" text, "location" text, "pubs_2010" real, "totals_06_10" real, "rank_06_10" real, "pubs_2011" real, "totals_07_11" real, "rank_07_11" real, "world_ranking" text );
SELECT MIN("totals_06_10") FROM "world_ranking_of_chemical_engineering_sc" WHERE "pubs_2010"=68 AND "totals_07_11">305;
2-167354-2
What is Team, when Date of Appointment is "10 November 2008"?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );
SELECT "team" FROM "managerial_changes" WHERE "date_of_appointment"='10 november 2008';
2-17356873-2
What is Replaced By, when Outgoing Manager is "Ünal Karaman"?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );
SELECT "replaced_by" FROM "managerial_changes" WHERE "outgoing_manager"='ünal karaman';
2-17356873-2
What is Outgoing Manager, when Date of Vacancy is "25 September 2008"?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "date_of_vacancy"='25 september 2008';
2-17356873-2
What is Date of Appointment, when Outgoing Manager is "Hakan Kutlu"?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='hakan kutlu';
2-17356873-2
What is Date of Appointment, when Outgoing Manager is "Giray Bulak"?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='giray bulak';
2-17356873-2
What is Replaced By, when Date of Vacancy is "23 February 2009"?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text );
SELECT "replaced_by" FROM "managerial_changes" WHERE "date_of_vacancy"='23 february 2009';
2-17356873-2
WHAT IS THE TEAM FOR DECEMBER 30?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "team" FROM "game_log" WHERE "date"='december 30';
2-17140608-6
Which category had an orange finish?
CREATE TABLE "other_appearances_in_tour_de_france" ( "year" real, "stage" real, "category" text, "start" text, "finish" text, "leader_at_the_summit" text );
SELECT "category" FROM "other_appearances_in_tour_de_france" WHERE "finish"='orange';
2-162439-2
What is the lowest year for stage 12, category 1?
CREATE TABLE "other_appearances_in_tour_de_france" ( "year" real, "stage" real, "category" text, "start" text, "finish" text, "leader_at_the_summit" text );
SELECT MIN("year") FROM "other_appearances_in_tour_de_france" WHERE "category"='1' AND "stage"=12;
2-162439-2
What is the start of stage 11?
CREATE TABLE "other_appearances_in_tour_de_france" ( "year" real, "stage" real, "category" text, "start" text, "finish" text, "leader_at_the_summit" text );
SELECT "start" FROM "other_appearances_in_tour_de_france" WHERE "stage"=11;
2-162439-2
Which model had a wheelbase of 136 inches?
CREATE TABLE "cole_model_overview_1908_1925" ( "year" text, "model" text, "engine_type_cyl" text, "power_bhp_k_w" text, "wheelbase_in" text );
SELECT "model" FROM "cole_model_overview_1908_1925" WHERE "wheelbase_in"='136';
2-16440724-1
What is the engine type with a wheelbase of 127 inches in 1915?
CREATE TABLE "cole_model_overview_1908_1925" ( "year" text, "model" text, "engine_type_cyl" text, "power_bhp_k_w" text, "wheelbase_in" text );
SELECT "engine_type_cyl" FROM "cole_model_overview_1908_1925" WHERE "wheelbase_in"='127' AND "year"='1915';
2-16440724-1
What was the record on January 4?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "record" FROM "season_schedule" WHERE "date"='january 4';
2-17064870-6
Which Streak has a Game larger than 49?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "streak" FROM "season_schedule" WHERE "game">49;
2-17064870-6
Which Streak has a Date of january 7?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "streak" FROM "season_schedule" WHERE "date"='january 7';
2-17064870-6
Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes?
CREATE TABLE "repeat_winners" ( "rank" real, "name" text, "country" text, "wins" real, "years" text );
SELECT "country" FROM "repeat_winners" WHERE "wins">2 AND "rank"=2 AND "name"='federico bahamontes';
2-1719212-3
What is richard virenque's lowest rank?
CREATE TABLE "repeat_winners" ( "rank" real, "name" text, "country" text, "wins" real, "years" text );
SELECT MIN("rank") FROM "repeat_winners" WHERE "name"='richard virenque';
2-1719212-3
Which Years have a Rank larger than 2, and Wins of 2, and a Country of france?
CREATE TABLE "repeat_winners" ( "rank" real, "name" text, "country" text, "wins" real, "years" text );
SELECT "years" FROM "repeat_winners" WHERE "rank">2 AND "wins"=2 AND "country"='france';
2-1719212-3
What is the home team with the ny rangers as the visitor team?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "home" FROM "regular_season" WHERE "visitor"='ny rangers';
2-17511295-3
What is the record on October 13, when philadelphia was the home team?
CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );
SELECT "record" FROM "regular_season" WHERE "home"='philadelphia' AND "date"='october 13';
2-17511295-3
What is Season, when Opponent is source: . last updated: 28 june 2007.?
CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "season" FROM "best_figures_in_an_innings" WHERE "opponent"='source: . last updated: 28 june 2007.';
2-16351707-18
What is Venue, when Figures is 5/29?
CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "venue" FROM "best_figures_in_an_innings" WHERE "figures"='5/29';
2-16351707-18
What is Opponent, when Rank is 3?
CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "opponent" FROM "best_figures_in_an_innings" WHERE "rank"='3';
2-16351707-18
What is Player, when Figures is source: . last updated: 28 june 2007.?
CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "player" FROM "best_figures_in_an_innings" WHERE "figures"='source: . last updated: 28 june 2007.';
2-16351707-18
What is Player, when Opponent is source: . last updated: 28 june 2007.?
CREATE TABLE "best_figures_in_an_innings" ( "rank" text, "figures" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "player" FROM "best_figures_in_an_innings" WHERE "opponent"='source: . last updated: 28 june 2007.';
2-16351707-18
For the match played on 7 January 1956, with away team of Accrington Stanley, who was the home team?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "third_round_proper" WHERE "date"='7 january 1956' AND "away_team"='accrington stanley';
2-17054550-4
Which Tie number had Fulham as the away team?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "third_round_proper" WHERE "away_team"='fulham';
2-17054550-4
Which Tie number had Middlesbrough as the away team?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "third_round_proper" WHERE "away_team"='middlesbrough';
2-17054550-4
On what day was Tie #29 played?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "third_round_proper" WHERE "tie_no"='29';
2-17054550-4
Which Tie number was played on 9 January 1956?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "third_round_proper" WHERE "date"='9 january 1956';
2-17054550-4
What is the Tie number for the match that had away team of Scunthorpe & Lindsey United?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "third_round_proper" WHERE "away_team"='scunthorpe & lindsey united';
2-17054550-4
WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "score"='76-69-64-70=279';
2-17162228-7
WHAT IS THE PLACE WITH A SCORE OF 73-65-73-71=282?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "score"='73-65-73-71=282';
2-17162228-7
WHAT IS THE TO PAR FOR ERNIE ELS?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "to_par" FROM "final_round" WHERE "player"='ernie els';
2-17162228-7
WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "score"='69-71-66-73=279';
2-17162228-7
What was the winning score at Burdine's Invitational?
CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "winning_score" FROM "lpga_tour_wins_24" WHERE "tournament"='burdine''s invitational';
2-1636926-2
Who was the runner-up when the winning score is +3 (69-70-71-77=287)?
CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "runner_s_up" FROM "lpga_tour_wins_24" WHERE "winning_score"='+3 (69-70-71-77=287)';
2-1636926-2
Which tournament has a winning score at –7 (66-72-69-74=281)?
CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "tournament" FROM "lpga_tour_wins_24" WHERE "winning_score"='–7 (66-72-69-74=281)';
2-1636926-2
On what date is Jerilyn Britz the runner-up?
CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "date" FROM "lpga_tour_wins_24" WHERE "runner_s_up"='jerilyn britz';
2-1636926-2
On what date is the winning score –8 (70-71-67=208)?
CREATE TABLE "lpga_tour_wins_24" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "date" FROM "lpga_tour_wins_24" WHERE "winning_score"='–8 (70-71-67=208)';
2-1636926-2
What is Matches, when Year is "2003"?
CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text );
SELECT "matches" FROM "world_cup_record" WHERE "year"='2003';
2-17223835-1
What is Draws, when Losses is "Did Not Qualify"?
CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text );
SELECT "draws" FROM "world_cup_record" WHERE "losses"='did not qualify';
2-17223835-1
What is Result, when Losses is "Did Not Qualify"?
CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text );
SELECT "result" FROM "world_cup_record" WHERE "losses"='did not qualify';
2-17223835-1
What is Year, when Wins is "0"?
CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text );
SELECT "year" FROM "world_cup_record" WHERE "wins"='0';
2-17223835-1
What is Draws, when Wins is "Did Not Qualify"?
CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text );
SELECT "draws" FROM "world_cup_record" WHERE "wins"='did not qualify';
2-17223835-1
What is Matches, when Draws is "Did Not Qualify", and when Year is "1995"?
CREATE TABLE "world_cup_record" ( "year" text, "result" text, "matches" text, "wins" text, "draws" text, "losses" text );
SELECT "matches" FROM "world_cup_record" WHERE "draws"='did not qualify' AND "year"='1995';
2-17223835-1
Which Date has a Score of 112–118?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "date" FROM "season_schedule" WHERE "score"='112–118';
2-17064508-3
Which Record has a Score of 111–101?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "record" FROM "season_schedule" WHERE "score"='111–101';
2-17064508-3
Which Game has a Score of 122–125?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "game" FROM "season_schedule" WHERE "score"='122–125';
2-17064508-3
Which Streak has a Game of 3?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "streak" FROM "season_schedule" WHERE "game"=3;
2-17064508-3
Which Score has a Record of 1–3?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "score" FROM "season_schedule" WHERE "record"='1–3';
2-17064508-3
How many totals had a silver larger than 2?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medal_table" WHERE "silver">2;
2-16880519-3
What was the average bronze when gold was larger than 1 and silver was larger than 2?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("bronze") FROM "medal_table" WHERE "gold">1 AND "silver">2;
2-16880519-3