answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT score FROM table_name_99 WHERE tie_no = "32"
CREATE TABLE table_name_99 (score VARCHAR, tie_no VARCHAR)
What is the score if the Tie no is 32?
SELECT tie_no FROM table_name_78 WHERE home_team = "scunthorpe united"
CREATE TABLE table_name_78 (tie_no VARCHAR, home_team VARCHAR)
What is the Tie no for Scunthorpe United?
SELECT home_team FROM table_name_91 WHERE away_team = "stoke city"
CREATE TABLE table_name_91 (home_team VARCHAR, away_team VARCHAR)
Which home team played against Stoke City?
SELECT away_team FROM table_name_67 WHERE tie_no = "14"
CREATE TABLE table_name_67 (away_team VARCHAR, tie_no VARCHAR)
Which away team has a Tie no of 14?
SELECT date FROM table_name_45 WHERE home_team = "watford" AND tie_no = "2"
CREATE TABLE table_name_45 (date VARCHAR, home_team VARCHAR, tie_no VARCHAR)
On what date does Watford have a Tie no of 2?
SELECT l1_cache FROM table_name_35 WHERE fsb_speed = "800mhz" AND clock_speed = "1.2ghz"
CREATE TABLE table_name_35 (l1_cache VARCHAR, fsb_speed VARCHAR, clock_speed VARCHAR)
Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz?
SELECT score FROM table_name_17 WHERE player = "tom kite"
CREATE TABLE table_name_17 (score VARCHAR, player VARCHAR)
What is the score of Player Tom Kite?
SELECT to_par FROM table_name_35 WHERE score = 69 - 69 - 73 = 211
CREATE TABLE table_name_35 (to_par VARCHAR, score VARCHAR)
What is the To Par that has a 69-69-73=211 score?
SELECT to_par FROM table_name_23 WHERE place = "t1" AND score = 66 - 71 - 66 = 203
CREATE TABLE table_name_23 (to_par VARCHAR, place VARCHAR, score VARCHAR)
What is the Top that has a 66-71-66=203 score and a place of t1?
SELECT player FROM table_name_89 WHERE to_par = "+1" AND score = 71 - 67 - 73 = 211
CREATE TABLE table_name_89 (player VARCHAR, to_par VARCHAR, score VARCHAR)
What player has a To Par of +1 with a score of 71-67-73=211?
SELECT player FROM table_name_91 WHERE score = 72 - 68 - 78 - 71 = 289
CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR)
Which Player has a Score of 72-68-78-71=289?
SELECT place FROM table_name_33 WHERE score = 66
CREATE TABLE table_name_33 (place VARCHAR, score VARCHAR)
What is the Place for the 66 Score?
SELECT country FROM table_name_89 WHERE score = 67 AND player = "phil mickelson"
CREATE TABLE table_name_89 (country VARCHAR, score VARCHAR, player VARCHAR)
What Country has a 67 score by Phil Mickelson?
SELECT week_5 FROM table_name_96 WHERE week_3 = "cathi o'malley"
CREATE TABLE table_name_96 (week_5 VARCHAR, week_3 VARCHAR)
When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5?
SELECT week_2 FROM table_name_11 WHERE week_3 = "star zemba"
CREATE TABLE table_name_11 (week_2 VARCHAR, week_3 VARCHAR)
When Star Zemba was featured in Week 3, who was the cyber girl for Week 2?
SELECT week_3 FROM table_name_11 WHERE week_2 = "heather christensen"
CREATE TABLE table_name_11 (week_3 VARCHAR, week_2 VARCHAR)
When Heather Christensen was featured in Week 2, who was the cyber girl for Week 3?
SELECT week_5 FROM table_name_36 WHERE week_2 = "audra lynn"
CREATE TABLE table_name_36 (week_5 VARCHAR, week_2 VARCHAR)
When Audra Lynn was featured in Week 2, who was the cyber girl for Week 5?
SELECT agg FROM table_name_48 WHERE team_1 = "tirana"
CREATE TABLE table_name_48 (agg VARCHAR, team_1 VARCHAR)
What is Agg., when Team 1 is "Tirana"?
SELECT 2 AS nd_leg FROM table_name_57 WHERE team_2 = "dunaferr"
CREATE TABLE table_name_57 (team_2 VARCHAR)
What is 2nd Leg, when Team 2 is "Dunaferr"?
SELECT elimination FROM table_name_74 WHERE time = "13:43"
CREATE TABLE table_name_74 (elimination VARCHAR, time VARCHAR)
What is the elimination number for the time 13:43?
SELECT elimination FROM table_name_87 WHERE eliminated_by = "sonjay dutt"
CREATE TABLE table_name_87 (elimination VARCHAR, eliminated_by VARCHAR)
What Elimination number is listed againt Eliminated by Sonjay Dutt?
SELECT elimination FROM table_name_2 WHERE eliminated_by = "sonjay dutt"
CREATE TABLE table_name_2 (elimination VARCHAR, eliminated_by VARCHAR)
What Elimination number is listed againt Eliminated by Sonjay Dutt?
SELECT time FROM table_name_15 WHERE wrestler = "jimmy rave"
CREATE TABLE table_name_15 (time VARCHAR, wrestler VARCHAR)
What time is listed against the Wrestler Jimmy Rave?
SELECT wrestler FROM table_name_63 WHERE elimination = "5"
CREATE TABLE table_name_63 (wrestler VARCHAR, elimination VARCHAR)
Which Wrestler has an Elimination of 5?
SELECT time FROM table_name_21 WHERE elimination = "2"
CREATE TABLE table_name_21 (time VARCHAR, elimination VARCHAR)
What time is listed against Elimination number 2?
SELECT score FROM table_name_78 WHERE place = "2"
CREATE TABLE table_name_78 (score VARCHAR, place VARCHAR)
What score has 2 as the place?
SELECT AVG(money___) AS £__ FROM table_name_8 WHERE to_par = "+8" AND score = 73 - 72 - 72 - 71 = 288
CREATE TABLE table_name_8 (money___ INTEGER, to_par VARCHAR, score VARCHAR)
What is the average money (£) that has +8 as the to par, with 73-72-72-71=288 as the score?
SELECT country FROM table_name_2 WHERE place = "t6" AND player = "seve ballesteros"
CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR)
What country has t6 as the place, with seve ballesteros as the player?
SELECT AVG(year) FROM table_name_64 WHERE champion = "john mcenroe"
CREATE TABLE table_name_64 (year INTEGER, champion VARCHAR)
What year weas John McEnroe the champion?
SELECT runner_up FROM table_name_66 WHERE champion = "björn borg" AND year > 1978
CREATE TABLE table_name_66 (runner_up VARCHAR, champion VARCHAR, year VARCHAR)
Who was the runner-up, when the champion was Björn Borg after 1978?
SELECT champion FROM table_name_90 WHERE runner_up = "jimmy connors" AND year < 1978
CREATE TABLE table_name_90 (champion VARCHAR, runner_up VARCHAR, year VARCHAR)
Who was the champion earlier than 1978 when the runner-up was Jimmy Connors?
SELECT municipality FROM table_name_84 WHERE code = 2401
CREATE TABLE table_name_84 (municipality VARCHAR, code VARCHAR)
Which municipality has the code 2401?
SELECT COUNT(population) FROM table_name_62 WHERE county = "stockholm county" AND municipality = "danderyd municipality" AND code < 162
CREATE TABLE table_name_62 (population VARCHAR, code VARCHAR, county VARCHAR, municipality VARCHAR)
What is the population of Danderyd municipality in Stockholm County with a code lower than 162?
SELECT total_area FROM table_name_53 WHERE code < 1862 AND density__per_km_2_land_ = 21.6
CREATE TABLE table_name_53 (total_area VARCHAR, code VARCHAR, density__per_km_2_land_ VARCHAR)
What is the total area for a code less than 1862 and a density (per km 2 land) of 21.6?
SELECT MIN(total) FROM table_name_45 WHERE to_par = "e"
CREATE TABLE table_name_45 (total INTEGER, to_par VARCHAR)
what total was the lowest and had a to par of e?
SELECT player FROM table_name_85 WHERE country = "united states" AND total = 144
CREATE TABLE table_name_85 (player VARCHAR, country VARCHAR, total VARCHAR)
Which player played in the united states and scored a total of 144 points?
SELECT trailing_party % votes FROM table_name_74 WHERE party_won = "bharatiya janta party" AND trailing_party = "indian national congress"
CREATE TABLE table_name_74 (trailing_party VARCHAR, votes VARCHAR, party_won VARCHAR)
What is Trailing Party % Votes, when Party Won is "Bharatiya Janta Party", and when Trailing Party is "Indian National Congress"?
SELECT members_of_parliament FROM table_name_97 WHERE trailing_party = "bharatiya lok dal"
CREATE TABLE table_name_97 (members_of_parliament VARCHAR, trailing_party VARCHAR)
What is Members of Parliament, when Trailing Party is "Bharatiya Lok Dal"?
SELECT trailing_party FROM table_name_74 WHERE party_won = "janata dal" AND year = 1996
CREATE TABLE table_name_74 (trailing_party VARCHAR, party_won VARCHAR, year VARCHAR)
What is Trailing Party, when Party Won is "Janata Dal", and when Year is "1996"?
SELECT MIN(year) FROM table_name_53 WHERE lok_sabha = "4th lok sabha"
CREATE TABLE table_name_53 (year INTEGER, lok_sabha VARCHAR)
What is the lowest Year, when Lok Sabha is "4th Lok Sabha"?
SELECT player FROM table_name_96 WHERE score = 68
CREATE TABLE table_name_96 (player VARCHAR, score VARCHAR)
Who scored a 68?
SELECT SUM(grid) FROM table_name_91 WHERE rider = "ryuichi kiyonari"
CREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR)
How many Grid has a Rider of ryuichi kiyonari?
SELECT MIN(grid) FROM table_name_24 WHERE bike = "ducati 1098 rs 08" AND rider = "max biaggi"
CREATE TABLE table_name_24 (grid INTEGER, bike VARCHAR, rider VARCHAR)
Name the lowest Grid which has a Bike of ducati 1098 rs 08 and a Rider of max biaggi?
SELECT rider FROM table_name_33 WHERE time = "+59.304"
CREATE TABLE table_name_33 (rider VARCHAR, time VARCHAR)
Name the Rider which has a Time of +59.304?
SELECT rider FROM table_name_98 WHERE laps < 11 AND bike = "kawasaki zx-10r" AND grid = 8
CREATE TABLE table_name_98 (rider VARCHAR, grid VARCHAR, laps VARCHAR, bike VARCHAR)
Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8?
SELECT COUNT(total) FROM table_name_1 WHERE player = "karrie webb"
CREATE TABLE table_name_1 (total VARCHAR, player VARCHAR)
What is the total for player karrie webb?
SELECT year_s__won FROM table_name_75 WHERE total > 157
CREATE TABLE table_name_75 (year_s__won VARCHAR, total INTEGER)
What years did the player with a total larger than 157 have wins?
SELECT SUM(to_par) FROM table_name_52 WHERE player = "meg mallon" AND total > 157
CREATE TABLE table_name_52 (to_par INTEGER, player VARCHAR, total VARCHAR)
What is the sum of the to par of player meg mallon, who had a total greater than 157?
SELECT MAX(total) FROM table_name_71 WHERE to_par = 7
CREATE TABLE table_name_71 (total INTEGER, to_par VARCHAR)
What is the highest total of the player with a 7 to par?
SELECT assists FROM table_name_4 WHERE player = "steve walker"
CREATE TABLE table_name_4 (assists VARCHAR, player VARCHAR)
How many assists did Steve Walker have?
SELECT goals FROM table_name_84 WHERE assists = "33" AND games = "85"
CREATE TABLE table_name_84 (goals VARCHAR, assists VARCHAR, games VARCHAR)
How many goals did the player score who had 33 assists in 85 games?
SELECT points FROM table_name_79 WHERE player = "denis pederson"
CREATE TABLE table_name_79 (points VARCHAR, player VARCHAR)
How many points did Denis Pederson have?
SELECT xenon FROM table_name_29 WHERE helium = "5.1"
CREATE TABLE table_name_29 (xenon VARCHAR, helium VARCHAR)
Which Xenon has a Helium of 5.1?
SELECT neon FROM table_name_95 WHERE argon = "−189.6"
CREATE TABLE table_name_95 (neon VARCHAR, argon VARCHAR)
Which Neon has a Argon of −189.6?
SELECT physical_property FROM table_name_13 WHERE helium = "0.0693"
CREATE TABLE table_name_13 (physical_property VARCHAR, helium VARCHAR)
Which Physical property has a Helium of 0.0693?
SELECT argon FROM table_name_56 WHERE neon = "0.484"
CREATE TABLE table_name_56 (argon VARCHAR, neon VARCHAR)
Name the Argon which has a Neon of 0.484?
SELECT krypton FROM table_name_36 WHERE physical_property = "critical pressure (atm)"
CREATE TABLE table_name_36 (krypton VARCHAR, physical_property VARCHAR)
Which Krypton has a Physical property of critical pressure (atm)?
SELECT helium FROM table_name_54 WHERE argon = "−189.6"
CREATE TABLE table_name_54 (helium VARCHAR, argon VARCHAR)
which Helium has a Argon of −189.6?
SELECT venue FROM table_name_46 WHERE opposing_teams = "south africa" AND date = "17/06/2000"
CREATE TABLE table_name_46 (venue VARCHAR, opposing_teams VARCHAR, date VARCHAR)
What is Venue, when Opposing Teams is "South Africa", and when Date is "17/06/2000"?
SELECT SUM(against) FROM table_name_11 WHERE opposing_teams = "south africa" AND status = "first test"
CREATE TABLE table_name_11 (against INTEGER, opposing_teams VARCHAR, status VARCHAR)
What is the sum of Against, when Opposing Teams is "South Africa", and when Status is "First Test"?
SELECT opposing_teams FROM table_name_96 WHERE status = "test match" AND date = "25/11/2000"
CREATE TABLE table_name_96 (opposing_teams VARCHAR, status VARCHAR, date VARCHAR)
What is Opposing Teams, when Status is "Test Match", and when Date is "25/11/2000"?
SELECT against FROM table_name_55 WHERE venue = "twickenham , london" AND date = "04/03/2000"
CREATE TABLE table_name_55 (against VARCHAR, venue VARCHAR, date VARCHAR)
What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"?
SELECT status FROM table_name_63 WHERE venue = "stadio flaminio , rome"
CREATE TABLE table_name_63 (status VARCHAR, venue VARCHAR)
What is the Statue, when Venue is "Stadio Flaminio , Rome"?
SELECT h___a FROM table_name_50 WHERE date = "24 january 2009"
CREATE TABLE table_name_50 (h___a VARCHAR, date VARCHAR)
What is the H/A of the game on 24 january 2009?
SELECT year FROM table_name_90 WHERE rank_final = "6"
CREATE TABLE table_name_90 (year VARCHAR, rank_final VARCHAR)
What year was the rank final of 6?
SELECT rank_final FROM table_name_41 WHERE year < 2007
CREATE TABLE table_name_41 (rank_final VARCHAR, year INTEGER)
What was the rank final before 2007?
SELECT district FROM table_name_8 WHERE incumbent = "richard neal"
CREATE TABLE table_name_8 (district VARCHAR, incumbent VARCHAR)
What is District, when Incumbent is "Richard Neal"?
SELECT MIN(first_elected) FROM table_name_40 WHERE district = "massachusetts 10"
CREATE TABLE table_name_40 (first_elected INTEGER, district VARCHAR)
What is the lowest First Elected, when District is "Massachusetts 10"?
SELECT AVG(first_elected) FROM table_name_49 WHERE district = "massachusetts 3"
CREATE TABLE table_name_49 (first_elected INTEGER, district VARCHAR)
What is the average First Elected, when District is "Massachusetts 3"?
SELECT lost FROM table_name_35 WHERE tries_against = "30"
CREATE TABLE table_name_35 (lost VARCHAR, tries_against VARCHAR)
What team lost with 30 tries against?
SELECT lost FROM table_name_73 WHERE points_for = "142"
CREATE TABLE table_name_73 (lost VARCHAR, points_for VARCHAR)
Who lost with 142 points for?
SELECT tries_against FROM table_name_83 WHERE tries_for = "67"
CREATE TABLE table_name_83 (tries_against VARCHAR, tries_for VARCHAR)
How many tries against for the team with 67 tries for?
SELECT club FROM table_name_79 WHERE tries_for = "101"
CREATE TABLE table_name_79 (club VARCHAR, tries_for VARCHAR)
Which club has 101 tries for?
SELECT try_bonus FROM table_name_16 WHERE tries_for = "67"
CREATE TABLE table_name_16 (try_bonus VARCHAR, tries_for VARCHAR)
What is the try bonus for the team with 67 tries for?
SELECT lost FROM table_name_5 WHERE tries_against = "77"
CREATE TABLE table_name_5 (lost VARCHAR, tries_against VARCHAR)
What is the team that lost with 77 tries against?
SELECT AVG(fighting_spirit) FROM table_name_55 WHERE name = "tsurugamine" AND technique < 10
CREATE TABLE table_name_55 (fighting_spirit INTEGER, name VARCHAR, technique VARCHAR)
Which Fighting Spirit has a Name of tsurugamine, and a Technique smaller than 10?
SELECT COUNT(technique) FROM table_name_89 WHERE highest_rank = "yokozuna" AND total > 11
CREATE TABLE table_name_89 (technique VARCHAR, highest_rank VARCHAR, total VARCHAR)
How much Technique has the Highest rank of yokozuna, and a Total larger than 11?
SELECT SUM(fighting_spirit) FROM table_name_25 WHERE total = 13 AND technique < 1
CREATE TABLE table_name_25 (fighting_spirit INTEGER, total VARCHAR, technique VARCHAR)
How much Fighting Spirit has a Total of 13, and a Technique smaller than 1?
SELECT years FROM table_name_31 WHERE name = "asashio"
CREATE TABLE table_name_31 (years VARCHAR, name VARCHAR)
What are asashio's years?
SELECT county FROM table_name_88 WHERE precincts = "33/33"
CREATE TABLE table_name_88 (county VARCHAR, precincts VARCHAR)
Which County has a Precincts of 33/33?
SELECT t_wyka FROM table_name_1 WHERE precincts = "51/55"
CREATE TABLE table_name_1 (t_wyka VARCHAR, precincts VARCHAR)
Name the T. Wyka has a Precincts of 51/55?
SELECT precincts FROM table_name_88 WHERE g_hager = "2,260 (15%)"
CREATE TABLE table_name_88 (precincts VARCHAR, g_hager VARCHAR)
Which Precincts has a G. Hager of 2,260 (15%)?
SELECT g_hager FROM table_name_49 WHERE e_greenberg = "266 (14%)"
CREATE TABLE table_name_49 (g_hager VARCHAR, e_greenberg VARCHAR)
Name the G. Hager of E. Greenberg of 266 (14%)?
SELECT precincts FROM table_name_86 WHERE county = "passaic"
CREATE TABLE table_name_86 (precincts VARCHAR, county VARCHAR)
Which Precincts has a County of passaic?
SELECT e_greenberg FROM table_name_34 WHERE t_wyka = "10,793 (70%)"
CREATE TABLE table_name_34 (e_greenberg VARCHAR, t_wyka VARCHAR)
Which E. Greenberg has a T. Wyka of 10,793 (70%)?
SELECT player FROM table_name_43 WHERE finish = "t41" AND country = "england"
CREATE TABLE table_name_43 (player VARCHAR, finish VARCHAR, country VARCHAR)
Which player from England finished in T41?
SELECT country FROM table_name_78 WHERE year_s__won = "1998"
CREATE TABLE table_name_78 (country VARCHAR, year_s__won VARCHAR)
From which country is the player that won in 1998?
SELECT total FROM table_name_57 WHERE year_s__won = "1997"
CREATE TABLE table_name_57 (total VARCHAR, year_s__won VARCHAR)
In 1997, what was the final total?
SELECT to_par FROM table_name_14 WHERE player = "justin leonard"
CREATE TABLE table_name_14 (to_par VARCHAR, player VARCHAR)
What was the To Par score for player Justin Leonard?
SELECT points FROM table_name_30 WHERE games = "348"
CREATE TABLE table_name_30 (points VARCHAR, games VARCHAR)
How many points were scored by the player who played 348 games?
SELECT points FROM table_name_86 WHERE games = "363"
CREATE TABLE table_name_86 (points VARCHAR, games VARCHAR)
How many points were scored by the player who played 363 games?
SELECT replaced_by FROM table_name_49 WHERE manner_of_departure = "end of contract" AND date_of_appointment = "dec. 16, 2008"
CREATE TABLE table_name_49 (replaced_by VARCHAR, manner_of_departure VARCHAR, date_of_appointment VARCHAR)
What kind of Replaced has a Manner of departure of end of contract on dec. 16, 2008?
SELECT replaced_by FROM table_name_95 WHERE outgoing_manager = "guillermo sanguinetti"
CREATE TABLE table_name_95 (replaced_by VARCHAR, outgoing_manager VARCHAR)
What kind of Replaced has a Outgoing manager of guillermo sanguinetti?
SELECT replaced_by FROM table_name_71 WHERE team = "gimnasia y esgrima (lp)"
CREATE TABLE table_name_71 (replaced_by VARCHAR, team VARCHAR)
What kind of Replaced has a Team of gimnasia y esgrima (lp)?
SELECT team FROM table_name_75 WHERE position_in_table = "15th (c)"
CREATE TABLE table_name_75 (team VARCHAR, position_in_table VARCHAR)
Which Team has a Position in table of 15th (c)?
SELECT team FROM table_name_55 WHERE position_in_table = "15th (a)" AND outgoing_manager = "claudio borghi"
CREATE TABLE table_name_55 (team VARCHAR, position_in_table VARCHAR, outgoing_manager VARCHAR)
Which Team that has a Position in table of 15th (a) and a Outgoing manager of claudio borghi?
SELECT team FROM table_name_14 WHERE date_of_appointment = "sep. 20, 2008"
CREATE TABLE table_name_14 (team VARCHAR, date_of_appointment VARCHAR)
Which Team has a Date of appointment on sep. 20, 2008?
SELECT MAX(losses) FROM table_name_59 WHERE position < 6 AND wins > 11 AND points = 36 AND played > 30
CREATE TABLE table_name_59 (losses INTEGER, played VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR)
What was the highest number of losses for a position less than 6, with more than 11 wins and 36 points, with a played entry of more than 30?
SELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31
CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR)
What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points?
SELECT AVG(goals_for) FROM table_name_99 WHERE losses > 12 AND wins > 10 AND points < 29 AND draws > 3
CREATE TABLE table_name_99 (goals_for INTEGER, draws VARCHAR, points VARCHAR, losses VARCHAR, wins VARCHAR)
What is the average number of goals for entries with more than 12 losses, more than 10 wins, more than 3 draws, and fewer than 29 points?