answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT game FROM table_name_98 WHERE result = "112-100"
CREATE TABLE table_name_98 (game VARCHAR, result VARCHAR)
What game had the result of 112-100?
SELECT game FROM table_name_1 WHERE date = "may 29"
CREATE TABLE table_name_1 (game VARCHAR, date VARCHAR)
What game was played on May 29?
SELECT result FROM table_name_26 WHERE game = "game 1"
CREATE TABLE table_name_26 (result VARCHAR, game VARCHAR)
What was the result of game 1?
SELECT game FROM table_name_49 WHERE home_team = "houston" AND result = "106-104"
CREATE TABLE table_name_49 (game VARCHAR, home_team VARCHAR, result VARCHAR)
What was the game when Houston was the home team and the result is 106-104?
SELECT COUNT(year) FROM table_name_49 WHERE laps = 71
CREATE TABLE table_name_49 (year VARCHAR, laps VARCHAR)
How many years was the number of laps 71?
SELECT class AS pos FROM table_name_53 WHERE year > 2002
CREATE TABLE table_name_53 (class VARCHAR, year INTEGER)
For a year that is later than 2002 what is the class position?
SELECT COUNT(round) FROM table_name_90 WHERE college = "lehigh"
CREATE TABLE table_name_90 (round VARCHAR, college VARCHAR)
How many total rounds has lehigh as the college?
SELECT name FROM table_name_59 WHERE pick = 5 AND round < 25 AND position = "ot" AND college = "boston college"
CREATE TABLE table_name_59 (name VARCHAR, college VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)
What name has 5 as the pick, a round less than 25, ot as the position, at boston college?
SELECT COUNT(overall) FROM table_name_29 WHERE position = "e" AND name = "buddy payne" AND pick < 5
CREATE TABLE table_name_29 (overall VARCHAR, pick VARCHAR, position VARCHAR, name VARCHAR)
How many overalls have E as the position, buddy payne as the name, and a pick less than 5?
SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22
CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR)
How many picks have charley sanders as the name, with a round greater than 22?
SELECT SUM(attendance) FROM table_name_8 WHERE opponent = "florida panthers"
CREATE TABLE table_name_8 (attendance INTEGER, opponent VARCHAR)
What is the Attendance of the game against the Florida Panthers?
SELECT opponent FROM table_name_4 WHERE points > 5 AND attendance > 13 OFFSET 567
CREATE TABLE table_name_4 (opponent VARCHAR, points VARCHAR, attendance VARCHAR)
What is the Opponent of the game with more than 13,567 in Attendance with more than 5 Points?
SELECT location FROM table_name_82 WHERE record = "15–1–1 (1)"
CREATE TABLE table_name_82 (location VARCHAR, record VARCHAR)
When his record was 15–1–1 (1) where did he fight?
SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 9"
CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR)
What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"?
SELECT opponent FROM table_name_91 WHERE location = "boston garden" AND game > 1 AND score = "115-105"
CREATE TABLE table_name_91 (opponent VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)
What is Opponent, when Location is "Boston Garden", when Game is greater than 1, and when Score is "115-105"?
SELECT SUM(game) FROM table_name_26 WHERE date = "wed. nov. 14"
CREATE TABLE table_name_26 (game INTEGER, date VARCHAR)
What is the sum of Game, when Date is "Wed. Nov. 14"?
SELECT score FROM table_name_80 WHERE player = "bill rogers"
CREATE TABLE table_name_80 (score VARCHAR, player VARCHAR)
What is Score, when Player is "Bill Rogers"?
SELECT state FROM table_name_74 WHERE electorate = "west sydney"
CREATE TABLE table_name_74 (state VARCHAR, electorate VARCHAR)
Which State has an Electorate of West Sydney?
SELECT state FROM table_name_14 WHERE electorate = "barton"
CREATE TABLE table_name_14 (state VARCHAR, electorate VARCHAR)
Which State has an Electorate of Barton?
SELECT l2_cache FROM table_name_38 WHERE release_price___usd__ = "$496"
CREATE TABLE table_name_38 (l2_cache VARCHAR, release_price___usd__ VARCHAR)
What was the L2 Cache for the processor with a release price of $496?
SELECT model_number FROM table_name_32 WHERE sspec_number = "sl3jm(kc0)sl3jt(kc0)"
CREATE TABLE table_name_32 (model_number VARCHAR, sspec_number VARCHAR)
What is the model number for the processor with sSpec number of sl3jm(kc0)sl3jt(kc0)?
SELECT frequency FROM table_name_79 WHERE sspec_number = "sl3bn(kc0)sl3e9(kc0)"
CREATE TABLE table_name_79 (frequency VARCHAR, sspec_number VARCHAR)
What is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)?
SELECT date FROM table_name_59 WHERE opponent = "alfonse d'amore"
CREATE TABLE table_name_59 (date VARCHAR, opponent VARCHAR)
When did alfonse d'amore compete?
SELECT MIN(round) FROM table_name_46 WHERE method = "ko" AND date = "1958"
CREATE TABLE table_name_46 (round INTEGER, method VARCHAR, date VARCHAR)
Which Round has a Method of ko, and a Date of 1958?
SELECT date FROM table_name_60 WHERE result = "win" AND round < 2 AND opponent = "myron greenberg"
CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, result VARCHAR, round VARCHAR)
Which Date has a Result of win, and a Round smaller than 2, and an Opponent of myron greenberg?
SELECT round FROM table_name_14 WHERE method = "ko" AND opponent = "alfonse d'amore"
CREATE TABLE table_name_14 (round VARCHAR, method VARCHAR, opponent VARCHAR)
Which Round has a Method of ko, and an Opponent of alfonse d'amore?
SELECT player FROM table_name_89 WHERE date = "sep. 2008"
CREATE TABLE table_name_89 (player VARCHAR, date VARCHAR)
Which Player has a Date of sep. 2008?
SELECT transfer_fee FROM table_name_80 WHERE from_club = "blackburn rovers"
CREATE TABLE table_name_80 (transfer_fee VARCHAR, from_club VARCHAR)
Which Transfer fee has a From club of blackburn rovers?
SELECT from_club FROM table_name_49 WHERE date = "20 oct. 2008"
CREATE TABLE table_name_49 (from_club VARCHAR, date VARCHAR)
Which From club has a Date of 20 oct. 2008?
SELECT player FROM table_name_34 WHERE transfer_fee = "£750,000 [x]"
CREATE TABLE table_name_34 (player VARCHAR, transfer_fee VARCHAR)
Which Player has a Transfer fee of £750,000 [x]?
SELECT tournament FROM table_name_40 WHERE date = "6 april 1992"
CREATE TABLE table_name_40 (tournament VARCHAR, date VARCHAR)
What is Tournament, when Date is "6 April 1992"?
SELECT surface FROM table_name_39 WHERE opponents = "daniel nestor sandon stolle"
CREATE TABLE table_name_39 (surface VARCHAR, opponents VARCHAR)
What is Surface, when Opponents is "Daniel Nestor Sandon Stolle"?
SELECT date FROM table_name_48 WHERE outcome = "winner" AND opponents = "paul haarhuis sandon stolle"
CREATE TABLE table_name_48 (date VARCHAR, outcome VARCHAR, opponents VARCHAR)
What is Date, when Outcome is "Winner", and when Opponents is "Paul Haarhuis Sandon Stolle"?
SELECT outcome FROM table_name_94 WHERE partner = "byron black" AND opponents = "goran ivanišević brian macphie"
CREATE TABLE table_name_94 (outcome VARCHAR, partner VARCHAR, opponents VARCHAR)
What is Outcome, when Partner is "Byron Black", and when Opponents is "Goran Ivanišević Brian Macphie"?
SELECT tournament FROM table_name_38 WHERE date = "9 august 1993"
CREATE TABLE table_name_38 (tournament VARCHAR, date VARCHAR)
What is Tournament, when Date is "9 August 1993"?
SELECT place FROM table_name_88 WHERE player = "arnold palmer"
CREATE TABLE table_name_88 (place VARCHAR, player VARCHAR)
What is Place, when Player is "Arnold Palmer"?
SELECT player FROM table_name_70 WHERE to_par = "+1" AND score = 72 - 70 - 72 = 214
CREATE TABLE table_name_70 (player VARCHAR, to_par VARCHAR, score VARCHAR)
What is Player, when To Par is +1, and when Score is 72-70-72=214?
SELECT score FROM table_name_93 WHERE country = "united states" AND player = "arnold palmer"
CREATE TABLE table_name_93 (score VARCHAR, country VARCHAR, player VARCHAR)
What is Score, when Country is United States, and when Player is "Arnold Palmer"?
SELECT to_par FROM table_name_22 WHERE country = "united states" AND score = 71 - 68 - 73 = 212
CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, score VARCHAR)
What is To Par, when Country is United States, and when Score is 71-68-73=212?
SELECT player FROM table_name_1 WHERE country = "united states" AND score = 70 - 72 - 70 = 212
CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, score VARCHAR)
What is Player, when Country is United States, and when Score is 70-72-70=212?
SELECT country FROM table_name_77 WHERE player = "billy maxwell"
CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR)
What is Country, when Player is "Billy Maxwell"?
SELECT name FROM table_name_23 WHERE react < 0.149 AND lane < 6
CREATE TABLE table_name_23 (name VARCHAR, react VARCHAR, lane VARCHAR)
Who has a react smaller than 0.149 and a lane smaller than 6?
SELECT MIN(lane) FROM table_name_50 WHERE mark = "7.26"
CREATE TABLE table_name_50 (lane INTEGER, mark VARCHAR)
What was the lowest lane with a mark of 7.26?
SELECT MAX(games) FROM table_name_90 WHERE season > 2001 AND average < 10 OFFSET 838
CREATE TABLE table_name_90 (games INTEGER, season VARCHAR, average VARCHAR)
What is the maximum number of games when the season is more recent than 2001 and the average is less than 10,838?
SELECT COUNT(no_of_clubs) FROM table_name_10 WHERE team = "shenyang ginde" AND games > 182
CREATE TABLE table_name_10 (no_of_clubs VARCHAR, team VARCHAR, games VARCHAR)
What is the number of clubs for Shenyang Ginde when there were more than 182 games?
SELECT MIN(average) FROM table_name_26 WHERE team = "beijing guo'an" AND games > 240
CREATE TABLE table_name_26 (average INTEGER, team VARCHAR, games VARCHAR)
What is the smallest average for Beijing Guo'an when they played more than 240 games?
SELECT AVG(pick) FROM table_name_32 WHERE school = "washington state"
CREATE TABLE table_name_32 (pick INTEGER, school VARCHAR)
What is the average pick number for Washington State?
SELECT comments FROM table_name_56 WHERE length_over_all = "4.5m"
CREATE TABLE table_name_56 (comments VARCHAR, length_over_all VARCHAR)
Which Comments has a Length Over All of 4.5m?
SELECT crew FROM table_name_49 WHERE comments = "daggerboards. design: roy seaman"
CREATE TABLE table_name_49 (crew VARCHAR, comments VARCHAR)
Which Crew has Comments of daggerboards. design: roy seaman?
SELECT comments FROM table_name_30 WHERE model = "18sq"
CREATE TABLE table_name_30 (comments VARCHAR, model VARCHAR)
Which Comments has a Model of 18sq?
SELECT model FROM table_name_61 WHERE comments = "curved daggerboards. design: morelli und melvin"
CREATE TABLE table_name_61 (model VARCHAR, comments VARCHAR)
Which Model has Comments of curved daggerboards. design: morelli und melvin?
SELECT beam FROM table_name_17 WHERE model = "570"
CREATE TABLE table_name_17 (beam VARCHAR, model VARCHAR)
Which Beam has a Model of 570?
SELECT model FROM table_name_75 WHERE sail_area = "24.5 m²"
CREATE TABLE table_name_75 (model VARCHAR, sail_area VARCHAR)
Which Model has a Sail Area of 24.5 m²?
SELECT SUM(game) FROM table_name_41 WHERE points < 30
CREATE TABLE table_name_41 (game INTEGER, points INTEGER)
What is the sum of the game numbers for games with less than 30 points?
SELECT location FROM table_name_27 WHERE opponent = "buffalo sabres"
CREATE TABLE table_name_27 (location VARCHAR, opponent VARCHAR)
Where was the game against the buffalo sabres?
SELECT MAX(br_no) FROM table_name_39 WHERE secr_no = 765
CREATE TABLE table_name_39 (br_no INTEGER, secr_no VARCHAR)
What is the highest BR number with a SECR number of 765?
SELECT AVG(sr_no) FROM table_name_10 WHERE builder = "beyer peacock" AND secr_no = 769
CREATE TABLE table_name_10 (sr_no INTEGER, builder VARCHAR, secr_no VARCHAR)
What is Beyer Peacock's SR number with a SECR number of 769?
SELECT tyre FROM table_name_55 WHERE rounds = "all" AND team = "nismo" AND drivers = "satoshi motoyama"
CREATE TABLE table_name_55 (tyre VARCHAR, drivers VARCHAR, rounds VARCHAR, team VARCHAR)
What is the tyre of nismo team member satoshi motoyama when he has rounds of all?
SELECT tyre FROM table_name_24 WHERE team = "real racing with leon" AND drivers = "koudai tsukakoshi"
CREATE TABLE table_name_24 (tyre VARCHAR, team VARCHAR, drivers VARCHAR)
What is the tyre of real racing with leon team member koudai tsukakoshi?
SELECT drivers FROM table_name_2 WHERE rounds = "all" AND make = "lexus" AND tyre = "b" AND team = "petronas toyota team tom's"
CREATE TABLE table_name_2 (drivers VARCHAR, team VARCHAR, tyre VARCHAR, rounds VARCHAR, make VARCHAR)
Which drives drove a lexus, made all rounds, had a tyre of B and was on the team of petronas toyota team tom's?
SELECT team FROM table_name_38 WHERE make = "lexus" AND drivers = "yuji tachikawa"
CREATE TABLE table_name_38 (team VARCHAR, make VARCHAR, drivers VARCHAR)
When driver yuji tachikawa had a make of lexus, what team did he represent?
SELECT SUM(capacity) FROM table_name_58 WHERE team = "denizlispor"
CREATE TABLE table_name_58 (capacity INTEGER, team VARCHAR)
What is the sum of Capacity, when Team is "Denizlispor"?
SELECT team FROM table_name_4 WHERE venue = "şükrü saracoğlu stadium"
CREATE TABLE table_name_4 (team VARCHAR, venue VARCHAR)
What is Team, when Venue is "Şükrü Saracoğlu Stadium"?
SELECT gagarin_cup_winner FROM table_name_17 WHERE gagarin_cup_finalist = "avangard omsk"
CREATE TABLE table_name_17 (gagarin_cup_winner VARCHAR, gagarin_cup_finalist VARCHAR)
Who is the gagarin cup winner when avangard omsk is the gagarin cup finalist?
SELECT res FROM table_name_60 WHERE record = "9-1"
CREATE TABLE table_name_60 (res VARCHAR, record VARCHAR)
What was the resolution of the fight where andre roberts record was 9-1?
SELECT 2 AS nd_leg FROM table_name_29 WHERE team__number2 = "goiás"
CREATE TABLE table_name_29 (team__number2 VARCHAR)
What is the 2nd leg of goiás team 2?
SELECT 2 AS nd_leg FROM table_name_66 WHERE team__number2 = "emelec"
CREATE TABLE table_name_66 (team__number2 VARCHAR)
What is the 2nd leg of emelec team 2?
SELECT 2 AS nd_leg FROM table_name_62 WHERE team__number1 = "ldu quito"
CREATE TABLE table_name_62 (team__number1 VARCHAR)
What is the 2nd leg with ldu quito as team 1?
SELECT listed FROM table_name_29 WHERE location = "mcclain"
CREATE TABLE table_name_29 (listed VARCHAR, location VARCHAR)
On what date was the bridge located in McClain listed?
SELECT source FROM table_name_27 WHERE date = "6 september"
CREATE TABLE table_name_27 (source VARCHAR, date VARCHAR)
What is the source on 6 September?
SELECT COUNT(week) FROM table_name_4 WHERE result = "l 21-19"
CREATE TABLE table_name_4 (week VARCHAR, result VARCHAR)
Which Week has a Result of l 21-19?
SELECT MIN(week) FROM table_name_89 WHERE result = "l 41-14"
CREATE TABLE table_name_89 (week INTEGER, result VARCHAR)
Which Week has a Result of l 41-14?
SELECT result FROM table_name_81 WHERE date = "september 3, 2000"
CREATE TABLE table_name_81 (result VARCHAR, date VARCHAR)
Which Result has a Date of september 3, 2000?
SELECT date FROM table_name_71 WHERE attendance = "54,626"
CREATE TABLE table_name_71 (date VARCHAR, attendance VARCHAR)
Which Date has an Attendance of 54,626?
SELECT result FROM table_name_99 WHERE attendance = "bye"
CREATE TABLE table_name_99 (result VARCHAR, attendance VARCHAR)
Which Result has an Attendance of bye?
SELECT MIN(preliminary) FROM table_name_50 WHERE swimsuit < 8.822 AND interview > 8.744 AND evening_gown > 9.333
CREATE TABLE table_name_50 (preliminary INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, interview VARCHAR)
What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333?
SELECT MAX(preliminary) FROM table_name_35 WHERE state = "new mexico" AND interview < 9.533
CREATE TABLE table_name_35 (preliminary INTEGER, state VARCHAR, interview VARCHAR)
What is the best preliminary for a contestant from New Mexico with interview less than 9.533?
SELECT state FROM table_name_19 WHERE swimsuit < 9.277 AND evening_gown > 8.944 AND preliminary < 8.483
CREATE TABLE table_name_19 (state VARCHAR, preliminary VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR)
What state has a swimsuit less than 9.277, gown more than 8.944 and preliminary greater than 8.483?
SELECT SUM(average) FROM table_name_28 WHERE interview = 9.465 AND evening_gown < 9.454
CREATE TABLE table_name_28 (average INTEGER, interview VARCHAR, evening_gown VARCHAR)
What is the average when interview is 9.465 and evening gown is less than 9.454?
SELECT MAX(preliminary) FROM table_name_63 WHERE state = "oklahoma" AND evening_gown < 8.853
CREATE TABLE table_name_63 (preliminary INTEGER, state VARCHAR, evening_gown VARCHAR)
What is the best preliminary score from a contestant from Oklahoma with evening gown less than 8.853?
SELECT written_by FROM table_name_31 WHERE originalairdate = "25 april 1993"
CREATE TABLE table_name_31 (written_by VARCHAR, originalairdate VARCHAR)
What is Written By, when Originalairdate is 25 April 1993?
SELECT directed_by FROM table_name_18 WHERE episode__number = 7
CREATE TABLE table_name_18 (directed_by VARCHAR, episode__number VARCHAR)
What is Directed By, when Episode # is 7?
SELECT MIN(avg_finish) FROM table_name_70 WHERE position = "40th" AND top_5 > 0
CREATE TABLE table_name_70 (avg_finish INTEGER, position VARCHAR, top_5 VARCHAR)
WHAT IS THE LOWEST AVERAGE FINISH FOR 40TH POSITION, WITH A TOP 5 LARGER THAN 0?
SELECT country FROM table_name_19 WHERE supermarkets = "50"
CREATE TABLE table_name_19 (country VARCHAR, supermarkets VARCHAR)
What country has 50 supermarkets?
SELECT country FROM table_name_47 WHERE supermarkets = "370"
CREATE TABLE table_name_47 (country VARCHAR, supermarkets VARCHAR)
What country has 370 supermarkets?
SELECT country FROM table_name_2 WHERE first_store = "1991" AND hard_discounters = "397"
CREATE TABLE table_name_2 (country VARCHAR, first_store VARCHAR, hard_discounters VARCHAR)
What country has a fire store of 1991 and a hard discounter of 397?
SELECT engine FROM table_name_9 WHERE rounds = "all" AND driver = "tsugio matsuda"
CREATE TABLE table_name_9 (engine VARCHAR, rounds VARCHAR, driver VARCHAR)
Which engine is in all rounds with Tsugio Matsuda driving?
SELECT engine FROM table_name_65 WHERE team = "team lemans" AND driver = "hiroaki ishiura"
CREATE TABLE table_name_65 (engine VARCHAR, team VARCHAR, driver VARCHAR)
Which engine is used by Team Lemans with Hiroaki Ishiura driving?
SELECT MIN(rank) FROM table_name_34 WHERE loss > 3 AND sets_lost < 25
CREATE TABLE table_name_34 (rank INTEGER, loss VARCHAR, sets_lost VARCHAR)
What is the least rank with more than 3 losses and less than 25 sets lost?
SELECT MIN(rank) FROM table_name_47 WHERE sets_won > 16 AND loss < 1
CREATE TABLE table_name_47 (rank INTEGER, sets_won VARCHAR, loss VARCHAR)
What is the least rank with more than 16 sets won and less than 1 loss?
SELECT home_team FROM table_name_74 WHERE away_team = "telford united"
CREATE TABLE table_name_74 (home_team VARCHAR, away_team VARCHAR)
Who was the home team when the away team was Telford United?
SELECT score FROM table_name_4 WHERE away_team = "west ham united"
CREATE TABLE table_name_4 (score VARCHAR, away_team VARCHAR)
What was the score when the away team was West Ham United?
SELECT tie_no FROM table_name_56 WHERE home_team = "west ham united"
CREATE TABLE table_name_56 (tie_no VARCHAR, home_team VARCHAR)
What is the Tie Number when the home team was West Ham United?
SELECT model_number FROM table_name_59 WHERE fsb_speed = "400 mhz"
CREATE TABLE table_name_59 (model_number VARCHAR, fsb_speed VARCHAR)
Name the Model Number which has a FSB Speed of 400 mhz?
SELECT voltage_range FROM table_name_30 WHERE fsb_speed = "400 mhz" AND clock_speed = "1 ghz"
CREATE TABLE table_name_30 (voltage_range VARCHAR, fsb_speed VARCHAR, clock_speed VARCHAR)
Name the Voltage Range which has a FSB Speed of 400 mhz, and a Clock Speed of 1 ghz?
SELECT l2_cache FROM table_name_10 WHERE clock_speed = "1.5 ghz"
CREATE TABLE table_name_10 (l2_cache VARCHAR, clock_speed VARCHAR)
Name the L2 Cache which has a Clock Speed of 1.5 ghz?
SELECT MIN(game) FROM table_name_57 WHERE team = "orlando"
CREATE TABLE table_name_57 (game INTEGER, team VARCHAR)
What is the earliest game against Orlando?
SELECT MAX(week) FROM table_name_47 WHERE attendance = "72,855"
CREATE TABLE table_name_47 (week INTEGER, attendance VARCHAR)
Which Week has an Attendance of 72,855?
SELECT AVG(week) FROM table_name_67 WHERE date = "december 8, 1991"
CREATE TABLE table_name_67 (week INTEGER, date VARCHAR)
Which Week has a Date of december 8, 1991?
SELECT opponent FROM table_name_52 WHERE date = "november 24, 1991"
CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR)
Which Opponent has a Date of november 24, 1991?