answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT COUNT(ends) FROM table_name_80 WHERE transfer_fee = "dkk 14m" | CREATE TABLE table_name_80 (ends VARCHAR, transfer_fee VARCHAR) | What is the total number of ends when the transfer fee was dkk 14m? |
SELECT name FROM table_name_39 WHERE transfer_fee = "dkk 6m" | CREATE TABLE table_name_39 (name VARCHAR, transfer_fee VARCHAR) | Who had a transfer fee of dkk 6m? |
SELECT place FROM table_name_83 WHERE score = 68 - 68 = 136 AND player = "craig parry" | CREATE TABLE table_name_83 (place VARCHAR, player VARCHAR, score VARCHAR) | Craig Parry with a score of 68-68=136 is in what place? |
SELECT place FROM table_name_21 WHERE country = "spain" | CREATE TABLE table_name_21 (place VARCHAR, country VARCHAR) | What place is the golfer in who is from Spain? |
SELECT country FROM table_name_47 WHERE score = 72 - 65 = 137 | CREATE TABLE table_name_47 (country VARCHAR, score VARCHAR) | For what country does the golfer play who has a score of 72-65=137? |
SELECT place FROM table_name_6 WHERE player = "steve pate" | CREATE TABLE table_name_6 (place VARCHAR, player VARCHAR) | Golfer Steve Pate is in what place? |
SELECT bolton_wanderers_career FROM table_name_77 WHERE apps = 293 | CREATE TABLE table_name_77 (bolton_wanderers_career VARCHAR, apps VARCHAR) | Which Bolton Wanderers career has 293 Apps? |
SELECT bolton_wanderers_career FROM table_name_75 WHERE total > 404 AND position = "fw" AND apps < 492 AND goals = "79" | CREATE TABLE table_name_75 (bolton_wanderers_career VARCHAR, goals VARCHAR, apps VARCHAR, total VARCHAR, position VARCHAR) | Which Bolton Wanderers career has a Total larger than 404, and a Position of fw, and Apps less than 492, and 79 Goals? |
SELECT SUM(apps) FROM table_name_42 WHERE goals = "28" AND total < 191 | CREATE TABLE table_name_42 (apps INTEGER, goals VARCHAR, total VARCHAR) | How many apps have 28 goals, and a Total smaller than 191? |
SELECT date FROM table_name_61 WHERE home_team = "sheffield wednesday" | CREATE TABLE table_name_61 (date VARCHAR, home_team VARCHAR) | On what Date is Sheffield Wednesday the Home team? |
SELECT tie_no FROM table_name_61 WHERE away_team = "blackburn rovers" | CREATE TABLE table_name_61 (tie_no VARCHAR, away_team VARCHAR) | What is the Tie no of the Blackburn Rovers Away game? |
SELECT away_team FROM table_name_33 WHERE score = "2β0" AND home_team = "wolverhampton wanderers" | CREATE TABLE table_name_33 (away_team VARCHAR, score VARCHAR, home_team VARCHAR) | What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2β0? |
SELECT home_team FROM table_name_70 WHERE away_team = "blackburn rovers" | CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR) | What is the Home team at the Blackburn Rovers Away game? |
SELECT home_team FROM table_name_17 WHERE score = "2β3" | CREATE TABLE table_name_17 (home_team VARCHAR, score VARCHAR) | What is the Home team in the game with a Score of 2β3? |
SELECT 1 AS st_leg FROM table_name_98 WHERE team_2 = "lyon" | CREATE TABLE table_name_98 (team_2 VARCHAR) | What is the 1st leg with Team 2 Lyon? |
SELECT team_1 FROM table_name_81 WHERE team_2 = "sporting cp" | CREATE TABLE table_name_81 (team_1 VARCHAR, team_2 VARCHAR) | Which team is Team 1 with a Team 2 being Sporting CP? |
SELECT 2 AS nd_leg FROM table_name_54 WHERE team_1 = "servette" | CREATE TABLE table_name_54 (team_1 VARCHAR) | What is the second leg for Team 1 Servette? |
SELECT 1999 FROM table_name_47 WHERE tournament = "us open" | CREATE TABLE table_name_47 (tournament VARCHAR) | What was the 1999 Tournament at the US Open? |
SELECT tournament FROM table_name_38 WHERE 1988 = "a" AND 1999 = "2r" | CREATE TABLE table_name_38 (tournament VARCHAR) | What tournament was an A 1988, and a 2R 1999? |
SELECT 1991 FROM table_name_92 WHERE 1999 = "2r" | CREATE TABLE table_name_92 (Id VARCHAR) | What is the 1991 for 2R 1999? |
SELECT 1999 FROM table_name_45 WHERE 1991 = "a" AND 1997 = "1r" | CREATE TABLE table_name_45 (Id VARCHAR) | What is the 1999 for an A 1991, and a 1r 1997? |
SELECT 1991 FROM table_name_34 WHERE 1996 = "2r" | CREATE TABLE table_name_34 (Id VARCHAR) | What is the 1991 with a 2r 1996? |
SELECT date FROM table_name_36 WHERE attendance > 74 OFFSET 382 | CREATE TABLE table_name_36 (date VARCHAR, attendance INTEGER) | When was the Attendance larger than 74,382? |
SELECT venue FROM table_name_16 WHERE status = "five nations" AND against = 22 | CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR) | Which venue has a status of Five Nations and an against of 22? |
SELECT SUM(round) FROM table_name_73 WHERE opponent = "brett chism" | CREATE TABLE table_name_73 (round INTEGER, opponent VARCHAR) | What is the sum of the rounds of the match with brett chism as the opponent? |
SELECT MIN(round) FROM table_name_8 WHERE time = "5:00" AND event = "wild bill's fight night 21" | CREATE TABLE table_name_8 (round INTEGER, time VARCHAR, event VARCHAR) | What is the lwoest round of wild bill's fight night 21 at 5:00? |
SELECT country FROM table_name_99 WHERE to_par < 7 AND place = "1" | CREATE TABLE table_name_99 (country VARCHAR, to_par VARCHAR, place VARCHAR) | Which Country has a To par smaller than 7, and a Place of 1? |
SELECT place FROM table_name_64 WHERE country = "australia" AND score = 70 - 70 - 72 = 212 | CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR, score VARCHAR) | Which Place has a Country of australia, and a Score of 70-70-72=212? |
SELECT score FROM table_name_27 WHERE place = "t9" AND country = "sweden" | CREATE TABLE table_name_27 (score VARCHAR, place VARCHAR, country VARCHAR) | What was sweden's score in T9 place? |
SELECT MAX(to_par) FROM table_name_47 WHERE country = "england" AND place = "t9" AND player = "graeme storm" | CREATE TABLE table_name_47 (to_par INTEGER, player VARCHAR, country VARCHAR, place VARCHAR) | Which To par has a Country of england, and a Place of t9, and a Player of graeme storm? |
SELECT distance FROM table_name_39 WHERE venue = "belgrade" | CREATE TABLE table_name_39 (distance VARCHAR, venue VARCHAR) | What is Distance, when Venue is "Belgrade"? |
SELECT date FROM table_name_15 WHERE athlete = "yussuf alli" | CREATE TABLE table_name_15 (date VARCHAR, athlete VARCHAR) | What is Date, when Athlete is "Yussuf Alli"? |
SELECT distance FROM table_name_57 WHERE athlete = "irving saladino" | CREATE TABLE table_name_57 (distance VARCHAR, athlete VARCHAR) | What is Distance, when Athlete is "Irving Saladino"? |
SELECT athlete FROM table_name_12 WHERE nation = "nigeria" | CREATE TABLE table_name_12 (athlete VARCHAR, nation VARCHAR) | What is Athlete, when Nation is "Nigeria"? |
SELECT nation FROM table_name_67 WHERE date = "2004-07-22" | CREATE TABLE table_name_67 (nation VARCHAR, date VARCHAR) | What is Nation, when Date is "2004-07-22"? |
SELECT distance FROM table_name_18 WHERE date = "2008-01-12" | CREATE TABLE table_name_18 (distance VARCHAR, date VARCHAR) | What is Distance, when Date is "2008-01-12"? |
SELECT week FROM table_name_58 WHERE result = "w 48β20" | CREATE TABLE table_name_58 (week VARCHAR, result VARCHAR) | What is the Week of the game with a Result of w 48β20? |
SELECT record FROM table_name_82 WHERE result = "l 14β16" | CREATE TABLE table_name_82 (record VARCHAR, result VARCHAR) | What is the Record of the game with a Result of l 14β16? |
SELECT date FROM table_name_86 WHERE record = "2β3β1" | CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR) | What is the Date of the game with a Record of 2β3β1? |
SELECT opponent FROM table_name_41 WHERE round = "32" | CREATE TABLE table_name_41 (opponent VARCHAR, round VARCHAR) | What opponent has 32 as the round? |
SELECT year_ceremony FROM table_name_53 WHERE english_title = "kelin" | CREATE TABLE table_name_53 (year_ceremony VARCHAR, english_title VARCHAR) | What year was Kelin nominated? |
SELECT COUNT(to_par) FROM table_name_49 WHERE score = 76 - 71 - 78 - 67 = 292 | CREATE TABLE table_name_49 (to_par VARCHAR, score VARCHAR) | What was the to par score in the match that had a score of 76-71-78-67=292? |
SELECT AVG(to_par) FROM table_name_88 WHERE player = "robert allenby" | CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR) | What is Robert Allenby's average to par score? |
SELECT tournament FROM table_name_1 WHERE 2009 = "1r" AND 2012 = "w" | CREATE TABLE table_name_1 (tournament VARCHAR) | Can you tell me the Tournament that has the 2009 of 1r, and the 2012 of w? |
SELECT 2010 FROM table_name_44 WHERE 2008 = "grand slam tournaments" | CREATE TABLE table_name_44 (Id VARCHAR) | Can you tell me the 2010 that has the 2008 of grand slam tournaments? |
SELECT 2009 FROM table_name_50 WHERE 2011 = "a" | CREATE TABLE table_name_50 (Id VARCHAR) | Can you tell me the 2009 that has the 2011 of A? |
SELECT AVG(to_par) FROM table_name_28 WHERE total = 155 | CREATE TABLE table_name_28 (to_par INTEGER, total VARCHAR) | What is the to par for the player with total of 155? |
SELECT bronze FROM table_name_31 WHERE notes = "2.5km, 16controls" | CREATE TABLE table_name_31 (bronze VARCHAR, notes VARCHAR) | Who won Bronze with Notes of 2.5km, 16controls? |
SELECT gold FROM table_name_32 WHERE year > 2004 AND notes = "2.73km, 14controls" | CREATE TABLE table_name_32 (gold VARCHAR, year VARCHAR, notes VARCHAR) | Who won Gold later than 2004 with Notes of 2.73km, 14controls? |
SELECT bronze FROM table_name_60 WHERE notes = "2.5km, 14controls" | CREATE TABLE table_name_60 (bronze VARCHAR, notes VARCHAR) | Who won Bronze with notes of 2.5km, 14controls? |
SELECT notes FROM table_name_77 WHERE year < 2006 AND silver = "jenny johansson" | CREATE TABLE table_name_77 (notes VARCHAR, year VARCHAR, silver VARCHAR) | What are the Notes against a Silver for Jenny Johansson earlier than 2006? |
SELECT constituency_number FROM table_name_8 WHERE name = "meerut" | CREATE TABLE table_name_8 (constituency_number VARCHAR, name VARCHAR) | What is the Constituency number for Meerut? |
SELECT name FROM table_name_38 WHERE constituency_number = "48" | CREATE TABLE table_name_38 (name VARCHAR, constituency_number VARCHAR) | What is the name for the constituency at number 48? |
SELECT rank FROM table_name_19 WHERE bronze > 3 | CREATE TABLE table_name_19 (rank VARCHAR, bronze INTEGER) | When bronze is more than 3, what is the rank? |
SELECT SUM(gold) FROM table_name_17 WHERE rank = "7" AND silver < 0 | CREATE TABLE table_name_17 (gold INTEGER, rank VARCHAR, silver VARCHAR) | When rank is 7 and silver is less than 0, what is the total gold? |
SELECT player FROM table_name_84 WHERE country = "wales" | CREATE TABLE table_name_84 (player VARCHAR, country VARCHAR) | What player is from Wales? |
SELECT player FROM table_name_78 WHERE score = 73 - 68 - 66 = 207 | CREATE TABLE table_name_78 (player VARCHAR, score VARCHAR) | What player scored 73-68-66=207? |
SELECT score FROM table_name_82 WHERE player = "seve ballesteros" | CREATE TABLE table_name_82 (score VARCHAR, player VARCHAR) | What Seve Ballesteros's score? |
SELECT country FROM table_name_59 WHERE player = "craig parry" | CREATE TABLE table_name_59 (country VARCHAR, player VARCHAR) | What country is Craig Parry from? |
SELECT country FROM table_name_69 WHERE score = 66 - 73 - 69 = 208 | CREATE TABLE table_name_69 (country VARCHAR, score VARCHAR) | What country has a score of 66-73-69=208? |
SELECT road_team FROM table_name_36 WHERE result = "74-71" | CREATE TABLE table_name_36 (road_team VARCHAR, result VARCHAR) | What is Road Team, when Result is "74-71"? |
SELECT result FROM table_name_54 WHERE date = "april 3" | CREATE TABLE table_name_54 (result VARCHAR, date VARCHAR) | What is Result, when Date is "April 3"? |
SELECT game FROM table_name_47 WHERE road_team = "syracuse" AND result = "96-89" | CREATE TABLE table_name_47 (game VARCHAR, road_team VARCHAR, result VARCHAR) | What is Game, when Road Team is "Syracuse", and when Result is "96-89"? |
SELECT home_team FROM table_name_58 WHERE date = "april 10" | CREATE TABLE table_name_58 (home_team VARCHAR, date VARCHAR) | What is Home Team, when Date is "April 10"? |
SELECT game FROM table_name_77 WHERE road_team = "syracuse" AND result = "109-82" | CREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR) | What is Game, when Road Team is "Syracuse", and when Result is "109-82"? |
SELECT road_team FROM table_name_29 WHERE date = "april 10" | CREATE TABLE table_name_29 (road_team VARCHAR, date VARCHAR) | What is Road Team, when Date is "April 10"? |
SELECT MIN(round) FROM table_name_26 WHERE player = "neil colzie" AND pick < 24 | CREATE TABLE table_name_26 (round INTEGER, player VARCHAR, pick VARCHAR) | What was the earliest round with Neil Colzie and a pick smaller than 24? |
SELECT score FROM table_name_84 WHERE tie_no = "replay" AND away_team = "watford" | CREATE TABLE table_name_84 (score VARCHAR, tie_no VARCHAR, away_team VARCHAR) | What was the score of the replay game when watford was the away team? |
SELECT home_team FROM table_name_8 WHERE away_team = "walsall" | CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR) | Who was the home team when walsall was the away team? |
SELECT name FROM table_name_15 WHERE venue = "hong kong" | CREATE TABLE table_name_15 (name VARCHAR, venue VARCHAR) | What is Name, when Venue is "Hong Kong"? |
SELECT name FROM table_name_71 WHERE venue = "motherwell" | CREATE TABLE table_name_71 (name VARCHAR, venue VARCHAR) | What is Name, when Venue is "Motherwell"? |
SELECT runners_up FROM table_name_95 WHERE champions = "stefan edberg" AND year = 1987 | CREATE TABLE table_name_95 (runners_up VARCHAR, champions VARCHAR, year VARCHAR) | In 1987, what is the Runners-up when Stefan Edberg is Champion? |
SELECT runners_up FROM table_name_80 WHERE champions = "ivan lendl" AND name_of_tournament = "seiko super tennis" AND year < 1990 | CREATE TABLE table_name_80 (runners_up VARCHAR, year VARCHAR, champions VARCHAR, name_of_tournament VARCHAR) | What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament? |
SELECT name_of_tournament FROM table_name_84 WHERE champions = "boris becker" AND score = "7β6, 6β4" | CREATE TABLE table_name_84 (name_of_tournament VARCHAR, champions VARCHAR, score VARCHAR) | In What Tournament did Boris Becker have a Score of 7β6, 6β4? |
SELECT external_weapon FROM table_name_17 WHERE shield_animal = "falcon" | CREATE TABLE table_name_17 (external_weapon VARCHAR, shield_animal VARCHAR) | What is the external weapon with the falcon shield animal? |
SELECT cart FROM table_name_47 WHERE shield_animal = "serpent" | CREATE TABLE table_name_47 (cart VARCHAR, shield_animal VARCHAR) | What cart has a serpent shield animal? |
SELECT external_weapon FROM table_name_26 WHERE knight = "zeke" | CREATE TABLE table_name_26 (external_weapon VARCHAR, knight VARCHAR) | What is the external weapon of knight zeke? |
SELECT shield_animal FROM table_name_57 WHERE knight = "phil" | CREATE TABLE table_name_57 (shield_animal VARCHAR, knight VARCHAR) | What is the shield animal of knight phil? |
SELECT external_weapon FROM table_name_59 WHERE cart = "ramhead cart" | CREATE TABLE table_name_59 (external_weapon VARCHAR, cart VARCHAR) | What is the external weapon with a ramhead cart? |
SELECT date FROM table_name_51 WHERE away_team = "sheffield wednesday" | CREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR) | On what date was the away team Sheffield Wednesday? |
SELECT tie_no FROM table_name_81 WHERE away_team = "hartlepool united" | CREATE TABLE table_name_81 (tie_no VARCHAR, away_team VARCHAR) | What was the tie number for the game with an away team of Hartlepool United? |
SELECT score FROM table_name_16 WHERE tie_no = "16" | CREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR) | What was the score in Tie number 16? |
SELECT duration FROM table_name_47 WHERE province = "zeeland" | CREATE TABLE table_name_47 (duration VARCHAR, province VARCHAR) | What is the duration of the commissioner from the zeeland province? |
SELECT round FROM table_name_83 WHERE h___a = "a" AND opponents = "sheffield united" | CREATE TABLE table_name_83 (round VARCHAR, h___a VARCHAR, opponents VARCHAR) | Rich round has an H/A of A and the opponent Sheffield United? |
SELECT SUM(population__2008_) FROM table_name_1 WHERE capital = "sanniquellie" AND created > 1964 | CREATE TABLE table_name_1 (population__2008_ INTEGER, capital VARCHAR, created VARCHAR) | What is the population (2008) when the capital was Sanniquellie, created later than 1964? |
SELECT MAX(population__2008_) FROM table_name_69 WHERE created < 1857 AND county = "sinoe" | CREATE TABLE table_name_69 (population__2008_ INTEGER, created VARCHAR, county VARCHAR) | What is the highest population (2008) created earlier than 1857, and the county was Sinoe? |
SELECT MIN(created) FROM table_name_33 WHERE map_number = 10 | CREATE TABLE table_name_33 (created INTEGER, map_number VARCHAR) | What is the earliest created year when the map# was 10? |
SELECT venue FROM table_name_47 WHERE score = "0β0" | CREATE TABLE table_name_47 (venue VARCHAR, score VARCHAR) | What is the Venue of the game with a Score of 0β0? |
SELECT venue FROM table_name_58 WHERE competition = "friendly" AND score = "1β4" | CREATE TABLE table_name_58 (venue VARCHAR, competition VARCHAR, score VARCHAR) | What is the Venue of the Friendly Competition with a Score of 1β4? |
SELECT venue FROM table_name_49 WHERE competition = "wcq5" | CREATE TABLE table_name_49 (venue VARCHAR, competition VARCHAR) | What is the Venue of the WCQ5 Competition? |
SELECT date FROM table_name_96 WHERE score = "2β0" | CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR) | What is the Date of the Competition with a Score of 2β0? |
SELECT venue FROM table_name_1 WHERE score = "0β2" | CREATE TABLE table_name_1 (venue VARCHAR, score VARCHAR) | What is the Venue of the Competition with a Score of 0β2? |
SELECT venue FROM table_name_89 WHERE score = "2β0" | CREATE TABLE table_name_89 (venue VARCHAR, score VARCHAR) | What is the Venue of the Competition with a Score of 2β0? |
SELECT binary_meaning FROM table_name_91 WHERE symbol = "p" | CREATE TABLE table_name_91 (binary_meaning VARCHAR, symbol VARCHAR) | What is the binary meaning for symbol p? |
SELECT si_meaning FROM table_name_40 WHERE symbol = "m" | CREATE TABLE table_name_40 (si_meaning VARCHAR, symbol VARCHAR) | What;s the SI Meaning for symbol m? |
SELECT size_difference FROM table_name_29 WHERE prefix = "exa" | CREATE TABLE table_name_29 (size_difference VARCHAR, prefix VARCHAR) | What is the size difference for exa? |
SELECT score FROM table_name_32 WHERE champion = "masahiro kawamura" | CREATE TABLE table_name_32 (score VARCHAR, champion VARCHAR) | What is the score of champion masahiro kawamura? |
SELECT dates FROM table_name_6 WHERE tournament_location = "ibaraki country club" AND champion = "masahiro kawamura" | CREATE TABLE table_name_6 (dates VARCHAR, tournament_location VARCHAR, champion VARCHAR) | What dates was champion masahiro kawamura at the ibaraki country club tournament? |
SELECT champion FROM table_name_96 WHERE purse = "Β₯200,000,000" | CREATE TABLE table_name_96 (champion VARCHAR, purse VARCHAR) | Who is the champion with a Β₯200,000,000 purse? |
SELECT MAX(round) FROM table_name_34 WHERE nationality = "canada" AND draft < 1970 AND pick = 7 | CREATE TABLE table_name_34 (round INTEGER, pick VARCHAR, nationality VARCHAR, draft VARCHAR) | What round had Canada with a draft of 1970 and a pick of 7? |
Subsets and Splits