question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What model is the A310 of 1983?
CREATE TABLE "airbus_jetliners_1972_1994" ( "model" text, "a300" text, "a310" text, "a320" text, "a330" text, "a340" text );
SELECT "model" FROM "airbus_jetliners_1972_1994" WHERE "a310"='1983';
2-164939-1
What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "no_2" FROM "male_names" WHERE "no_6"='ethan' AND "no_3"='mason';
2-16304563-9
In what region and year was Jacob the number 2 name and Ryan the number 10 name?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "region_year" FROM "male_names" WHERE "no_2"='jacob' AND "no_10"='ryan';
2-16304563-9
What name was number 7 when Mason was number 1, Owen was number 6, Jackson was number 9, and Logan was number 10?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "no_7" FROM "male_names" WHERE "no_1"='mason' AND "no_9"='jackson' AND "no_10"='logan' AND "no_6"='owen';
2-16304563-9
What name was in the number 4 spot when Aiden was number 7 and James was number 3?
CREATE TABLE "male_names" ( "region_year" text, "no_1" text, "no_2" text, "no_3" text, "no_4" text, "no_5" text, "no_6" text, "no_7" text, "no_8" text, "no_9" text, "no_10" text );
SELECT "no_4" FROM "male_names" WHERE "no_7"='aiden' AND "no_3"='james';
2-16304563-9
What is the positions of Damon Jones?
CREATE TABLE "j" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "position" FROM "j" WHERE "player"='damon jones';
2-16494599-10
for how many years did the player who graduated from stanford play for Grizzlies?
CREATE TABLE "j" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "years_for_grizzlies" FROM "j" WHERE "school_club_team"='stanford';
2-16494599-10
Which school did Dahntay Jones graduate from?
CREATE TABLE "j" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "school_club_team" FROM "j" WHERE "player"='dahntay jones';
2-16494599-10
Which player gradyated from Florida State?
CREATE TABLE "j" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "player" FROM "j" WHERE "school_club_team"='florida state';
2-16494599-10
What is the Playoffs MVP of the game with a Result of 4–1 with Champions Daejeon Hyundai Dynat?
CREATE TABLE "finals" ( "year" text, "champions" text, "result" text, "runners_up" text, "playoffs_mvp" text );
SELECT "playoffs_mvp" FROM "finals" WHERE "result"='4–1' AND "champions"='daejeon hyundai dynat';
2-1719621-1
What is the Year of the game with Result of 4–3 and Champions of Daegu Tongyang Orions?
CREATE TABLE "finals" ( "year" text, "champions" text, "result" text, "runners_up" text, "playoffs_mvp" text );
SELECT "year" FROM "finals" WHERE "result"='4–3' AND "champions"='daegu tongyang orions';
2-1719621-1
What is the Runners-up of the game with a Result of 4–1 and Champions of Wonju Dongbu Promy?
CREATE TABLE "finals" ( "year" text, "champions" text, "result" text, "runners_up" text, "playoffs_mvp" text );
SELECT "runners_up" FROM "finals" WHERE "result"='4–1' AND "champions"='wonju dongbu promy';
2-1719621-1
Where was the venue that Linfield was the opponent?
CREATE TABLE "friendlies" ( "date" text, "opponent" text, "venue" text, "result" text, "attendance" real );
SELECT "venue" FROM "friendlies" WHERE "opponent"='linfield';
2-1630554-8
Which scorer plays for Aldershot and has scored a total of 19 League goals?
CREATE TABLE "fourth_division" ( "scorer" text, "club" text, "league_goals" text, "fa_cup_goals" real, "league_cup_goals" real, "total" real );
SELECT "scorer" FROM "fourth_division" WHERE "club"='aldershot' AND "league_goals"='19';
2-16454472-16
What is the highest number of League Cup goals that were scored by Hartlepool?
CREATE TABLE "fourth_division" ( "scorer" text, "club" text, "league_goals" text, "fa_cup_goals" real, "league_cup_goals" real, "total" real );
SELECT MAX("league_cup_goals") FROM "fourth_division" WHERE "club"='hartlepool';
2-16454472-16
When was the game at the North Shore Events Centre?
CREATE TABLE "round_12" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text );
SELECT "date" FROM "round_12" WHERE "venue"='north shore events centre';
2-16653153-19
What is the report corresponding to the game that had the Townsville Crocodiles as home team?
CREATE TABLE "round_12" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text );
SELECT "report" FROM "round_12" WHERE "home_team"='townsville crocodiles';
2-16653153-19
When was the game that had Sydney Spirit as the away team?
CREATE TABLE "round_12" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text );
SELECT "date" FROM "round_12" WHERE "away_team"='sydney spirit';
2-16653153-19
What was the box score for the game that had the Townsville Crocodiles as home team?
CREATE TABLE "round_12" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text );
SELECT "box_score" FROM "round_12" WHERE "home_team"='townsville crocodiles';
2-16653153-19
What was the box score for the game that had the Cairns Taipans as home team?
CREATE TABLE "round_12" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text );
SELECT "box_score" FROM "round_12" WHERE "home_team"='cairns taipans';
2-16653153-19
What's the lap number for time/retired of +33.912?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "time_retired"='+33.912';
2-17038035-1
Total laps for Shinya Nakano at smaller than 10 grids.
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "rider"='shinya nakano' AND "grid"<10;
2-17038035-1
What years were from Connecticut?
CREATE TABLE "a" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text );
SELECT "years" FROM "a" WHERE "from"='connecticut';
2-16772687-2
Where is the position of sG from?
CREATE TABLE "a" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text );
SELECT "from" FROM "a" WHERE "position"='sg';
2-16772687-2
Which player wears the number 2 on his jersey?
CREATE TABLE "a" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text );
SELECT "player" FROM "a" WHERE "jersey_number_s"='2';
2-16772687-2
What position is from Georgia Tech?
CREATE TABLE "a" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text );
SELECT "position" FROM "a" WHERE "from"='georgia tech';
2-16772687-2
What is the highest number of rebounds of the san antonio spurs?
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 "high_rebounds" FROM "game_log" WHERE "team"='san antonio spurs';
2-17382360-4
What was the score of game 4?
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 "score" FROM "game_log" WHERE "game"=4;
2-17382360-4
What is the date of the game with a w 105-88 score?
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 "date" FROM "game_log" WHERE "score"='w 105-88';
2-17382360-4
What is the game with the golden state warriors?
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 "game" FROM "game_log" WHERE "team"='golden state warriors';
2-17382360-4
What is the Pick # of the Player from Southern MIssissippi?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school" text );
SELECT COUNT("pick") FROM "nfl_draft" WHERE "school"='southern mississippi';
2-16710742-1
In what Round was Derrick Franklin picked?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school" text );
SELECT "round" FROM "nfl_draft" WHERE "player"='derrick franklin';
2-16710742-1
In what Round does Duke have a Pick larger than 9?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school" text );
SELECT COUNT("round") FROM "nfl_draft" WHERE "pick">9 AND "school"='duke';
2-16710742-1
In what Round was Tommy Norman picked?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school" text );
SELECT MAX("round") FROM "nfl_draft" WHERE "player"='tommy norman';
2-16710742-1
What is the 2000 value if the 1998 value is 1.5?
CREATE TABLE "performance_indicators_for_nwsc_1998_201" ( "1998" text, "2000" text, "2004" text, "2007" text, "2011" text );
SELECT "2000" FROM "performance_indicators_for_nwsc_1998_201" WHERE "1998"='1.5';
2-17442495-2
What is the 2004 value if the 1998 value is 35?
CREATE TABLE "performance_indicators_for_nwsc_1998_201" ( "1998" text, "2000" text, "2004" text, "2007" text, "2011" text );
SELECT "2004" FROM "performance_indicators_for_nwsc_1998_201" WHERE "1998"='35';
2-17442495-2
What is the 1998 value if the 2000 value is 25?
CREATE TABLE "performance_indicators_for_nwsc_1998_201" ( "1998" text, "2000" text, "2004" text, "2007" text, "2011" text );
SELECT "1998" FROM "performance_indicators_for_nwsc_1998_201" WHERE "2000"='25';
2-17442495-2
What is the 1998 value if the 2007 value is 8?
CREATE TABLE "performance_indicators_for_nwsc_1998_201" ( "1998" text, "2000" text, "2004" text, "2007" text, "2011" text );
SELECT "1998" FROM "performance_indicators_for_nwsc_1998_201" WHERE "2007"='8';
2-17442495-2
What is the 2000 value if the 1998 value is 1.5?
CREATE TABLE "performance_indicators_for_nwsc_1998_201" ( "1998" text, "2000" text, "2004" text, "2007" text, "2011" text );
SELECT "2000" FROM "performance_indicators_for_nwsc_1998_201" WHERE "1998"='1.5';
2-17442495-2
What is the 1998 value if the 2011 value is 30.4?
CREATE TABLE "performance_indicators_for_nwsc_1998_201" ( "1998" text, "2000" text, "2004" text, "2007" text, "2011" text );
SELECT "1998" FROM "performance_indicators_for_nwsc_1998_201" WHERE "2011"='30.4';
2-17442495-2
What is the interface of the product xerox travel scanner 100?
CREATE TABLE "typical_duplex_scanners" ( "product" text, "dimensions_mm" text, "pages_per_minute_color" real, "max_page_size" text, "interface" text );
SELECT "interface" FROM "typical_duplex_scanners" WHERE "product"='xerox travel scanner 100';
2-16409745-1
What is the pages per minute (color) of the machine that has a max page size of a4 and dimensions (mm) of 303 x 94 x 60?
CREATE TABLE "typical_duplex_scanners" ( "product" text, "dimensions_mm" text, "pages_per_minute_color" real, "max_page_size" text, "interface" text );
SELECT "pages_per_minute_color" FROM "typical_duplex_scanners" WHERE "max_page_size"='a4' AND "dimensions_mm"='303 x 94 x 60';
2-16409745-1
What club had Guus Hiddink as outgoing manager?
CREATE TABLE "end_of_season_managerial_changes" ( "name" text, "club" text, "date_of_departure" text, "replacement" text, "date_of_appointment" text );
SELECT "club" FROM "end_of_season_managerial_changes" WHERE "name"='guus hiddink';
2-17005932-2
When did Brendan Rodgers depart his position?
CREATE TABLE "end_of_season_managerial_changes" ( "name" text, "club" text, "date_of_departure" text, "replacement" text, "date_of_appointment" text );
SELECT "date_of_departure" FROM "end_of_season_managerial_changes" WHERE "name"='brendan rodgers';
2-17005932-2
On what date was Paulo Sousa appointed?
CREATE TABLE "end_of_season_managerial_changes" ( "name" text, "club" text, "date_of_departure" text, "replacement" text, "date_of_appointment" text );
SELECT "date_of_appointment" FROM "end_of_season_managerial_changes" WHERE "replacement"='paulo sousa';
2-17005932-2
Who had the high rebounds, and how many did he have, for the game played on April 9?
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 "high_rebounds" FROM "game_log" WHERE "date"='april 9';
2-17355408-9
What date did a game have a time of 3:44?
CREATE TABLE "philadelphia_phillies_vs_los_angeles_dod" ( "game" real, "date" text, "score" text, "location" text, "time" text, "attendance" real );
SELECT "date" FROM "philadelphia_phillies_vs_los_angeles_dod" WHERE "time"='3:44';
2-17572011-1
What was the attendance for the game after game 4?
CREATE TABLE "philadelphia_phillies_vs_los_angeles_dod" ( "game" real, "date" text, "score" text, "location" text, "time" text, "attendance" real );
SELECT "attendance" FROM "philadelphia_phillies_vs_los_angeles_dod" WHERE "game">4;
2-17572011-1
WHAT IS THE TYPE OF LAND WITH A 2010 POPULATION GREATER THAN 2539, A RURAL AREA, AND A 2007 POPULATION OF 2572?
CREATE TABLE "barangays" ( "barangay" text, "urban_rural" text, "geographic_character" text, "population_2007" real, "population_2010" real );
SELECT "geographic_character" FROM "barangays" WHERE "population_2010">2539 AND "urban_rural"='rural' AND "population_2007"=2572;
2-1675378-1
WHAT IS THE TYPE OF LAND WITH A 2007 POPULATION SMALLER THAN 4346, 2010 POPULATION LARGER THAN 3385, FROM BARANGAY OF MANALONGON?
CREATE TABLE "barangays" ( "barangay" text, "urban_rural" text, "geographic_character" text, "population_2007" real, "population_2010" real );
SELECT "geographic_character" FROM "barangays" WHERE "population_2007"<4346 AND "population_2010">3385 AND "barangay"='manalongon';
2-1675378-1
WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WAS SMALLER THAN 1282?
CREATE TABLE "barangays" ( "barangay" text, "urban_rural" text, "geographic_character" text, "population_2007" real, "population_2010" real );
SELECT COUNT("population_2007") FROM "barangays" WHERE "population_2010"<1282;
2-1675378-1
What is the number of points when the played is less than 30?
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 "played"<30;
2-17608926-2
What is the number of goals when the goal difference was less than 43, and the position less than 3?
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 SUM("goals_for") FROM "group_i" WHERE "goal_difference"<43 AND "position"<3;
2-17608926-2
What is the position when the points were less than 34, draws of 7, and a Club of sd eibar?
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("position") FROM "group_i" WHERE "points"<34 AND "draws"=7 AND "club"='sd eibar';
2-17608926-2
What is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14?
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 "goals_against" FROM "group_i" WHERE "goal_difference"<43 AND "wins"<13 AND "losses">14;
2-17608926-2
What is the highest Goal Difference when the goals against were less than 76, and the position larger than 5, and a Played larger than 30?
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("goal_difference") FROM "group_i" WHERE "goals_against"<76 AND "position">5 AND "played">30;
2-17608926-2
Who is the producer for the director Richard Clark?
CREATE TABLE "production" ( "block" real, "director" text, "writers" text, "producer" text, "code" text );
SELECT "producer" FROM "production" WHERE "director"='richard clark';
2-16795109-3
What is the lowest block for director Graeme Harper?
CREATE TABLE "production" ( "block" real, "director" text, "writers" text, "producer" text, "code" text );
SELECT MIN("block") FROM "production" WHERE "director"='graeme harper';
2-16795109-3
What is the skip when the country is finland?
CREATE TABLE "standings" ( "country" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends_f_a" text, "stolen_ends_for" real, "stolen_ends_against" real, "shot_pct" real );
SELECT "skip" FROM "standings" WHERE "country"='finland';
2-16684420-2
What is the lowest ends lost when the stolen ends for is less than 13, and stolten ends against is 6?
CREATE TABLE "standings" ( "country" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends_f_a" text, "stolen_ends_for" real, "stolen_ends_against" real, "shot_pct" real );
SELECT MIN("ends_lost") FROM "standings" WHERE "stolen_ends_for"<13 AND "stolen_ends_against"=6;
2-16684420-2
What is the sum shot % when the country is finland, and an ends lost is larger than 49?
CREATE TABLE "standings" ( "country" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends_f_a" text, "stolen_ends_for" real, "stolen_ends_against" real, "shot_pct" real );
SELECT SUM("shot_pct") FROM "standings" WHERE "country"='finland' AND "ends_lost">49;
2-16684420-2
What is the stolen ends against for a bank ends f/a of 4/7, and a country of china?
CREATE TABLE "standings" ( "country" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends_f_a" text, "stolen_ends_for" real, "stolen_ends_against" real, "shot_pct" real );
SELECT "stolen_ends_against" FROM "standings" WHERE "blank_ends_f_a"='4/7' AND "country"='china';
2-16684420-2
what is the location when the year is after 1974 and the date is september 19?
CREATE TABLE "1970s_eagles_15_4_1" ( "year" real, "date" text, "winner" text, "result" text, "location" text );
SELECT "location" FROM "1970s_eagles_15_4_1" WHERE "year">1974 AND "date"='september 19';
2-16900662-6
what is the location when the year is before 1979 and the result is 19-17?
CREATE TABLE "1970s_eagles_15_4_1" ( "year" real, "date" text, "winner" text, "result" text, "location" text );
SELECT "location" FROM "1970s_eagles_15_4_1" WHERE "year"<1979 AND "result"='19-17';
2-16900662-6
what is the result for 1970 at yankee stadium?
CREATE TABLE "1970s_eagles_15_4_1" ( "year" real, "date" text, "winner" text, "result" text, "location" text );
SELECT "result" FROM "1970s_eagles_15_4_1" WHERE "year"=1970 AND "location"='yankee stadium';
2-16900662-6
what is the year when the location is yankee stadium and the result is 23-23
CREATE TABLE "1970s_eagles_15_4_1" ( "year" real, "date" text, "winner" text, "result" text, "location" text );
SELECT AVG("year") FROM "1970s_eagles_15_4_1" WHERE "location"='yankee stadium' AND "result"='23-23';
2-16900662-6
Which Scottish Cup has a League Cup of 95, and a Europe larger than 23?
CREATE TABLE "appearances" ( "name" text, "years" text, "league" real, "scottish_cup" real, "league_cup" real, "europe" real, "total" real );
SELECT MIN("scottish_cup") FROM "appearances" WHERE "league_cup"=95 AND "europe">23;
2-16514803-1
Which Total has a Name of eoin jess category:articles with hcards, and a Scottish Cup larger than 23?
CREATE TABLE "appearances" ( "name" text, "years" text, "league" real, "scottish_cup" real, "league_cup" real, "europe" real, "total" real );
SELECT MIN("total") FROM "appearances" WHERE "name"='eoin jess category:articles with hcards' AND "scottish_cup">23;
2-16514803-1
Which Total has a Name of alex mcleish category:articles with hcards, and a League smaller than 494?
CREATE TABLE "appearances" ( "name" text, "years" text, "league" real, "scottish_cup" real, "league_cup" real, "europe" real, "total" real );
SELECT AVG("total") FROM "appearances" WHERE "name"='alex mcleish category:articles with hcards' AND "league"<494;
2-16514803-1
Which League Cup has a Scottish Cup larger than 69?
CREATE TABLE "appearances" ( "name" text, "years" text, "league" real, "scottish_cup" real, "league_cup" real, "europe" real, "total" real );
SELECT SUM("league_cup") FROM "appearances" WHERE "scottish_cup">69;
2-16514803-1
Which Scottish Cup has a League smaller than 561, Years of 1989–1995 1997–2001, and Europe smaller than 11?
CREATE TABLE "appearances" ( "name" text, "years" text, "league" real, "scottish_cup" real, "league_cup" real, "europe" real, "total" real );
SELECT COUNT("scottish_cup") FROM "appearances" WHERE "league"<561 AND "years"='1989–1995 1997–2001' AND "europe"<11;
2-16514803-1
What is the highest pick of the houston oilers NFL club, which has a round greater than 10?
CREATE TABLE "team_players_drafted_into_the_nfl" ( "player" text, "position" text, "round" real, "pick" real, "nfl_club" text );
SELECT MAX("pick") FROM "team_players_drafted_into_the_nfl" WHERE "nfl_club"='houston oilers' AND "round">10;
2-17345284-2
What is the round of the new york jets NFL club?
CREATE TABLE "team_players_drafted_into_the_nfl" ( "player" text, "position" text, "round" real, "pick" real, "nfl_club" text );
SELECT "round" FROM "team_players_drafted_into_the_nfl" WHERE "nfl_club"='new york jets';
2-17345284-2
What is the sum of the round of the new york jets NFL club, which has a pick less than 166?
CREATE TABLE "team_players_drafted_into_the_nfl" ( "player" text, "position" text, "round" real, "pick" real, "nfl_club" text );
SELECT SUM("round") FROM "team_players_drafted_into_the_nfl" WHERE "nfl_club"='new york jets' AND "pick"<166;
2-17345284-2
WHAT IS THE 2012 PERFORMANCE FOR THE MADRID MASTERS?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2012" FROM "singles_performance_timeline" WHERE "tournament"='madrid masters';
2-16936274-4
WHAT IS THE 2011 PERFORMANCE FOR TOURNAMENTS PLAYED?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "singles_performance_timeline" WHERE "tournament"='tournaments played';
2-16936274-4
WHAT IS THE 2010 PERFORMANCE THAT HAD 2009 0F 0, AND FINALS TOURNAMENT?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2010" FROM "singles_performance_timeline" WHERE "2009"='0' AND "tournament"='finals';
2-16936274-4
WHAT IS THE 2009 PERFORMANCE FOR TOURNAMENTS PLAYED?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2009" FROM "singles_performance_timeline" WHERE "tournament"='tournaments played';
2-16936274-4
Who were the scorers in round 3?
CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "scorers" text, "attendance" real );
SELECT "scorers" FROM "fa_cup" WHERE "round"='round 3';
2-17577104-4
What is the H/A in the semi-final round where oldham athletic were the opponents?
CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "scorers" text, "attendance" real );
SELECT "h_a" FROM "fa_cup" WHERE "opponents"='oldham athletic' AND "round"='semi-final';
2-17577104-4
Who were the scorers in the semi-final round where oldham athletic were the opponents?
CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "scorers" text, "attendance" real );
SELECT "scorers" FROM "fa_cup" WHERE "opponents"='oldham athletic' AND "round"='semi-final';
2-17577104-4
Where was the tournament where the score was 1–6, 6–3, 3–6?
CREATE TABLE "singles_11_8_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_11_8_3" WHERE "score"='1–6, 6–3, 3–6';
2-17436425-8
Who did thomaz bellucci play against when the score was 4–6, 6–4, 6–2?
CREATE TABLE "singles_11_8_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_11_8_3" WHERE "score"='4–6, 6–4, 6–2';
2-17436425-8
What was the outcome of the tournament with Akiko Yonemura as a partner on a hard surface?
CREATE TABLE "doubles_25_12_13" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "outcome" FROM "doubles_25_12_13" WHERE "surface"='hard' AND "partner"='akiko yonemura';
2-17211937-7
Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "2011"='1r' AND "2012"='1r' AND "2005"='a' AND "2010"='1r';
2-16965329-8
What is the 2010 value with a 1r in 2012 and an A in 2005?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2010" FROM "singles_performance_timeline" WHERE "2012"='1r' AND "2005"='a';
2-16965329-8
What is the tournament with a 2r in 2009 and a 2r in 2010?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "2009"='2r' AND "2010"='2r';
2-16965329-8
What is the 2011 value of the 2012 grand slam tournaments?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "singles_performance_timeline" WHERE "2012"='grand slam tournaments';
2-16965329-8
What was the record after game 45?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "game"='45';
2-17382296-6
What was the date of the game at the delta center when the record was 35-14?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "location_attendance"='delta center' AND "record"='35-14';
2-17382296-6
Who was the opponent, during the game at the location of keyarena at seattle center?
CREATE TABLE "game_log" ( "game" text, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text );
SELECT "opponent" FROM "game_log" WHERE "location_attendance"='keyarena at seattle center';
2-17382296-6
What is the label of release we are the rage with a cd format?
CREATE TABLE "selected_discography" ( "artist" text, "inst" text, "release" text, "format" text, "label" text, "year" real );
SELECT "label" FROM "selected_discography" WHERE "format"='cd' AND "release"='we are the rage';
2-17556508-1
Who was the winning team before 1956 on October 21?
CREATE TABLE "1950s_giants_13_7" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT "winner" FROM "1950s_giants_13_7" WHERE "year"<1956 AND "date"='october 21';
2-16900662-4
Who was the loser when the New York Giants were the winners on November 14?
CREATE TABLE "1950s_giants_13_7" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT "loser" FROM "1950s_giants_13_7" WHERE "winner"='new york giants' AND "date"='november 14';
2-16900662-4
Who was the winner when the Philadelphia eagles were the losers after 1958 at Yankee Stadium?
CREATE TABLE "1950s_giants_13_7" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT "winner" FROM "1950s_giants_13_7" WHERE "loser"='philadelphia eagles' AND "location"='yankee stadium' AND "year">1958;
2-16900662-4
What location was the game with the result of 29-14?
CREATE TABLE "1950s_giants_13_7" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text );
SELECT "location" FROM "1950s_giants_13_7" WHERE "result"='29-14';
2-16900662-4
What is the score of the wigan athletic home team?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "first_round_proper" WHERE "home_team"='wigan athletic';
2-17437287-1
What is the away team with a 2 tie no.?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "away_team" FROM "first_round_proper" WHERE "tie_no"='2';
2-17437287-1
What is the away team for the home team wigan athletic?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "away_team" FROM "first_round_proper" WHERE "home_team"='wigan athletic';
2-17437287-1
What is the score on 23 November 1983 with exeter city as the away team?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "first_round_proper" WHERE "date"='23 november 1983' AND "away_team"='exeter city';
2-17437287-1