answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT final_score FROM table_name_28 WHERE attendance = "65,309" | CREATE TABLE table_name_28 (final_score VARCHAR, attendance VARCHAR) | What was the final score for the game with 65,309 people in attendance? |
SELECT AVG(week) FROM table_name_58 WHERE opponent = "chicago bears" | CREATE TABLE table_name_58 (week INTEGER, opponent VARCHAR) | What average week number had the Chicago bears as the opponent? |
SELECT record FROM table_name_89 WHERE game_site = "rich stadium" AND opponent = "new england patriots" | CREATE TABLE table_name_89 (record VARCHAR, game_site VARCHAR, opponent VARCHAR) | What is the record for the game against New England Patriots at the Rich Stadium? |
SELECT finish FROM table_name_91 WHERE chassis = "dallara" AND start = "5" AND year = 2006 | CREATE TABLE table_name_91 (finish VARCHAR, year VARCHAR, chassis VARCHAR, start VARCHAR) | What did the Dallara chassis with a 5 start in 2006 finish? |
SELECT chassis FROM table_name_68 WHERE engine = "honda" AND year = 2008 | CREATE TABLE table_name_68 (chassis VARCHAR, engine VARCHAR, year VARCHAR) | What is the chassis of the Honda Engine from 2008? |
SELECT MIN(year) FROM table_name_53 WHERE engine = "honda" AND finish = 4 | CREATE TABLE table_name_53 (year INTEGER, engine VARCHAR, finish VARCHAR) | What is the earliest year of the Honda Engine with a finish of 4? |
SELECT 2002 FROM table_name_6 WHERE 2008 = "career statistics" | CREATE TABLE table_name_6 (Id VARCHAR) | What was 2002, when 2008 was, "career statistics"? |
SELECT 2009 FROM table_name_5 WHERE 2001 = "not masters series" | CREATE TABLE table_name_5 (Id VARCHAR) | What was 2009, when 2001 was, "not masters series"? |
SELECT 2011 FROM table_name_40 WHERE 2005 = "2r" AND 2003 = "2r" | CREATE TABLE table_name_40 (Id VARCHAR) | What was 2011, when 2005 was 2R, and when 2003 was 2R? |
SELECT 2009 FROM table_name_18 WHERE 2012 = "a" AND 2003 = "a" AND tournament = "madrid masters" | CREATE TABLE table_name_18 (tournament VARCHAR) | What was 2009, when 2012 was A, when 2003 was A, and then the Tournament was the Madrid Masters? |
SELECT 2002 FROM table_name_71 WHERE 2011 = "atp masters series" | CREATE TABLE table_name_71 (Id VARCHAR) | What was 2002, when 2011 was, "atp masters series"? |
SELECT MIN(wins) FROM table_name_8 WHERE player = "larry nelson" AND rank < 5 | CREATE TABLE table_name_8 (wins INTEGER, player VARCHAR, rank VARCHAR) | What was the lowest wins of Larry Nelson, who ranked less than 5? |
SELECT SUM(earnings__) AS $__ FROM table_name_39 WHERE rank = 3 | CREATE TABLE table_name_39 (earnings__ INTEGER, rank VARCHAR) | What is the sum of the earnings for rank 3? |
SELECT country FROM table_name_66 WHERE rank > 4 | CREATE TABLE table_name_66 (country VARCHAR, rank INTEGER) | What is the country is ranked more than 4? |
SELECT SUM(week) FROM table_name_70 WHERE attendance = "53,147" | CREATE TABLE table_name_70 (week INTEGER, attendance VARCHAR) | What the total of Week with attendance of 53,147 |
SELECT MIN(week) FROM table_name_31 WHERE date = "december 26, 1999" | CREATE TABLE table_name_31 (week INTEGER, date VARCHAR) | What is the lowest week for December 26, 1999 |
SELECT season FROM table_name_90 WHERE races = 6 AND team = "australia" | CREATE TABLE table_name_90 (season VARCHAR, races VARCHAR, team VARCHAR) | What season has 6 races and the team is Australia? |
SELECT COUNT(races) FROM table_name_15 WHERE wins > 8 | CREATE TABLE table_name_15 (races VARCHAR, wins INTEGER) | What is the total number of Races when there were more than 8 wins? |
SELECT socialist_ticket FROM table_name_2 WHERE republican_ticket = "john a. may" | CREATE TABLE table_name_2 (socialist_ticket VARCHAR, republican_ticket VARCHAR) | Who's the Socialist ticket with a Republican ticket of john a. may? |
SELECT republican_ticket FROM table_name_67 WHERE democratic_ticket = "m. william bray" | CREATE TABLE table_name_67 (republican_ticket VARCHAR, democratic_ticket VARCHAR) | Who's the Republican ticket with a Democratic ticket of m. william bray? |
SELECT socialist_ticket FROM table_name_5 WHERE democratic_ticket = "herbert h. lehman" | CREATE TABLE table_name_5 (socialist_ticket VARCHAR, democratic_ticket VARCHAR) | Who's the Socialist ticket with a Democratic ticket of herbert h. lehman? |
SELECT republican_ticket FROM table_name_61 WHERE socialist_ticket = "frank r. crosswaith" | CREATE TABLE table_name_61 (republican_ticket VARCHAR, socialist_ticket VARCHAR) | Who's the Republican ticket with a Socialist ticket of frank r. crosswaith? |
SELECT republican_ticket FROM table_name_46 WHERE socialist_ticket = "edna mitchell blue" | CREATE TABLE table_name_46 (republican_ticket VARCHAR, socialist_ticket VARCHAR) | Who's the Republican ticket with a Socialist ticket of edna mitchell blue? |
SELECT MIN(year) FROM table_name_47 WHERE player = "serena williams" AND sets > 2 | CREATE TABLE table_name_47 (year INTEGER, player VARCHAR, sets VARCHAR) | what's the earliest year that serena williams had more than 2 sets? |
SELECT MIN(year) FROM table_name_50 WHERE event = "wimbledon" AND opponent = "zheng jie" | CREATE TABLE table_name_50 (year INTEGER, event VARCHAR, opponent VARCHAR) | what's the earliest year that the wimbledon opponent was zheng jie? |
SELECT SUM(year) FROM table_name_22 WHERE opponent = "caroline garcia" | CREATE TABLE table_name_22 (year INTEGER, opponent VARCHAR) | what year was the opponent caroline garcia? |
SELECT MAX(year) FROM table_name_55 WHERE aces = 20 AND opponent = "samantha stosur" AND sets > 2 | CREATE TABLE table_name_55 (year INTEGER, sets VARCHAR, aces VARCHAR, opponent VARCHAR) | what's the most recent year that samantha stosur was the opponent with 20 aces and having played more than 2 sets? |
SELECT SUM(year) FROM table_name_97 WHERE event = "memphis" | CREATE TABLE table_name_97 (year INTEGER, event VARCHAR) | what year was the memphis event? |
SELECT season FROM table_name_26 WHERE school_club_team = "far eastern" AND number = 26 | CREATE TABLE table_name_26 (season VARCHAR, school_club_team VARCHAR, number VARCHAR) | What season did the player who had the number 26 play on who came from far eastern? |
SELECT season FROM table_name_64 WHERE school_club_team = "cebu" | CREATE TABLE table_name_64 (season VARCHAR, school_club_team VARCHAR) | What season did the player who came from Cebu play in? |
SELECT country FROM table_name_69 WHERE year = 2012 | CREATE TABLE table_name_69 (country VARCHAR, year VARCHAR) | What was the country in the year 2012? |
SELECT year FROM table_name_90 WHERE manufacturer = "letecke zavody n.p., jinonice" | CREATE TABLE table_name_90 (year VARCHAR, manufacturer VARCHAR) | In what year was Letecke Zavody N.P., Jinonice the manufacturer? |
SELECT country FROM table_name_42 WHERE engine_make_capacity = "jawa 350cc" | CREATE TABLE table_name_42 (country VARCHAR, engine_make_capacity VARCHAR) | What country had the car with the Jawa 350cc engine? |
SELECT country FROM table_name_34 WHERE engine_make_capacity = "Δz 171cc" | CREATE TABLE table_name_34 (country VARCHAR, engine_make_capacity VARCHAR) | In what country was the car with the Δz 171cc engine? |
SELECT automobile_name FROM table_name_18 WHERE year = "1956-1958" | CREATE TABLE table_name_18 (automobile_name VARCHAR, year VARCHAR) | What is the name of the car that was made in the years 1956-1958? |
SELECT automobile_name FROM table_name_11 WHERE manufacturer = "letecke zavody n.p., jinonice" | CREATE TABLE table_name_11 (automobile_name VARCHAR, manufacturer VARCHAR) | What is the name of the car manufactured by Letecke Zavody N.P., Jinonice? |
SELECT manufacturer FROM table_name_58 WHERE engine_make_capacity = "jawa 249cc" AND year = "1956-1963" | CREATE TABLE table_name_58 (manufacturer VARCHAR, engine_make_capacity VARCHAR, year VARCHAR) | Who manufactured the car with the jawa 249cc engine that was made in the years 1956-1963? |
SELECT set_2 FROM table_name_98 WHERE date = "jun 29" | CREATE TABLE table_name_98 (set_2 VARCHAR, date VARCHAR) | What is the Set 2 with a Date that is jun 29? |
SELECT set_1 FROM table_name_12 WHERE set_2 = "25-19" | CREATE TABLE table_name_12 (set_1 VARCHAR, set_2 VARCHAR) | What is the Set 1 with a Set 2 that is 25-19? |
SELECT set_5 FROM table_name_93 WHERE date = "jun 29" | CREATE TABLE table_name_93 (set_5 VARCHAR, date VARCHAR) | What is the Set 5 with a Date that is jun 29? |
SELECT construction_completed FROM table_name_9 WHERE listed = "09/21/1984" AND deleted = "11/04/1999" | CREATE TABLE table_name_9 (construction_completed VARCHAR, listed VARCHAR, deleted VARCHAR) | When was construction completed that was listed on 09/21/1984 and a Deleted of 11/04/1999? |
SELECT partially_deleted FROM table_name_47 WHERE construction_completed = "β" AND name = "st. maries creosote" | CREATE TABLE table_name_47 (partially_deleted VARCHAR, construction_completed VARCHAR, name VARCHAR) | What is the partially deleted result for a completed construction of mβ in St. Maries Creosote? |
SELECT partially_deleted FROM table_name_96 WHERE name = "bunker hill mining & metallurgical" | CREATE TABLE table_name_96 (partially_deleted VARCHAR, name VARCHAR) | What is the partially deleted result for Bunker Hill Mining & Metallurgical? |
SELECT partially_deleted FROM table_name_95 WHERE deleted = "β" AND county = "valley" | CREATE TABLE table_name_95 (partially_deleted VARCHAR, deleted VARCHAR, county VARCHAR) | What is the partially deleted result for a deleted of mβ in Valley? |
SELECT SUM(match) FROM table_name_83 WHERE points > 22 | CREATE TABLE table_name_83 (match INTEGER, points INTEGER) | How many matches ended with more than 22 points? |
SELECT 1965 FROM table_name_81 WHERE 1967 = "7" | CREATE TABLE table_name_81 (Id VARCHAR) | What is the value in 1965 when 7 is the value for 1967? |
SELECT 1971 FROM table_name_65 WHERE 1969 = "30" | CREATE TABLE table_name_65 (Id VARCHAR) | What is the value in 1971 when 30 is the value for 1969? |
SELECT 1966 FROM table_name_72 WHERE 1969 = "0" | CREATE TABLE table_name_72 (Id VARCHAR) | What was the value in 1966 with a 0 value in 1969? |
SELECT name FROM table_name_68 WHERE moving_to = "arminia bielefeld" | CREATE TABLE table_name_68 (name VARCHAR, moving_to VARCHAR) | Who was the player moving to Arminia Bielefeld? |
SELECT tournament FROM table_name_11 WHERE winning_score = β9(69 - 72 - 68 - 70 = 279) | CREATE TABLE table_name_11 (tournament VARCHAR, winning_score VARCHAR) | What tournament had a Winning score of β9 (69-72-68-70=279)? |
SELECT winning_score FROM table_name_50 WHERE tournament = "greater vancouver open" | CREATE TABLE table_name_50 (winning_score VARCHAR, tournament VARCHAR) | What was the winning score of the Greater Vancouver Open tournament? |
SELECT runner_s__up FROM table_name_78 WHERE margin_of_victory = "3 strokes" AND winning_score = β13(68 - 70 - 66 - 71 = 275) | CREATE TABLE table_name_78 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) | Which runner(s)-up had a Winning score of β13 (68-70-66-71=275) and a Margin of victory of 3 strokes? |
SELECT margin_of_victory FROM table_name_84 WHERE tournament = "southwest golf classic" | CREATE TABLE table_name_84 (margin_of_victory VARCHAR, tournament VARCHAR) | What was the Margin of victory in the southwest golf classic Tournament? |
SELECT margin_of_victory FROM table_name_66 WHERE winning_score = β9(69 - 72 - 68 - 70 = 279) | CREATE TABLE table_name_66 (margin_of_victory VARCHAR, winning_score VARCHAR) | When the Winning score was β9 (69-72-68-70=279), what was the Margin of victory? |
SELECT height FROM table_name_2 WHERE floor_count < 25 | CREATE TABLE table_name_2 (height VARCHAR, floor_count INTEGER) | What height has a floor count less than 25? |
SELECT state___territory FROM table_name_58 WHERE height = "121 m" | CREATE TABLE table_name_58 (state___territory VARCHAR, height VARCHAR) | What state/territory has 121 m as the height? |
SELECT state___territory FROM table_name_85 WHERE building = "lovett tower" | CREATE TABLE table_name_85 (state___territory VARCHAR, building VARCHAR) | What state/territory has lovett tower as the building? |
SELECT date FROM table_name_86 WHERE opponent = "oakland raiders" | CREATE TABLE table_name_86 (date VARCHAR, opponent VARCHAR) | What was the date of the game against Oakland Raiders? |
SELECT year FROM table_name_59 WHERE wins = "2" | CREATE TABLE table_name_59 (year VARCHAR, wins VARCHAR) | What year has 2 wins? |
SELECT success_rate FROM table_name_52 WHERE year = "2012" | CREATE TABLE table_name_52 (success_rate VARCHAR, year VARCHAR) | What is the success rate for the year 2012? |
SELECT wins FROM table_name_70 WHERE matches = "4" AND success_rate = "25%" | CREATE TABLE table_name_70 (wins VARCHAR, matches VARCHAR, success_rate VARCHAR) | What was the win for 4 matches with a success rate of 25%? |
SELECT wins FROM table_name_17 WHERE matches = "6" | CREATE TABLE table_name_17 (wins VARCHAR, matches VARCHAR) | what was the win for the 6 matches? |
SELECT losses FROM table_name_40 WHERE matches = "5" | CREATE TABLE table_name_40 (losses VARCHAR, matches VARCHAR) | What is the losses for the 5 matches? |
SELECT losses FROM table_name_73 WHERE year = "2012" | CREATE TABLE table_name_73 (losses VARCHAR, year VARCHAR) | What is the losses for the year 2012? |
SELECT AVG(total) FROM table_name_77 WHERE gold > 4 | CREATE TABLE table_name_77 (total INTEGER, gold INTEGER) | What is the average Total with a Gold that is larger than 4? |
SELECT AVG(total) FROM table_name_46 WHERE bronze > 1 | CREATE TABLE table_name_46 (total INTEGER, bronze INTEGER) | What is the average Total with a Bronze that is larger than 1? |
SELECT brazil_scorers FROM table_name_18 WHERE competition = "world cup" AND score = "1-2" | CREATE TABLE table_name_18 (brazil_scorers VARCHAR, competition VARCHAR, score VARCHAR) | Who were the Brazil scorers for the World Cup Competition with a 1-2 score? |
SELECT competition FROM table_name_86 WHERE score = "4-3" | CREATE TABLE table_name_86 (competition VARCHAR, score VARCHAR) | Which competition had a 4-3 score? |
SELECT MAX(top_5) FROM table_name_61 WHERE events > 18 AND top_25 = 23 | CREATE TABLE table_name_61 (top_5 INTEGER, events VARCHAR, top_25 VARCHAR) | What is the highest Top-5 that has 18 or more events with a Top-25 of 23? |
SELECT MIN(cuts_made) FROM table_name_63 WHERE top_25 < 6 AND wins < 0 | CREATE TABLE table_name_63 (cuts_made INTEGER, top_25 VARCHAR, wins VARCHAR) | What is the lowest cuts made that had a Top-25 less than 6 and wins greater than 0? |
SELECT race_title FROM table_name_81 WHERE winner = "glenn seton" AND circuit = "sandown international raceway" | CREATE TABLE table_name_81 (race_title VARCHAR, winner VARCHAR, circuit VARCHAR) | What race did Glenn Seton win on the Sandown International Raceway circuit? |
SELECT date FROM table_name_25 WHERE race_title = "oran park" | CREATE TABLE table_name_25 (date VARCHAR, race_title VARCHAR) | What date was the race at Oran Park ran? |
SELECT MAX(assists) FROM table_name_71 WHERE rank = 2 AND games < 2 | CREATE TABLE table_name_71 (assists INTEGER, rank VARCHAR, games VARCHAR) | What is the largest number of assists for the second rank when there were less than 2 games? |
SELECT MIN(rank) FROM table_name_52 WHERE games > 2 | CREATE TABLE table_name_52 (rank INTEGER, games INTEGER) | What is the smallest rank when there are more than 2 games? |
SELECT AVG(games) FROM table_name_88 WHERE name = "pablo prigioni" AND assists > 14 | CREATE TABLE table_name_88 (games INTEGER, name VARCHAR, assists VARCHAR) | What is the mean number of games for pablo prigioni when there are more than 14 assists? |
SELECT region FROM table_name_35 WHERE vehicles__1209_ = 57 | CREATE TABLE table_name_35 (region VARCHAR, vehicles__1209_ VARCHAR) | What region has 57 vehicles? |
SELECT score FROM table_name_98 WHERE year > 1991 AND category = "iva" | CREATE TABLE table_name_98 (score VARCHAR, year VARCHAR, category VARCHAR) | What was the Score after 1991 in Category IVA? |
SELECT score FROM table_name_25 WHERE year = 2002 | CREATE TABLE table_name_25 (score VARCHAR, year VARCHAR) | What was the Score in 2002? |
SELECT category FROM table_name_19 WHERE year < 1995 | CREATE TABLE table_name_19 (category VARCHAR, year INTEGER) | What was the Category before 1995? |
SELECT category FROM table_name_90 WHERE year > 1991 AND score = "7-5, 6-7, 6-2" | CREATE TABLE table_name_90 (category VARCHAR, year VARCHAR, score VARCHAR) | What was the Category after 1991 with a Score of 7-5, 6-7, 6-2? |
SELECT issue_date_s_ FROM table_name_97 WHERE artist = "paul mccartney and michael jackson" | CREATE TABLE table_name_97 (issue_date_s_ VARCHAR, artist VARCHAR) | What was the issue date for the song by Paul Mccartney and Michael Jackson? |
SELECT MIN(seats__acs_) FROM table_name_57 WHERE election_winner = "inc" AND incumbent = "bjp" | CREATE TABLE table_name_57 (seats__acs_ INTEGER, election_winner VARCHAR, incumbent VARCHAR) | What is the smallest number of seats with INC as an election winner and BJP incumbent? |
SELECT election_winner FROM table_name_77 WHERE incumbent = "bjp" AND state = "chhattisgarh" | CREATE TABLE table_name_77 (election_winner VARCHAR, incumbent VARCHAR, state VARCHAR) | Who was the election winner with a BJP incumbent in Chhattisgarh? |
SELECT country FROM table_name_8 WHERE iata = "evn" | CREATE TABLE table_name_8 (country VARCHAR, iata VARCHAR) | Which country has an IATA of EVN? |
SELECT airport FROM table_name_34 WHERE country = "russia" AND iata = "aer" | CREATE TABLE table_name_34 (airport VARCHAR, country VARCHAR, iata VARCHAR) | What is the name of the airport located in Russia with an IATA of AER? |
SELECT airport FROM table_name_30 WHERE country = "russia" AND iata = "krr" | CREATE TABLE table_name_30 (airport VARCHAR, country VARCHAR, iata VARCHAR) | What is the name of the airport located in Russia with an IATA of KRR? |
SELECT airport FROM table_name_40 WHERE icao = "ulli" | CREATE TABLE table_name_40 (airport VARCHAR, icao VARCHAR) | What is the name of the airport with an ICAO of ULLI? |
SELECT icao FROM table_name_80 WHERE country = "armenia" | CREATE TABLE table_name_80 (icao VARCHAR, country VARCHAR) | What is the ICAO for the destination in Armenia? |
SELECT airport FROM table_name_68 WHERE iata = "kuf" | CREATE TABLE table_name_68 (airport VARCHAR, iata VARCHAR) | What is the name of the airport with an IATA of KUF? |
SELECT status FROM table_name_84 WHERE authors = "del corro" | CREATE TABLE table_name_84 (status VARCHAR, authors VARCHAR) | What is the status of Author Del Corro? |
SELECT location FROM table_name_65 WHERE authors = "molnar" | CREATE TABLE table_name_65 (location VARCHAR, authors VARCHAR) | What is the location of the authors of Molnar? |
SELECT status FROM table_name_96 WHERE name = "prenocephale" | CREATE TABLE table_name_96 (status VARCHAR, name VARCHAR) | What is the status of Prenocephale? |
SELECT novelty FROM table_name_40 WHERE status = "valid" AND location = "mongolia" AND name = "prenocephale" | CREATE TABLE table_name_40 (novelty VARCHAR, name VARCHAR, status VARCHAR, location VARCHAR) | What is the novel that has a valid status, located in Mongolia, and named Prenocephale? |
SELECT novelty FROM table_name_14 WHERE name = "tylocephale" | CREATE TABLE table_name_14 (novelty VARCHAR, name VARCHAR) | What is the novelty of Tylocephale? |
SELECT team_1 FROM table_name_13 WHERE team_2 = "vfl gummersbach" | CREATE TABLE table_name_13 (team_1 VARCHAR, team_2 VARCHAR) | Which team 1 has vfl gummersbach as team 2? |
SELECT team_1 FROM table_name_75 WHERE team_2 = "cbm valladolid" | CREATE TABLE table_name_75 (team_1 VARCHAR, team_2 VARCHAR) | Which team 1 has cbm valladolid as team 2? |
SELECT 2 AS nd_leg FROM table_name_23 WHERE team_1 = "rk gold club kozina" | CREATE TABLE table_name_23 (team_1 VARCHAR) | What 2nd leg has rk gold club kozina as team 1? |
SELECT 1 AS st_leg FROM table_name_8 WHERE agg = "52-70" | CREATE TABLE table_name_8 (agg VARCHAR) | What 1st leg has 52-70 as the agg.? |
SELECT surface FROM table_name_72 WHERE date = "october 10, 2004" | CREATE TABLE table_name_72 (surface VARCHAR, date VARCHAR) | What was the surface for October 10, 2004? |
SELECT surface FROM table_name_94 WHERE opponent = "roger federer" | CREATE TABLE table_name_94 (surface VARCHAR, opponent VARCHAR) | What was the surface for the opponent Roger Federer? |
Subsets and Splits