answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT score FROM table_name_5 WHERE date = "september 9"
CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)
What was the score of the game played on September 9?
SELECT overall_record FROM table_name_9 WHERE school = "indian river"
CREATE TABLE table_name_9 (overall_record VARCHAR, school VARCHAR)
Name the overall record for indian river
SELECT money___$__ FROM table_name_17 WHERE score = 74 - 76 - 71 - 71 = 292
CREATE TABLE table_name_17 (money___$__ VARCHAR, score VARCHAR)
How much money was won for the game with a score of 74-76-71-71=292?
SELECT country FROM table_name_74 WHERE score = 70 - 79 - 74 - 68 = 291
CREATE TABLE table_name_74 (country VARCHAR, score VARCHAR)
What country was the player from with a score of 70-79-74-68=291?
SELECT score FROM table_name_51 WHERE to_par < 2
CREATE TABLE table_name_51 (score VARCHAR, to_par INTEGER)
When To par was less than 2, what was the score?
SELECT date FROM table_name_23 WHERE result = "sa by 10 wkts"
CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR)
When was the match with a result of sa by 10 wkts?
SELECT date FROM table_name_18 WHERE result = "sa by 10 wkts"
CREATE TABLE table_name_18 (date VARCHAR, result VARCHAR)
When was the match with a result of sa by 10 wkts?
SELECT date FROM table_name_49 WHERE venue = "centurion park"
CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR)
When was there a match in Centurion Park?
SELECT finish FROM table_name_1 WHERE qual = "144.817"
CREATE TABLE table_name_1 (finish VARCHAR, qual VARCHAR)
Name the finish which has qual of 144.817
SELECT qual FROM table_name_78 WHERE rank = "9"
CREATE TABLE table_name_78 (qual VARCHAR, rank VARCHAR)
Name the qual for rank of 9
SELECT qual FROM table_name_1 WHERE year = "1957"
CREATE TABLE table_name_1 (qual VARCHAR, year VARCHAR)
Name the qual for 1957
SELECT status FROM table_name_61 WHERE name = "de la red"
CREATE TABLE table_name_61 (status VARCHAR, name VARCHAR)
What shows as the status for the name of de la red?
SELECT country FROM table_name_39 WHERE transfer_fee = "—" AND transfer_window = "summer" AND status = "loaned out" AND name = "gonzález"
CREATE TABLE table_name_39 (country VARCHAR, name VARCHAR, status VARCHAR, transfer_fee VARCHAR, transfer_window VARCHAR)
What country has a Transfer fee of —, and a Transfer window of summer, and the Status of loaned out, and a Name of gonzález?
SELECT status FROM table_name_29 WHERE name = "diogo"
CREATE TABLE table_name_29 (status VARCHAR, name VARCHAR)
What shows as the status for Diogo?
SELECT name FROM table_name_20 WHERE country = "esp" AND transfer_fee = "€ 7m"
CREATE TABLE table_name_20 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR)
What is the name when the country is ESP and the transfer fee is € 7m?
SELECT transfer_window FROM table_name_49 WHERE country = "esp" AND name = "de la red"
CREATE TABLE table_name_49 (transfer_window VARCHAR, country VARCHAR, name VARCHAR)
What is the transfer window for the country of ESP and the name of de la red?
SELECT transfer_fee FROM table_name_53 WHERE name = "diogo"
CREATE TABLE table_name_53 (transfer_fee VARCHAR, name VARCHAR)
What is the transfer fee of Diogo?
SELECT MIN(att) FROM table_name_2 WHERE loss = "lohse (12–11)"
CREATE TABLE table_name_2 (att INTEGER, loss VARCHAR)
What was the lowest attendance at a game that had a loss of lohse (12–11)?
SELECT time FROM table_name_4 WHERE opponent = "royals" AND record = "81–73"
CREATE TABLE table_name_4 (time VARCHAR, opponent VARCHAR, record VARCHAR)
What was time of the game against the Royals with a record of 81–73?
SELECT round FROM table_name_42 WHERE kick_off = "1992-10-01 21:15"
CREATE TABLE table_name_42 (round VARCHAR, kick_off VARCHAR)
Which round has a Kick Off of 1992-10-01 21:15?
SELECT round FROM table_name_8 WHERE kick_off = "1993-02-17 20:30"
CREATE TABLE table_name_8 (round VARCHAR, kick_off VARCHAR)
Which round has a Kick Off of 1993-02-17 20:30?
SELECT MIN(maximum_fps) FROM table_name_84 WHERE width = 3072 AND height < 1620
CREATE TABLE table_name_84 (maximum_fps INTEGER, width VARCHAR, height VARCHAR)
What is the lowest maximum of fps with a width of 3072 and a height less than 1620?
SELECT maximum_fps AS HDRx FROM table_name_47 WHERE height > 1080 AND least_compression_at_24_fps = "6:1" AND least_compression_at_maximum_fps = "7:1"
CREATE TABLE table_name_47 (maximum_fps VARCHAR, least_compression_at_maximum_fps VARCHAR, height VARCHAR, least_compression_at_24_fps VARCHAR)
What is the maximum fps HDRx with a height larger than 1080 with a compression at 24 fps of 6:1 with a compression at maximum fps of at least 7:1?
SELECT loss FROM table_name_22 WHERE record = "52-36"
CREATE TABLE table_name_22 (loss VARCHAR, record VARCHAR)
Who got the loss on the game that ended in a 52-36 record?
SELECT loss FROM table_name_74 WHERE record = "55-41"
CREATE TABLE table_name_74 (loss VARCHAR, record VARCHAR)
Who got the loss for the game ending in a record of 55-41?
SELECT opponent FROM table_name_93 WHERE loss = "dotson (8-6)"
CREATE TABLE table_name_93 (opponent VARCHAR, loss VARCHAR)
Which team opponent had a loss with their pitcher Dotson (8-6)?
SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat" AND 2005 > 7340
CREATE TABLE table_name_47 (production_year VARCHAR)
What is the average 2006 value for wheat with a 2005 value greater than 7340?
SELECT AVG(2002) FROM table_name_31 WHERE 2010 < 5587 AND production_year = "sunflower" AND 2007 > 546
CREATE TABLE table_name_31 (production_year VARCHAR)
What is the average 2002 value for Sunflower, which had a 2010 value less than 5587 and a 2007 value greater than 546?
SELECT AVG(2001) FROM table_name_41 WHERE 2010 > 414 AND 2011 = 7192 AND 2005 > 7340
CREATE TABLE table_name_41 (Id VARCHAR)
What is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340?
SELECT SUM(2006) FROM table_name_83 WHERE 2011 > 4113 AND 2008 < 7181
CREATE TABLE table_name_83 (Id VARCHAR)
What is the 2006 value with a 2011 value greater than 4113 and a 2008 value less than 7181?
SELECT gamecenter FROM table_name_17 WHERE attendance = "65,212"
CREATE TABLE table_name_17 (gamecenter VARCHAR, attendance VARCHAR)
Name the gamecenter that has attendance of 65,212
SELECT gamecenter FROM table_name_48 WHERE attendance = "78,551"
CREATE TABLE table_name_48 (gamecenter VARCHAR, attendance VARCHAR)
Name the gamecenter with attendance of 78,551
SELECT tv_time FROM table_name_84 WHERE attendance = "69,551"
CREATE TABLE table_name_84 (tv_time VARCHAR, attendance VARCHAR)
Name the tv time for attendance of 69,551
SELECT MIN(laps) FROM table_name_23 WHERE rider = "imre toth"
CREATE TABLE table_name_23 (laps INTEGER, rider VARCHAR)
what is the smallest number of laps imre toth has?
SELECT MIN(laps) FROM table_name_96 WHERE manufacturer = "gilera" AND rider = "marco simoncelli" AND grid < 8
CREATE TABLE table_name_96 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, rider VARCHAR)
what is the smallest number of laps marco simoncelli has with grid less than 8 and gilera as the manufacturer?
SELECT away_captain FROM table_name_34 WHERE venue = "brisbane cricket ground"
CREATE TABLE table_name_34 (away_captain VARCHAR, venue VARCHAR)
Who was the away captain at Brisbane Cricket Ground?
SELECT home_captain FROM table_name_34 WHERE venue = "sydney cricket ground"
CREATE TABLE table_name_34 (home_captain VARCHAR, venue VARCHAR)
Who was the home captain at Sydney Cricket Ground?
SELECT date FROM table_name_95 WHERE venue = "brisbane cricket ground"
CREATE TABLE table_name_95 (date VARCHAR, venue VARCHAR)
On what date was the venue at Brisbane Cricket Ground?
SELECT away_captain FROM table_name_60 WHERE venue = "waca ground"
CREATE TABLE table_name_60 (away_captain VARCHAR, venue VARCHAR)
Who was the away captain at Waca Ground?
SELECT date FROM table_name_23 WHERE venue = "brisbane cricket ground"
CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR)
On what date was the venue at Brisbane Cricket Ground?
SELECT score FROM table_name_65 WHERE date = "june 30"
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)
What was the score for the game on June 30?
SELECT title FROM table_name_12 WHERE catalog__number = "pcr 502"
CREATE TABLE table_name_12 (title VARCHAR, catalog__number VARCHAR)
What CD has a catalog # of PCR 502?
SELECT title FROM table_name_64 WHERE released = 2009
CREATE TABLE table_name_64 (title VARCHAR, released VARCHAR)
What CD was released in 2009?
SELECT MAX(division) FROM table_name_25 WHERE playoffs = "quarter finals" AND regular_season = "5th"
CREATE TABLE table_name_25 (division INTEGER, playoffs VARCHAR, regular_season VARCHAR)
What is the highest Division when the playoffs were the quarter finals, with a Regular Season of 5th?
SELECT COUNT(year) FROM table_name_17 WHERE playoffs = "did not qualify" AND regular_season = "10th"
CREATE TABLE table_name_17 (year VARCHAR, playoffs VARCHAR, regular_season VARCHAR)
What is the year when they did not qualify for the playoff and the Regular Season shows as 10th?
SELECT playoffs FROM table_name_52 WHERE open_cup = "did not qualify" AND regular_season = "3rd, south atlantic"
CREATE TABLE table_name_52 (playoffs VARCHAR, open_cup VARCHAR, regular_season VARCHAR)
What shows for Playoffs when the Open Cup shows as did not qualify, and a Regular Season was 3rd, south atlantic?
SELECT MAX(points) FROM table_name_66 WHERE year = 1962 AND class = "125cc" AND wins < 0
CREATE TABLE table_name_66 (points INTEGER, wins VARCHAR, year VARCHAR, class VARCHAR)
What is the highest points value for 1962, in the 125cc class, and with 0 wins?
SELECT MAX(points) FROM table_name_71 WHERE class = "500cc" AND year > 1962 AND wins < 0
CREATE TABLE table_name_71 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR)
What is the highest points value for the 500cc class in years after 1962 with 0 wins?
SELECT COUNT(points) FROM table_name_49 WHERE team = "ajs" AND wins < 0
CREATE TABLE table_name_49 (points VARCHAR, team VARCHAR, wins VARCHAR)
For Team AJS, what is the total number of points for drivers with 0 wins?
SELECT year FROM table_name_81 WHERE points = 0 AND chassis = "ags jh23b"
CREATE TABLE table_name_81 (year VARCHAR, points VARCHAR, chassis VARCHAR)
Which year had 0 points and an AGS JH23B chassis?
SELECT points FROM table_name_52 WHERE year > 1986 AND chassis = "ags jh23b"
CREATE TABLE table_name_52 (points VARCHAR, year VARCHAR, chassis VARCHAR)
How many points does the year after 1986 with a AGS JH23B chassis have?
SELECT points FROM table_name_27 WHERE entrant = "tyrrell racing organisation"
CREATE TABLE table_name_27 (points VARCHAR, entrant VARCHAR)
How many points did the Tyrrell Racing Organisation have?
SELECT week FROM table_name_46 WHERE date = "september 23, 1973"
CREATE TABLE table_name_46 (week VARCHAR, date VARCHAR)
September 23, 1973 landed on which week of the season?
SELECT MIN(gold) FROM table_name_88 WHERE rank > 4 AND total < 1
CREATE TABLE table_name_88 (gold INTEGER, rank VARCHAR, total VARCHAR)
What's the lowest Gold if the Rank is over 4 but the Total is less than 1?
SELECT MAX(bronze) FROM table_name_40 WHERE rank < 1
CREATE TABLE table_name_40 (bronze INTEGER, rank INTEGER)
What's the highest bronze with a less than 1 Rank?
SELECT AVG(total) FROM table_name_25 WHERE bronze = 5 AND silver < 4
CREATE TABLE table_name_25 (total INTEGER, bronze VARCHAR, silver VARCHAR)
What's the average total if the Bronze is 5 and the Silver is less than 4?
SELECT votes FROM table_name_81 WHERE residence = "halifax"
CREATE TABLE table_name_81 (votes VARCHAR, residence VARCHAR)
How many Votes, when the Residence is Halifax?
SELECT riding FROM table_name_47 WHERE rank = "4th"
CREATE TABLE table_name_47 (riding VARCHAR, rank VARCHAR)
What is the Riding, when the Rank is 4th?
SELECT MAX(cuts_made) FROM table_name_61 WHERE top_25 > 4 AND top_5 = 1 AND wins > 0
CREATE TABLE table_name_61 (cuts_made INTEGER, wins VARCHAR, top_25 VARCHAR, top_5 VARCHAR)
Name the most cuts made with top-25 more than 4 and top 5 of 1 with wins more than 0
SELECT SUM(top_25) FROM table_name_65 WHERE wins < 1 AND events = 12
CREATE TABLE table_name_65 (top_25 INTEGER, wins VARCHAR, events VARCHAR)
Name the top-25 with wins less than 1 and events of 12
SELECT away_team FROM table_name_28 WHERE attendance = "7,891"
CREATE TABLE table_name_28 (away_team VARCHAR, attendance VARCHAR)
Who was the away team when the attendance was 7,891?
SELECT score FROM table_name_38 WHERE attendance = "1,644"
CREATE TABLE table_name_38 (score VARCHAR, attendance VARCHAR)
What was the score of the game when the attendance was 1,644?
SELECT away_team FROM table_name_53 WHERE home_team = "lincoln city"
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
Who was the away team when the home team was Lincoln City?
SELECT score FROM table_name_74 WHERE home_team = "lincoln city"
CREATE TABLE table_name_74 (score VARCHAR, home_team VARCHAR)
What was the score of the game when the home team was Lincoln City?
SELECT away_team FROM table_name_64 WHERE attendance = "7,891"
CREATE TABLE table_name_64 (away_team VARCHAR, attendance VARCHAR)
Who was the away team when the attendance was 7,891?
SELECT MAX(points) FROM table_name_93 WHERE year < 1983
CREATE TABLE table_name_93 (points INTEGER, year INTEGER)
What is the most amount of points for a team before 1983?
SELECT team FROM table_name_71 WHERE points = 4 AND chassis = "march 82/83c"
CREATE TABLE table_name_71 (team VARCHAR, points VARCHAR, chassis VARCHAR)
What team has 4 points and a Chassis of march 82/83c?
SELECT engine FROM table_name_2 WHERE year > 1982 AND points = 11 AND team = "curb motorsports"
CREATE TABLE table_name_2 (engine VARCHAR, team VARCHAR, year VARCHAR, points VARCHAR)
What engine was used by Curb Motorsports after 1982 that had 11 points?
SELECT engine FROM table_name_84 WHERE year < 1983
CREATE TABLE table_name_84 (engine VARCHAR, year INTEGER)
What is the Engine used before 1983?
SELECT COUNT(average) FROM table_name_99 WHERE matches < 52 AND runs < 4564 AND wickets < 265
CREATE TABLE table_name_99 (average VARCHAR, wickets VARCHAR, matches VARCHAR, runs VARCHAR)
Name the total number of average for wickets less than 265, runs less than 4564 and matches less than 52
SELECT COUNT(average) FROM table_name_21 WHERE wickets > 537 AND career = "1899/00-1925/26" AND matches < 211
CREATE TABLE table_name_21 (average VARCHAR, matches VARCHAR, wickets VARCHAR, career VARCHAR)
Name the total number of average for wickets more than 537, career of 1899/00-1925/26 and matches less than 211
SELECT MIN(average) FROM table_name_38 WHERE wickets > 265 AND career = "1888/89-1913/14" AND matches > 51
CREATE TABLE table_name_38 (average INTEGER, matches VARCHAR, wickets VARCHAR, career VARCHAR)
Name the least average with wickets more than 265 and career of 1888/89-1913/14 and matches more than 51
SELECT COUNT(matches) FROM table_name_73 WHERE wickets < 537 AND career = "1898/99-1919/20" AND runs > 4476
CREATE TABLE table_name_73 (matches VARCHAR, runs VARCHAR, wickets VARCHAR, career VARCHAR)
Name the total number of matches with wickets less than 537 and career of 1898/99-1919/20 with runs more than 4476
SELECT opponent FROM table_name_91 WHERE series = "4-2"
CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR)
Can you tell me the Opponent that has the Series of 4-2?
SELECT to_par FROM table_name_46 WHERE place = "t4" AND score = 75 - 69 - 74 - 72 = 290
CREATE TABLE table_name_46 (to_par VARCHAR, place VARCHAR, score VARCHAR)
What is the to par of the player with a t4 place and a score of 75-69-74-72=290?
SELECT entrant FROM table_name_91 WHERE points < 8 AND chassis = "maserati"
CREATE TABLE table_name_91 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
Which entrant scored less than 8 points and used a Maserati chassis?
SELECT entrant FROM table_name_15 WHERE engine = "offenhauser l4" AND year < 1955 AND chassis = "kurtis kraft kk500a" AND points = 9
CREATE TABLE table_name_15 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR)
Which entrant, with an Offenhauser L4 engine and a Kurtis Kraft KK500A chassis, scored 9 points before 1955?
SELECT engine FROM table_name_4 WHERE entrant = "fuel injection"
CREATE TABLE table_name_4 (engine VARCHAR, entrant VARCHAR)
What type of engine did the Fuel Injection entrant use?
SELECT AVG(points) FROM table_name_93 WHERE engine = "offenhauser l4" AND chassis = "trevis"
CREATE TABLE table_name_93 (points INTEGER, engine VARCHAR, chassis VARCHAR)
What is the average number of points for an Offenhauser L4 engine with a Trevis chassis?
SELECT poll_source FROM table_name_55 WHERE steve_poizner = "37%"
CREATE TABLE table_name_55 (poll_source VARCHAR, steve_poizner VARCHAR)
What poll had Steve Poizner at 37%?
SELECT date_s__administered FROM table_name_38 WHERE meg_whitman = "60%"
CREATE TABLE table_name_38 (date_s__administered VARCHAR, meg_whitman VARCHAR)
When did Meg Whitman get 60%?
SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons"
CREATE TABLE table_name_74 (round INTEGER, team VARCHAR)
How many players were drafted from the Boston Cannons in the round?
SELECT MAX(round) FROM table_name_26 WHERE team = "long island lizards"
CREATE TABLE table_name_26 (round INTEGER, team VARCHAR)
Which round was a player from the Long Island Lizards drafted in first?
SELECT nationality FROM table_name_56 WHERE player = "dave curry"
CREATE TABLE table_name_56 (nationality VARCHAR, player VARCHAR)
Dave Curry has what Nationality?
SELECT manufacturer FROM table_name_43 WHERE grid = 11
CREATE TABLE table_name_43 (manufacturer VARCHAR, grid VARCHAR)
Name the manufacturer with grid of 11
SELECT manufacturer FROM table_name_26 WHERE grid > 18 AND laps > 1 AND time_retired = "+1 lap"
CREATE TABLE table_name_26 (manufacturer VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
Name the manufacturer for grid more than 18 and laps more than 1 with tired/retired of +1 lap
SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804"
CREATE TABLE table_name_92 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
Name the laps for suzuki and time/retired of +1:02.804
SELECT SUM(laps) FROM table_name_82 WHERE grid = 12
CREATE TABLE table_name_82 (laps INTEGER, grid VARCHAR)
Name the sum of laps for 12 grids
SELECT MAX(_number_of_total_votes) FROM table_name_31 WHERE _percentage_of_popular_vote = "32.41%" AND _number_of_seats_won > 95
CREATE TABLE table_name_31 (_number_of_total_votes INTEGER, _percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)
Name the most # of total votes with % of popular vote of 32.41% and # of seats won more than 95
SELECT finish FROM table_name_95 WHERE year = "1954"
CREATE TABLE table_name_95 (finish VARCHAR, year VARCHAR)
What was Jack McGrath's finish number in 1954?
SELECT start FROM table_name_72 WHERE qual = "141.033"
CREATE TABLE table_name_72 (start VARCHAR, qual VARCHAR)
What place did Jack McGrath start in when he received a qual score of 141.033?
SELECT rank FROM table_name_7 WHERE start = "3" AND finish = "26" AND year = "1955"
CREATE TABLE table_name_7 (rank VARCHAR, year VARCHAR, start VARCHAR, finish VARCHAR)
What was Jack McGrath's rank in 1955 when he started at 3 and finished at 26?
SELECT pre__season FROM table_name_21 WHERE may_5 = "21"
CREATE TABLE table_name_21 (pre__season VARCHAR, may_5 VARCHAR)
Which pre-season has May 5 of 21?
SELECT mar_3 FROM table_name_35 WHERE poll = "baseball america (top 25)"
CREATE TABLE table_name_35 (mar_3 VARCHAR, poll VARCHAR)
Which March 3 has a Poll of baseball america (top 25)?
SELECT pre__season FROM table_name_24 WHERE mar_3 = "nr" AND poll = "usa today/espn coaches' poll (top 25)"
CREATE TABLE table_name_24 (pre__season VARCHAR, mar_3 VARCHAR, poll VARCHAR)
Which pre-season has a Mar. 3 of nr, and a Poll of usa today/espn coaches' poll (top 25)?
SELECT opponent FROM table_name_99 WHERE date = "september 9, 1979"
CREATE TABLE table_name_99 (opponent VARCHAR, date VARCHAR)
Who is the opponent on September 9, 1979?
SELECT SUM(week) FROM table_name_60 WHERE opponent = "denver broncos"
CREATE TABLE table_name_60 (week INTEGER, opponent VARCHAR)
What is the sum of the week for the Denver Broncos?
SELECT SUM(attendance) FROM table_name_52 WHERE date = "december 2, 1979"
CREATE TABLE table_name_52 (attendance INTEGER, date VARCHAR)
What is the attendance number for December 2, 1979?
SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan"
CREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR)
Name the term in office for liberal and state of sa for ian mclachlan
SELECT record FROM table_name_16 WHERE date = "july 26"
CREATE TABLE table_name_16 (record VARCHAR, date VARCHAR)
What was the record for July 26?