answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT score FROM table_name_89 WHERE tie_no = 6
CREATE TABLE table_name_89 (score VARCHAR, tie_no VARCHAR)
What was the score when the Tie no was 6?
SELECT score FROM table_name_11 WHERE tie_no < 2
CREATE TABLE table_name_11 (score VARCHAR, tie_no INTEGER)
What was the score when the Tie no less than 2?
SELECT away_team FROM table_name_48 WHERE home_team = "sunderland"
CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR)
Who was the away team when the home team was Sunderland?
SELECT winning_team FROM table_name_75 WHERE fastest_lap = "brendon hartley" AND pole_position = "oliver turvey" AND circuit = "spa-francorchamps" AND winning_driver = "brendon hartley"
CREATE TABLE table_name_75 (winning_team VARCHAR, winning_driver VARCHAR, circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
Which Winning Team has the Fastest Lap of brendon hartley, and a Pole Position of oliver turvey, and a Circuit of spa-francorchamps, and the Winning Driver of brendon hartley?
SELECT circuit FROM table_name_93 WHERE winning_team = "carlin motorsport" AND winning_driver = "oliver turvey" AND date = "24 march"
CREATE TABLE table_name_93 (circuit VARCHAR, date VARCHAR, winning_team VARCHAR, winning_driver VARCHAR)
Which Circuit has the Winning Team of carlin motorsport, and the Winning Driver of oliver turvey, and a Date of 24 march?
SELECT MIN(round) FROM table_name_56 WHERE winning_driver = "brendon hartley" AND date = "27 april"
CREATE TABLE table_name_56 (round INTEGER, winning_driver VARCHAR, date VARCHAR)
Which Round has the Winning Driver of brendon hartley, and a Date of 27 april?
SELECT date FROM table_name_94 WHERE pole_position = "michael devaney"
CREATE TABLE table_name_94 (date VARCHAR, pole_position VARCHAR)
Which Date has a Pole Position of michael devaney?
SELECT report FROM table_name_61 WHERE winning_driver = "emerson fittipaldi"
CREATE TABLE table_name_61 (report VARCHAR, winning_driver VARCHAR)
Which Report has a Winning driver of emerson fittipaldi?
SELECT circuit FROM table_name_97 WHERE pole_position = "andré ribeiro"
CREATE TABLE table_name_97 (circuit VARCHAR, pole_position VARCHAR)
Which Circuit has a Pole position of andré ribeiro?
SELECT circuit FROM table_name_15 WHERE winning_driver = "scott pruett"
CREATE TABLE table_name_15 (circuit VARCHAR, winning_driver VARCHAR)
Which Circuit has a Winning driver of scott pruett?
SELECT winning_driver FROM table_name_46 WHERE pole_position = "bryan herta"
CREATE TABLE table_name_46 (winning_driver VARCHAR, pole_position VARCHAR)
Who's the Winning driver with a Pole position of bryan herta?
SELECT date FROM table_name_65 WHERE city_location = "vancouver, british columbia"
CREATE TABLE table_name_65 (date VARCHAR, city_location VARCHAR)
Which Date had a City/Location of vancouver, british columbia?
SELECT winning_team FROM table_name_81 WHERE pole_position = "robby gordon" AND date = "june 11"
CREATE TABLE table_name_81 (winning_team VARCHAR, pole_position VARCHAR, date VARCHAR)
Who's the Winning team with a Pole position of robby gordon, and a Date of june 11?
SELECT AVG(subject) FROM table_name_56 WHERE plural = "am(ô)ra (we)"
CREATE TABLE table_name_56 (subject INTEGER, plural VARCHAR)
What subject has a plural of am(ô)ra (we)?
SELECT round FROM table_name_83 WHERE college = "mississippi valley state"
CREATE TABLE table_name_83 (round VARCHAR, college VARCHAR)
What round was the player drafted from mississippi valley state?
SELECT college FROM table_name_13 WHERE position = "center"
CREATE TABLE table_name_13 (college VARCHAR, position VARCHAR)
What college was the draft pick from who plays center position?
SELECT record FROM table_name_39 WHERE opponent = "toronto huskies"
CREATE TABLE table_name_39 (record VARCHAR, opponent VARCHAR)
What is the record of the game with the toronto huskies as the opponent?
SELECT opponent FROM table_name_53 WHERE date = "november 14"
CREATE TABLE table_name_53 (opponent VARCHAR, date VARCHAR)
Who is the opponent on November 14?
SELECT record FROM table_name_46 WHERE game > 7 AND location = "boston garden" AND opponent = "providence steam rollers"
CREATE TABLE table_name_46 (record VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR)
What is the record of the game with a game number greater than 7 at boston garden with the providence steam rollers as the opponent?
SELECT SUM(pick) FROM table_name_69 WHERE player = "jim pilot" AND round > 5
CREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR)
What pick in round 5 did the 49ers pick Jim Pilot?
SELECT pick FROM table_name_64 WHERE round < 4 AND school_club_team = "ucla"
CREATE TABLE table_name_64 (pick VARCHAR, round VARCHAR, school_club_team VARCHAR)
What pick in a round earlier than 4 did UCLA choose their pick?
SELECT position FROM table_name_45 WHERE pick = 36
CREATE TABLE table_name_45 (position VARCHAR, pick VARCHAR)
What position did pick 36 play?
SELECT owner FROM table_name_40 WHERE winner = "miss terrible"
CREATE TABLE table_name_40 (owner VARCHAR, winner VARCHAR)
Who is the owner of Miss Terrible?
SELECT MAX(year) FROM table_name_82 WHERE time = "1:36.69"
CREATE TABLE table_name_82 (year INTEGER, time VARCHAR)
What is the most recent year that had a time of 1:36.69?
SELECT time FROM table_name_63 WHERE trainer = "todd pletcher"
CREATE TABLE table_name_63 (time VARCHAR, trainer VARCHAR)
What time does the trainer, Todd Pletcher have?
SELECT MAX(year) FROM table_name_68 WHERE winner = "iftiraas"
CREATE TABLE table_name_68 (year INTEGER, winner VARCHAR)
What is the most recent year that Iftiraas was the winner?
SELECT sport FROM table_name_25 WHERE venue = "bosse field"
CREATE TABLE table_name_25 (sport VARCHAR, venue VARCHAR)
What sport was played at the bosse field?
SELECT sport FROM table_name_26 WHERE played = "2008-2010"
CREATE TABLE table_name_26 (sport VARCHAR, played VARCHAR)
What sport was played between the years of 2008-2010?
SELECT venue FROM table_name_17 WHERE team = "evansville bluecats"
CREATE TABLE table_name_17 (venue VARCHAR, team VARCHAR)
What venue did the team, evansville bluecats play on?
SELECT team FROM table_name_75 WHERE played = "2008-2010"
CREATE TABLE table_name_75 (team VARCHAR, played VARCHAR)
What team played between the years of 2008-2010?
SELECT score FROM table_name_33 WHERE player = "craig stadler"
CREATE TABLE table_name_33 (score VARCHAR, player VARCHAR)
Name the Score of craig stadler?
SELECT score FROM table_name_45 WHERE place = "t5" AND player = "tom watson"
CREATE TABLE table_name_45 (score VARCHAR, place VARCHAR, player VARCHAR)
Name the Score that has a Place of t5 of tom watson?
SELECT place FROM table_name_83 WHERE score = 72 - 68 = 140
CREATE TABLE table_name_83 (place VARCHAR, score VARCHAR)
Name the Place with a Score of 72-68=140?
SELECT score FROM table_name_13 WHERE country = "united states" AND player = "jack nicklaus"
CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR, player VARCHAR)
Name the Score of jack nicklaus, united states, ?
SELECT place FROM table_name_35 WHERE player = "seve ballesteros"
CREATE TABLE table_name_35 (place VARCHAR, player VARCHAR)
Name the Place of seve ballesteros?
SELECT no_9 FROM table_name_37 WHERE no_4 = "ava" AND no_6 = "addison"
CREATE TABLE table_name_37 (no_9 VARCHAR, no_4 VARCHAR, no_6 VARCHAR)
Who was No. 9 when Ava was No. 4 and Addison was No. 6?
SELECT no_6 FROM table_name_78 WHERE no_2 = "emma" AND no_3 = "sophia"
CREATE TABLE table_name_78 (no_6 VARCHAR, no_2 VARCHAR, no_3 VARCHAR)
What was the No. 6 name when Emma was No. 2 and Sophia was No. 3?
SELECT no_8 FROM table_name_64 WHERE no_9 = "chloe" AND no_7 = "abigail"
CREATE TABLE table_name_64 (no_8 VARCHAR, no_9 VARCHAR, no_7 VARCHAR)
What was the No. 8 name when Chloe was No. 9 and Abigail was No. 7?
SELECT no_4 FROM table_name_83 WHERE no_5 = "madison" AND no_9 = "abigail"
CREATE TABLE table_name_83 (no_4 VARCHAR, no_5 VARCHAR, no_9 VARCHAR)
What was the No. 4 name when Madison was No. 5 and Abigail was No. 9?
SELECT player FROM table_name_66 WHERE to_par = "+2"
CREATE TABLE table_name_66 (player VARCHAR, to_par VARCHAR)
Which player had a to par score of +2?
SELECT SUM(code) FROM table_name_24 WHERE density__inh_km²_ = 621.68 AND land_area__hectares_ > 75.28
CREATE TABLE table_name_24 (code INTEGER, density__inh_km²_ VARCHAR, land_area__hectares_ VARCHAR)
How many codes have a density of 621.68, and a Land area (hectares) larger than 75.28?
SELECT AVG(density__inh_km²_) FROM table_name_33 WHERE land_area__hectares_ = 123.02 AND code > 2356
CREATE TABLE table_name_33 (density__inh_km²_ INTEGER, land_area__hectares_ VARCHAR, code VARCHAR)
What is the average density with a land area of 123.02, and a Code larger than 2356?
SELECT AVG(land_area__hectares_) FROM table_name_29 WHERE density__inh_km²_ = 815.48 AND population > 411
CREATE TABLE table_name_29 (land_area__hectares_ INTEGER, density__inh_km²_ VARCHAR, population VARCHAR)
What is the average land area with a density of 815.48, and a Population larger than 411?
SELECT date FROM table_name_10 WHERE partnering = "francesca lubiani" AND opponent_in_final = "yuliya beygelzimer / jennifer hopkins"
CREATE TABLE table_name_10 (date VARCHAR, partnering VARCHAR, opponent_in_final VARCHAR)
What is the Date, when Partnering is "Francesca Lubiani", and when Opponent in Final is "Yuliya Beygelzimer / Jennifer Hopkins"?
SELECT score FROM table_name_50 WHERE outcome = "winner" AND partnering = "nicole sewell" AND opponent_in_final = "victoria davies / kate warne-holland"
CREATE TABLE table_name_50 (score VARCHAR, opponent_in_final VARCHAR, outcome VARCHAR, partnering VARCHAR)
What is Score, when Outcome is "winner", when Partnering is "Nicole Sewell", and when Opponent in Final is "Victoria Davies / Kate Warne-Holland"?
SELECT tie_no FROM table_name_32 WHERE away_team = "manchester united"
CREATE TABLE table_name_32 (tie_no VARCHAR, away_team VARCHAR)
What is Tie No., when Away Team is "Manchester United"?
SELECT away_team FROM table_name_90 WHERE home_team = "ipswich town" AND date = "6 february 1986"
CREATE TABLE table_name_90 (away_team VARCHAR, home_team VARCHAR, date VARCHAR)
What is Away Team, when Home Team is "Ipswich Town", and when Date is "6 February 1986"?
SELECT date FROM table_name_53 WHERE home_team = "luton town"
CREATE TABLE table_name_53 (date VARCHAR, home_team VARCHAR)
What is Date, when Home Team is "Luton Town"?
SELECT away_team FROM table_name_64 WHERE date = "25 january 1986" AND tie_no = "6"
CREATE TABLE table_name_64 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR)
What is Away Team, when Date is "25 January 1986", and when Tie No is "6"?
SELECT college_junior_club_team__league_ FROM table_name_82 WHERE round > 6
CREATE TABLE table_name_82 (college_junior_club_team__league_ VARCHAR, round INTEGER)
WHAT IS THE LEAGUE WITH A ROUND LARGER THAN 6?
SELECT COUNT(round) FROM table_name_6 WHERE player = "zach boychuk"
CREATE TABLE table_name_6 (round VARCHAR, player VARCHAR)
WHAT IS THE ROUND FOR ZACH BOYCHUK?
SELECT position FROM table_name_4 WHERE nationality = "canada" AND round < 7 AND player = "zach boychuk"
CREATE TABLE table_name_4 (position VARCHAR, player VARCHAR, nationality VARCHAR, round VARCHAR)
WHAT IS THE POSITION FOR CANADA, ROUND SMALLER THAN 7, PLAYER ZACH BOYCHUK?
SELECT date FROM table_name_27 WHERE week = 8
CREATE TABLE table_name_27 (date VARCHAR, week VARCHAR)
What was the date of week 8?
SELECT result FROM table_name_3 WHERE date = "september 8, 1985"
CREATE TABLE table_name_3 (result VARCHAR, date VARCHAR)
What was the result of the September 8, 1985 game?
SELECT date FROM table_name_76 WHERE bills_first_downs < 28 AND opponent = "oakland raiders"
CREATE TABLE table_name_76 (date VARCHAR, bills_first_downs VARCHAR, opponent VARCHAR)
Which date did the oakland raiders play as the opponent when the Bills first downs were under 28?
SELECT paraguay_scorers FROM table_name_1 WHERE date = "june 15, 2008"
CREATE TABLE table_name_1 (paraguay_scorers VARCHAR, date VARCHAR)
Who were the Paraguay scorers on June 15, 2008?
SELECT to_par FROM table_name_56 WHERE finish = "t14"
CREATE TABLE table_name_56 (to_par VARCHAR, finish VARCHAR)
What is the To par of the player with a t14 Finish?
SELECT country FROM table_name_35 WHERE player = "raymond floyd"
CREATE TABLE table_name_35 (country VARCHAR, player VARCHAR)
What country is player Raymond Floyd from?
SELECT year_s__won FROM table_name_21 WHERE country = "united states" AND to_par = "+4"
CREATE TABLE table_name_21 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR)
What is the Year(s) won from the United States as country with a To Par of +4?
SELECT player FROM table_name_10 WHERE country = "united states" AND place = "t2"
CREATE TABLE table_name_10 (player VARCHAR, country VARCHAR, place VARCHAR)
Who is the player from the United States and a place of t2?
SELECT SUM(category_1) FROM table_name_89 WHERE category_3 = "300"
CREATE TABLE table_name_89 (category_1 INTEGER, category_3 VARCHAR)
What's the sum of all values in category 1 when category 3 is equal to 300?
SELECT category_3 FROM table_name_77 WHERE category_1 = 0.05
CREATE TABLE table_name_77 (category_3 VARCHAR, category_1 VARCHAR)
If category 1 is 0.05, what is category 3?
SELECT player FROM table_name_53 WHERE average = 38.22
CREATE TABLE table_name_53 (player VARCHAR, average VARCHAR)
Which player has an average of 38.22?
SELECT MAX(matches) FROM table_name_35 WHERE wickets > 13 AND team = "australia" AND best_bowling = "5/36" AND average < 23.33
CREATE TABLE table_name_35 (matches INTEGER, average VARCHAR, best_bowling VARCHAR, wickets VARCHAR, team VARCHAR)
What is the highest number of matches for Australia when the wickets are more than 13, the average is less than 23.33, and the best bowling is 5/36?
SELECT COUNT(average) FROM table_name_57 WHERE team = "england" AND wickets < 18 AND best_bowling = "4/138" AND matches < 3
CREATE TABLE table_name_57 (average VARCHAR, matches VARCHAR, best_bowling VARCHAR, team VARCHAR, wickets VARCHAR)
What is the total average for the England team when the wickets are less than 18, the best bowling is 4/138, and there are less than 3 matches?
SELECT to_par FROM table_name_48 WHERE money___$__ > 5 OFFSET 500
CREATE TABLE table_name_48 (to_par VARCHAR, money___$__ INTEGER)
Which To par has a Money ($) larger than 5,500?
SELECT score FROM table_name_78 WHERE place = "4"
CREATE TABLE table_name_78 (score VARCHAR, place VARCHAR)
Which Score has a Place of 4?
SELECT ethnic_group FROM table_name_98 WHERE other = "5%"
CREATE TABLE table_name_98 (ethnic_group VARCHAR, other VARCHAR)
Which ethnic group has 5% of people categorizing religion as other?
SELECT ethnic_group FROM table_name_58 WHERE muslims = "93%"
CREATE TABLE table_name_58 (ethnic_group VARCHAR, muslims VARCHAR)
Which ehtinc group consists of 93% muslims?
SELECT venue FROM table_name_87 WHERE score = "1 – 1" AND result = "2 – 2"
CREATE TABLE table_name_87 (venue VARCHAR, score VARCHAR, result VARCHAR)
What is the Venue when the score was 1 – 1, and the result was 2 – 2?
SELECT score FROM table_name_85 WHERE competition = "2006 fifa world cup qualification"
CREATE TABLE table_name_85 (score VARCHAR, competition VARCHAR)
What is the score of the 2006 Fifa World Cup Qualification?
SELECT venue FROM table_name_66 WHERE score = "3 – 0"
CREATE TABLE table_name_66 (venue VARCHAR, score VARCHAR)
What venue was the game held at when the Score was 3 – 0?
SELECT result FROM table_name_65 WHERE competition = "friendly match" AND score = "1 – 1"
CREATE TABLE table_name_65 (result VARCHAR, competition VARCHAR, score VARCHAR)
What is the result of the game when the competition was a friendly match, and the Score was 1 – 1?
SELECT race_1 FROM table_name_85 WHERE race_4 = "1"
CREATE TABLE table_name_85 (race_1 VARCHAR, race_4 VARCHAR)
What is Race 1, when Race 4 is 1?
SELECT race_2 FROM table_name_6 WHERE race_1 = "30"
CREATE TABLE table_name_6 (race_2 VARCHAR, race_1 VARCHAR)
What is Race 2, when Race 1 is 30?
SELECT race_2 FROM table_name_2 WHERE driver = "john faulkner"
CREATE TABLE table_name_2 (race_2 VARCHAR, driver VARCHAR)
What is Race 2, when Driver is John Faulkner?
SELECT driver FROM table_name_48 WHERE race_2 = "14"
CREATE TABLE table_name_48 (driver VARCHAR, race_2 VARCHAR)
What is Driver, when Race 2 is 14?
SELECT race_4 FROM table_name_51 WHERE race_1 = "28"
CREATE TABLE table_name_51 (race_4 VARCHAR, race_1 VARCHAR)
What is Race 4, when Race 1 is 28?
SELECT race_2 FROM table_name_40 WHERE race_4 = "28"
CREATE TABLE table_name_40 (race_2 VARCHAR, race_4 VARCHAR)
What is Race 2, when Race 4 is 28?
SELECT score FROM table_name_11 WHERE competition_round = "copa libertadores group 3" AND date = "2 february 1994"
CREATE TABLE table_name_11 (score VARCHAR, competition_round VARCHAR, date VARCHAR)
What is the score of the copa libertadores group 3 competition round on 2 February 1994?
SELECT score FROM table_name_78 WHERE competition_round = "copa libertadores group 4" AND away_team = "universitario" AND date = "14 march 1972"
CREATE TABLE table_name_78 (score VARCHAR, date VARCHAR, competition_round VARCHAR, away_team VARCHAR)
What is the score of the copa libertadores group 4 competition round on 14 March 1972 with universitario as the away team?
SELECT venue FROM table_name_7 WHERE home_team = "alianza lima" AND season = 1983
CREATE TABLE table_name_7 (venue VARCHAR, home_team VARCHAR, season VARCHAR)
What is the venue of season 1983, which had alianza lima as the home team?
SELECT score FROM table_name_73 WHERE venue = "estadio nacional" AND date = "3 march 1988"
CREATE TABLE table_name_73 (score VARCHAR, venue VARCHAR, date VARCHAR)
What is the score of the match on 3 March 1988 at the estadio nacional?
SELECT MAX(points) FROM table_name_63 WHERE date = "december 13"
CREATE TABLE table_name_63 (points INTEGER, date VARCHAR)
What were the Points on December 13?
SELECT established FROM table_name_74 WHERE institution = "north jersey phoenix"
CREATE TABLE table_name_74 (established VARCHAR, institution VARCHAR)
What is the year established of North Jersey Phoenix?
SELECT nickname FROM table_name_8 WHERE established = 2009
CREATE TABLE table_name_8 (nickname VARCHAR, established VARCHAR)
What is the nickname of the school established in 2009?
SELECT location FROM table_name_27 WHERE established = 2013
CREATE TABLE table_name_27 (location VARCHAR, established VARCHAR)
What is the location of the school established in 2013?
SELECT nickname FROM table_name_62 WHERE institution = "columbia university"
CREATE TABLE table_name_62 (nickname VARCHAR, institution VARCHAR)
What is the nickname of Columbia University?
SELECT method FROM table_name_11 WHERE opponent = "valentijn overeem"
CREATE TABLE table_name_11 (method VARCHAR, opponent VARCHAR)
The match against Valentijn Overeem had what method?
SELECT location FROM table_name_32 WHERE res = "win" AND method = "tko"
CREATE TABLE table_name_32 (location VARCHAR, res VARCHAR, method VARCHAR)
Where was the match held when the result was win, and tko as the method?
SELECT round FROM table_name_92 WHERE event = "bars - moscow vs st. petersburg"
CREATE TABLE table_name_92 (round VARCHAR, event VARCHAR)
What round did the match go to when the event was Bars - Moscow vs St. Petersburg?
SELECT record FROM table_name_73 WHERE method = "tko (kick)"
CREATE TABLE table_name_73 (record VARCHAR, method VARCHAR)
With a method of tko (kick) what is the record of the match?
SELECT round FROM table_name_24 WHERE method = "tko (cut)"
CREATE TABLE table_name_24 (round VARCHAR, method VARCHAR)
What round did the match go to when tko (cut) was the method?
SELECT place FROM table_name_81 WHERE score = 68 - 72 - 77 - 74 = 291
CREATE TABLE table_name_81 (place VARCHAR, score VARCHAR)
what is the place when the score is 68-72-77-74=291?
SELECT COUNT(to_par) FROM table_name_93 WHERE country = "united states" AND score = 72 - 71 - 73 - 73 = 289
CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR, score VARCHAR)
how many times is the country united states and the score 72-71-73-73=289?
SELECT player FROM table_name_32 WHERE to_par > 11 AND score = 71 - 71 - 71 - 79 = 292
CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR)
Who is the player when the to par is more than 11 and the score is 71-71-71-79=292?
SELECT country FROM table_name_7 WHERE player = "bill nary"
CREATE TABLE table_name_7 (country VARCHAR, player VARCHAR)
what is the country when the player is bill nary?
SELECT score FROM table_name_4 WHERE country = "united states" AND player = "george fazio"
CREATE TABLE table_name_4 (score VARCHAR, country VARCHAR, player VARCHAR)
what is the score when the country is united states and the player is george fazio?
SELECT death FROM table_name_96 WHERE birth = "2 august 1424"
CREATE TABLE table_name_96 (death VARCHAR, birth VARCHAR)
WHAT IS THE DEATH WHEN BIRTH DATE IS 2 AUGUST 1424?
SELECT ceased_to_be_duke_of_girona FROM table_name_91 WHERE heir_of = "peter iv"
CREATE TABLE table_name_91 (ceased_to_be_duke_of_girona VARCHAR, heir_of VARCHAR)
WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?