answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT result FROM table_name_2 WHERE attendance = "46,456"
CREATE TABLE table_name_2 (result VARCHAR, attendance VARCHAR)
What was the result when the attendance was 46,456?
SELECT opponent FROM table_name_16 WHERE date = "september 27, 1998"
CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
Who was the opponent on september 27, 1998?
SELECT venue FROM table_name_39 WHERE score = "0:0" AND season > 2010 AND team_1 = "t&t hanoi"
CREATE TABLE table_name_39 (venue VARCHAR, team_1 VARCHAR, score VARCHAR, season VARCHAR)
Which Venue has a Score of 0:0, a Season larger than 2010, and a Team 1 of t&t hanoi?
SELECT highest_league FROM table_name_2 WHERE total_seasons < 4 AND team = "nova scotia clippers"
CREATE TABLE table_name_2 (highest_league VARCHAR, total_seasons VARCHAR, team VARCHAR)
What's the highest league of the Nova Scotia Clippers with a total season of less than 4?
SELECT seasons FROM table_name_49 WHERE total_seasons < 5 AND city = "ottawa, ontario"
CREATE TABLE table_name_49 (seasons VARCHAR, total_seasons VARCHAR, city VARCHAR)
What is the season that has fewer than 5 total seasons and is in Ottawa, Ontario?
SELECT MIN(total_seasons) FROM table_name_58 WHERE team = "vancouver 86ers"
CREATE TABLE table_name_58 (total_seasons INTEGER, team VARCHAR)
What is the least total seasons of the Vancouver 86ers?
SELECT opponent FROM table_name_28 WHERE week = 14
CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR)
Who was the opponent in week 14?
SELECT date FROM table_name_87 WHERE city = "punta del este"
CREATE TABLE table_name_87 (date VARCHAR, city VARCHAR)
What is Date, when City is "Punta Del Este"?
SELECT city FROM table_name_18 WHERE prize = "$146,000"
CREATE TABLE table_name_18 (city VARCHAR, prize VARCHAR)
What is City, when Prize is "$146,000"?
SELECT date FROM table_name_66 WHERE winner = "murilo figueiredo"
CREATE TABLE table_name_66 (date VARCHAR, winner VARCHAR)
What is Date, when Winner is "Murilo Figueiredo"?
SELECT aspect FROM table_name_12 WHERE programming = "saigon network television"
CREATE TABLE table_name_12 (aspect VARCHAR, programming VARCHAR)
What Aspect has a Programming of Saigon Network Television?
SELECT aspect FROM table_name_18 WHERE programming = "latv"
CREATE TABLE table_name_18 (aspect VARCHAR, programming VARCHAR)
Which Aspect has a Programming of latv?
SELECT programming FROM table_name_53 WHERE channel > 51.2 AND psip_short_name = "kyaz-5"
CREATE TABLE table_name_53 (programming VARCHAR, channel VARCHAR, psip_short_name VARCHAR)
Which Programming has a Channel greater than 51.2 and a PSIP Short Name of kyaz-5?
SELECT psip_short_name FROM table_name_70 WHERE channel < 51.6
CREATE TABLE table_name_70 (psip_short_name VARCHAR, channel INTEGER)
What is the PSIP Short name for the Channel that is less than 51.6?
SELECT MAX(year) FROM table_name_62 WHERE beer_name = "maggs magnificent mild" AND competition = "camra reading branch beer festival" AND category = "overall"
CREATE TABLE table_name_62 (year INTEGER, category VARCHAR, beer_name VARCHAR, competition VARCHAR)
What year did maggs magnificent mild bear win overall at the camra reading branch beer festival?
SELECT prize FROM table_name_31 WHERE year > 2002 AND competition = "camra london and south east regional competition" AND beer_name = "good old boy"
CREATE TABLE table_name_31 (prize VARCHAR, beer_name VARCHAR, year VARCHAR, competition VARCHAR)
What prize did good old boy win in 2002 at the camra london and south east regional competition?
SELECT AVG(year) FROM table_name_93 WHERE beer_name = "maggs magnificent mild" AND prize = "gold medal" AND category = "mild and porter" AND competition = "siba south east region beer competition"
CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, category VARCHAR, beer_name VARCHAR, prize VARCHAR)
What year did maggs magnificent mild win a gold medal in the mild and porter category at the siba south east region beer competition?
SELECT beer_name FROM table_name_33 WHERE prize = "silver medal" AND competition = "camra reading branch beer festival" AND year = 2008
CREATE TABLE table_name_33 (beer_name VARCHAR, year VARCHAR, prize VARCHAR, competition VARCHAR)
What beer won a silver medal at the camra reading branch beer festival in 2008?
SELECT model_number FROM table_name_70 WHERE part_number_s_ = "ay80609003987ab"
CREATE TABLE table_name_70 (model_number VARCHAR, part_number_s_ VARCHAR)
What is Model Number, when Part Number(s) is AY80609003987AB?
SELECT frequency FROM table_name_85 WHERE part_number_s_ = "ay80609004002ac"
CREATE TABLE table_name_85 (frequency VARCHAR, part_number_s_ VARCHAR)
What is Frequency, when Part Number(s) is AY80609004002AC?
SELECT sspec_number FROM table_name_98 WHERE frequency = "1 ghz"
CREATE TABLE table_name_98 (sspec_number VARCHAR, frequency VARCHAR)
What is sSpec Number, when Frequency is 1 GHZ?
SELECT release_date FROM table_name_22 WHERE sspec_number = "slbze(c0)slbr8"
CREATE TABLE table_name_22 (release_date VARCHAR, sspec_number VARCHAR)
What is Release Date, when sSpec Number is SLBZE(C0)SLBR8?
SELECT l2_cache FROM table_name_60 WHERE model_number = "atom z625"
CREATE TABLE table_name_60 (l2_cache VARCHAR, model_number VARCHAR)
What is L2 Cache, when Model Number is Atom Z625?
SELECT COUNT(pick) FROM table_name_17 WHERE player = "renaldo wynn" AND round < 1
CREATE TABLE table_name_17 (pick VARCHAR, player VARCHAR, round VARCHAR)
Which Pick has a Player of renaldo wynn, and a Round smaller than 1?
SELECT SUM(round) FROM table_name_49 WHERE player = "damon jones"
CREATE TABLE table_name_49 (round INTEGER, player VARCHAR)
Which Round has a Player of damon jones?
SELECT college FROM table_name_50 WHERE round < 2
CREATE TABLE table_name_50 (college VARCHAR, round INTEGER)
Which College has a Round smaller than 2?
SELECT event FROM table_name_94 WHERE location = "northfield, mn"
CREATE TABLE table_name_94 (event VARCHAR, location VARCHAR)
Which event is located in Northfield, Mn?
SELECT event FROM table_name_88 WHERE distance = "ft10in (m)"
CREATE TABLE table_name_88 (event VARCHAR, distance VARCHAR)
Which event has a distance of ft10in (m)?
SELECT distance FROM table_name_97 WHERE event = "bass pro shops"
CREATE TABLE table_name_97 (distance VARCHAR, event VARCHAR)
What distance does the Bass Pro Shops event have?
SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show"
CREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR)
On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?
SELECT opponent FROM table_name_78 WHERE attendance < 751
CREATE TABLE table_name_78 (opponent VARCHAR, attendance INTEGER)
Who did they play when there were only 751 in attendance?
SELECT date FROM table_name_14 WHERE venue = "away" AND opponent = "swindon wildcats"
CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR, opponent VARCHAR)
When did they play the swindon wildcats away?
SELECT man_of_the_match FROM table_name_28 WHERE venue = "home" AND opponent = "romford raiders"
CREATE TABLE table_name_28 (man_of_the_match VARCHAR, venue VARCHAR, opponent VARCHAR)
Who was the Man of the Match when they played the Romford Raiders at home?
SELECT nat FROM table_name_76 WHERE app_l_c_e_ = "0 (0/0/0)" AND name = "yahaya"
CREATE TABLE table_name_76 (nat VARCHAR, app_l_c_e_ VARCHAR, name VARCHAR)
What is the Nationality of the player named Yahaya, who has as App(L/C/E) of 0 (0/0/0)?
SELECT transfer_fee FROM table_name_61 WHERE app_l_c_e_ = "0 (0/0/0)" AND notes = "to anagennisi karditsa"
CREATE TABLE table_name_61 (transfer_fee VARCHAR, app_l_c_e_ VARCHAR, notes VARCHAR)
What was the transfer fee for the player who had an App(L/C/E) of 0 (0/0/0) and notes of to anagennisi karditsa?
SELECT british_name FROM table_name_50 WHERE american_name = "sixteenth note"
CREATE TABLE table_name_50 (british_name VARCHAR, american_name VARCHAR)
what is the british name when the american name is sixteenth note?
SELECT value FROM table_name_23 WHERE british_name = "quaver"
CREATE TABLE table_name_23 (value VARCHAR, british_name VARCHAR)
what is the value when the british name is quaver?
SELECT value FROM table_name_40 WHERE british_name = "maxima"
CREATE TABLE table_name_40 (value VARCHAR, british_name VARCHAR)
what is the value when the british name is maxima?
SELECT home_team FROM table_name_65 WHERE date = "28 january 1984" AND tie_no = "4"
CREATE TABLE table_name_65 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
What is Home Team, when Date is "28 January 1984", and when Tie No is "4"?
SELECT date FROM table_name_2 WHERE away_team = "gillingham"
CREATE TABLE table_name_2 (date VARCHAR, away_team VARCHAR)
What is Date, when Away Team is "Gillingham"?
SELECT home_team FROM table_name_30 WHERE date = "1 february 1984" AND tie_no = "5"
CREATE TABLE table_name_30 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
What is Home Team, when Date is "1 February 1984", and when Tie No is "5"?
SELECT away_team FROM table_name_65 WHERE home_team = "sheffield wednesday"
CREATE TABLE table_name_65 (away_team VARCHAR, home_team VARCHAR)
What is Away Team, when Home Team is "Sheffield Wednesday"?
SELECT date FROM table_name_85 WHERE tie_no = "replay" AND away_team = "crystal palace"
CREATE TABLE table_name_85 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR)
What is Date, when Tie No is "Replay", and when Away Team is "Crystal Palace"?
SELECT to_par FROM table_name_92 WHERE player = "tom kite"
CREATE TABLE table_name_92 (to_par VARCHAR, player VARCHAR)
What to par has tom kite as the player?
SELECT player FROM table_name_65 WHERE finish = "t57"
CREATE TABLE table_name_65 (player VARCHAR, finish VARCHAR)
What player has a t57 as the finish?
SELECT MIN(total) FROM table_name_81 WHERE year_s__won = "1992"
CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR)
What is the lowest total that has 1992 as the year (s) won?
SELECT player FROM table_name_36 WHERE to_par = "+21"
CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR)
What player has +21 as the to par?
SELECT to_par FROM table_name_5 WHERE total < 296
CREATE TABLE table_name_5 (to_par VARCHAR, total INTEGER)
Which to par has a total less than 296?
SELECT finish FROM table_name_35 WHERE to_par = "+21"
CREATE TABLE table_name_35 (finish VARCHAR, to_par VARCHAR)
What finish has +21 as the to par?
SELECT COUNT(events) FROM table_name_58 WHERE cuts_made < 34 AND top_10 > 3
CREATE TABLE table_name_58 (events VARCHAR, cuts_made VARCHAR, top_10 VARCHAR)
What is the total number of events that had 34 cuts and 3 in the top 10?
SELECT high_rebounds FROM table_name_7 WHERE date = "january 3"
CREATE TABLE table_name_7 (high_rebounds VARCHAR, date VARCHAR)
Who had the most rebounds on January 3?
SELECT surface FROM table_name_28 WHERE date > 1982 AND partner = "guy forget"
CREATE TABLE table_name_28 (surface VARCHAR, date VARCHAR, partner VARCHAR)
Which surface had a date after 1982 and partner of Guy Forget?
SELECT result FROM table_name_48 WHERE week = 9
CREATE TABLE table_name_48 (result VARCHAR, week VARCHAR)
What was the result of the week 9 game?
SELECT MAX(attendance) FROM table_name_18 WHERE date = "november 16, 1975"
CREATE TABLE table_name_18 (attendance INTEGER, date VARCHAR)
What was the attendance during the november 16, 1975 game?
SELECT SUM(number_in_class) FROM table_name_13 WHERE owner = "whitehaven coal"
CREATE TABLE table_name_13 (number_in_class INTEGER, owner VARCHAR)
What is the total number in class for the Whitehaven Coal?
SELECT built FROM table_name_58 WHERE number_in_class < 10 AND owner = "downer rail"
CREATE TABLE table_name_58 (built VARCHAR, number_in_class VARCHAR, owner VARCHAR)
What was built in a class with less than 10, and the Downer Rail owner?
SELECT class FROM table_name_83 WHERE number_in_class > 15
CREATE TABLE table_name_83 (class VARCHAR, number_in_class INTEGER)
Which class has more than 15 people in the class?
SELECT owner FROM table_name_98 WHERE built = "2009-2011"
CREATE TABLE table_name_98 (owner VARCHAR, built VARCHAR)
Who is the owner that built in 2009-2011?
SELECT AVG(grid) FROM table_name_33 WHERE manufacturer = "aprilia" AND rider = "bradley smith"
CREATE TABLE table_name_33 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR)
Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?
SELECT time FROM table_name_83 WHERE laps = 19 AND grid > 19 AND manufacturer = "ktm" AND rider = "randy krummenacher"
CREATE TABLE table_name_83 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)
Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher?
SELECT time FROM table_name_13 WHERE manufacturer = "aprilia" AND grid < 16 AND rider = "sandro cortese"
CREATE TABLE table_name_13 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, grid VARCHAR)
Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and a Rider of sandro cortese?
SELECT MIN(silver) FROM table_name_1 WHERE bronze = 19 AND total > 58
CREATE TABLE table_name_1 (silver INTEGER, bronze VARCHAR, total VARCHAR)
Name the Silver which has a Bronze of 19, and a Total larger than 58?
SELECT COUNT(silver) FROM table_name_9 WHERE rank = "3" AND gold < 2
CREATE TABLE table_name_9 (silver VARCHAR, rank VARCHAR, gold VARCHAR)
What kind of Silver has a Rank of 3, and a Gold smaller than 2?
SELECT SUM(silver) FROM table_name_19 WHERE bronze < 1
CREATE TABLE table_name_19 (silver INTEGER, bronze INTEGER)
COunt the silver that has a Bronze smaller than 1?
SELECT MAX(total) FROM table_name_70 WHERE silver > 19
CREATE TABLE table_name_70 (total INTEGER, silver INTEGER)
Name the Total which has a Silver larger than 19?
SELECT AVG(silver) FROM table_name_49 WHERE total < 2 AND nation = "south korea"
CREATE TABLE table_name_49 (silver INTEGER, total VARCHAR, nation VARCHAR)
Name the Silver that has a Total smaller than 2, and a Nation of south korea?
SELECT location FROM table_name_47 WHERE opponent = "chad armstrong"
CREATE TABLE table_name_47 (location VARCHAR, opponent VARCHAR)
What is the location of the match with chad armstrong as the opponent?
SELECT score FROM table_name_65 WHERE player = "scott verplank"
CREATE TABLE table_name_65 (score VARCHAR, player VARCHAR)
What is Scott Verplank's score?
SELECT place FROM table_name_25 WHERE country = "united states" AND player = "corey pavin"
CREATE TABLE table_name_25 (place VARCHAR, country VARCHAR, player VARCHAR)
What place is United States player Corey Pavin in?
SELECT country FROM table_name_76 WHERE score = 70 - 71 - 72 = 213
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
Which country has a score of 70-71-72=213?
SELECT place FROM table_name_95 WHERE player = "bob tway"
CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR)
Where does Bob Tway Place?
SELECT place FROM table_name_59 WHERE to_par = "e" AND score = 69 - 69 - 72 = 210
CREATE TABLE table_name_59 (place VARCHAR, to_par VARCHAR, score VARCHAR)
What is the place with a to par of E and a score of 69-69-72=210?
SELECT country FROM table_name_26 WHERE player = "dave barr"
CREATE TABLE table_name_26 (country VARCHAR, player VARCHAR)
WHAT IS THE COUNTRY WITH DAVE BARR?
SELECT to_par FROM table_name_77 WHERE place = "t7" AND score = 72 - 67 = 139 AND player = "raymond floyd"
CREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)
WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD?
SELECT place FROM table_name_78 WHERE player = "mark o'meara"
CREATE TABLE table_name_78 (place VARCHAR, player VARCHAR)
WHAT IS THE PLACE WITH PLAYER mark o'meara?
SELECT MAX(drawn) FROM table_name_64 WHERE position < 4 AND lost < 2
CREATE TABLE table_name_64 (drawn INTEGER, position VARCHAR, lost VARCHAR)
Which Drawn is the highest one that has a Position smaller than 4, and a Lost smaller than 2?
SELECT COUNT(points) FROM table_name_42 WHERE position > 3 AND played < 14
CREATE TABLE table_name_42 (points VARCHAR, position VARCHAR, played VARCHAR)
How many Points have a Position larger than 3, and a Played smaller than 14?
SELECT AVG(lost) FROM table_name_4 WHERE position = 4 AND drawn < 3
CREATE TABLE table_name_4 (lost INTEGER, position VARCHAR, drawn VARCHAR)
Which Lost has a Position of 4, and a Drawn smaller than 3?
SELECT AVG(position) FROM table_name_60 WHERE lost > 4 AND played > 14
CREATE TABLE table_name_60 (position INTEGER, lost VARCHAR, played VARCHAR)
Which Position has a Lost larger than 4, and a Played larger than 14?
SELECT SUM(week) FROM table_name_91 WHERE opponent = "oakland raiders"
CREATE TABLE table_name_91 (week INTEGER, opponent VARCHAR)
On which week was the opponent the oakland raiders?
SELECT attendance FROM table_name_85 WHERE opponent = "denver broncos"
CREATE TABLE table_name_85 (attendance VARCHAR, opponent VARCHAR)
What was the attendance at the game where the opponent was the denver broncos?
SELECT SUM(enrollment) FROM table_name_38 WHERE location = "platteville, wi"
CREATE TABLE table_name_38 (enrollment INTEGER, location VARCHAR)
How many people are enrolled in platteville, wi?
SELECT nickname FROM table_name_93 WHERE institution = "university of wisconsin-platteville"
CREATE TABLE table_name_93 (nickname VARCHAR, institution VARCHAR)
What is the team nickname of university of wisconsin-platteville?
SELECT to_par FROM table_name_43 WHERE place = "3"
CREATE TABLE table_name_43 (to_par VARCHAR, place VARCHAR)
What is To Par, when Place is 3?
SELECT country FROM table_name_89 WHERE player = "rives mcbee"
CREATE TABLE table_name_89 (country VARCHAR, player VARCHAR)
What is Country, when Player is "Rives McBee"?
SELECT place FROM table_name_93 WHERE player = "tony lema"
CREATE TABLE table_name_93 (place VARCHAR, player VARCHAR)
What is Place, when Player is "Tony Lema"?
SELECT score FROM table_name_8 WHERE to_par = "e"
CREATE TABLE table_name_8 (score VARCHAR, to_par VARCHAR)
What is Score, when To Par is "E"?
SELECT country FROM table_name_26 WHERE score = 71 - 71 - 69 = 211
CREATE TABLE table_name_26 (country VARCHAR, score VARCHAR)
What is Country, when Score is 71-71-69=211?
SELECT country FROM table_name_13 WHERE score = 71 - 74 - 70 = 215
CREATE TABLE table_name_13 (country VARCHAR, score VARCHAR)
What is Country, when Score is 71-74-70=215?
SELECT SUM(lost) FROM table_name_71 WHERE played < 42
CREATE TABLE table_name_71 (lost INTEGER, played INTEGER)
what is the lost when played is less than 42?
SELECT goal_difference FROM table_name_82 WHERE drawn > 11 AND goals_against < 63 AND goals_for < 87 AND lost > 16
CREATE TABLE table_name_82 (goal_difference VARCHAR, lost VARCHAR, goals_for VARCHAR, drawn VARCHAR, goals_against VARCHAR)
what is the goal difference when drawn is more than 11, goals against is less than 63, goals for is less than 87 and lost is more than 16?
SELECT COUNT(goals_for) FROM table_name_10 WHERE lost < 7 AND position = 2
CREATE TABLE table_name_10 (goals_for VARCHAR, lost VARCHAR, position VARCHAR)
how many times is lost less than 7 and the position 2?
SELECT SUM(position) FROM table_name_31 WHERE points_1 < 36 AND goals_for < 40 AND drawn < 9
CREATE TABLE table_name_31 (position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9?
SELECT executions_in_persona FROM table_name_92 WHERE number_of_autos_da_fé_with_known_sentences = "2 (1543–1544)"
CREATE TABLE table_name_92 (executions_in_persona VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR)
How many executions in persona have a number with known sentences of 2 (1543–1544)?
SELECT penanced FROM table_name_3 WHERE number_of_autos_da_fé_with_known_sentences = "71 (1600–1773)"
CREATE TABLE table_name_3 (penanced VARCHAR, number_of_autos_da_fé_with_known_sentences VARCHAR)
How many were penanced when the number with known sentences was 71 (1600–1773)?
SELECT penanced FROM table_name_48 WHERE total = "7666"
CREATE TABLE table_name_48 (penanced VARCHAR, total VARCHAR)
How many were penanced for a total of 7666?
SELECT executions_in_effigie FROM table_name_26 WHERE tribunal = "lamego"
CREATE TABLE table_name_26 (executions_in_effigie VARCHAR, tribunal VARCHAR)
How man executions in effigie took place at the Lamego tribunal?
SELECT penanced FROM table_name_65 WHERE executions_in_effigie = "0" AND total = "21"
CREATE TABLE table_name_65 (penanced VARCHAR, executions_in_effigie VARCHAR, total VARCHAR)
How many were penanced with 0 executions in effigie for a total of 21?
SELECT tribunal FROM table_name_34 WHERE total = "4167"
CREATE TABLE table_name_34 (tribunal VARCHAR, total VARCHAR)
Which tribunal had a total of 4167?
SELECT opponent FROM table_name_50 WHERE date = "october 20"
CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR)
What is the Opponent of the Game on October 20?