answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT MIN(overall) FROM table_name_51 WHERE college = "arkansas" AND round > 3 | CREATE TABLE table_name_51 (overall INTEGER, college VARCHAR, round VARCHAR) | What's the lowest Overall average that has a College of Arkansas, and a Round larger than 3? |
SELECT MAX(overall) FROM table_name_65 WHERE pick__number = 4 AND round > 7 | CREATE TABLE table_name_65 (overall INTEGER, pick__number VARCHAR, round VARCHAR) | Which highest Overall has a Pick # of 4, and a Round larger than 7? |
SELECT AVG(overall) FROM table_name_63 WHERE round < 7 AND pick__number = 4 | CREATE TABLE table_name_63 (overall INTEGER, round VARCHAR, pick__number VARCHAR) | What's the overall average that has a round less than 7, and a Pick # of 4? |
SELECT no4 FROM table_name_46 WHERE no5 = "susana telmo" | CREATE TABLE table_name_46 (no4 VARCHAR, no5 VARCHAR) | Who is the no. 4 team that has the no. 5 player Susana Telmo? |
SELECT no9 FROM table_name_85 WHERE no6 = "paulo" | CREATE TABLE table_name_85 (no9 VARCHAR, no6 VARCHAR) | Who is the no. 9 team that has a no. 6 player of paulo? |
SELECT no8 FROM table_name_72 WHERE no9 = "telmo" | CREATE TABLE table_name_72 (no8 VARCHAR, no9 VARCHAR) | Who this the no. 8 team that has a no. 9 player, Telmo? |
SELECT nickname FROM table_name_73 WHERE age___ma__ = "4.9" | CREATE TABLE table_name_73 (nickname VARCHAR, age___ma__ VARCHAR) | Name the nickname with age of 4.9 |
SELECT island FROM table_name_73 WHERE age___ma__ = "1.0" | CREATE TABLE table_name_73 (island VARCHAR, age___ma__ VARCHAR) | Name the island with age ma of 1.0 |
SELECT elevation FROM table_name_79 WHERE nickname = "the gathering place" | CREATE TABLE table_name_79 (elevation VARCHAR, nickname VARCHAR) | Name the elevation of the gathering place |
SELECT record FROM table_name_32 WHERE game_site = "kingdome" AND result = "w 24-6" | CREATE TABLE table_name_32 (record VARCHAR, game_site VARCHAR, result VARCHAR) | Game site of kingdome, and a Result of w 24-6 has what record? |
SELECT game_site FROM table_name_68 WHERE date = "september 25, 1983" | CREATE TABLE table_name_68 (game_site VARCHAR, date VARCHAR) | Date of september 25, 1983 is what game site? |
SELECT stadium FROM table_name_71 WHERE score = "6–3" | CREATE TABLE table_name_71 (stadium VARCHAR, score VARCHAR) | What stadium held the game that had a score of 6–3? |
SELECT date FROM table_name_29 WHERE loss = "reed (0–2)" | CREATE TABLE table_name_29 (date VARCHAR, loss VARCHAR) | What was the date of the game that had a loss of Reed (0–2)? |
SELECT date FROM table_name_37 WHERE record = "11-8" | CREATE TABLE table_name_37 (date VARCHAR, record VARCHAR) | On which Date was there a record of 11-8? |
SELECT COUNT(total) FROM table_name_1 WHERE vuelta = 1 AND tour > 7 | CREATE TABLE table_name_1 (total VARCHAR, vuelta VARCHAR, tour VARCHAR) | How many podiums associated with 1 vuelta and over 7 tours? |
SELECT MIN(total) FROM table_name_33 WHERE name = "miguel induráin" AND vuelta > 1 | CREATE TABLE table_name_33 (total INTEGER, name VARCHAR, vuelta VARCHAR) | What is the total for miguel induráin with a Vuelta larger than 1? |
SELECT MIN(grid) FROM table_name_99 WHERE time_retired = "+ 1 lap" AND points < 7 | CREATE TABLE table_name_99 (grid INTEGER, time_retired VARCHAR, points VARCHAR) | What is the grid associated with a Time/Retired of + 1 lap, and under 7 points? |
SELECT grid FROM table_name_45 WHERE laps = 67 | CREATE TABLE table_name_45 (grid VARCHAR, laps VARCHAR) | What grid is associated with 67 laps? |
SELECT nation FROM table_name_27 WHERE date = "8 june 1983" AND athlete = "marlies gohr" | CREATE TABLE table_name_27 (nation VARCHAR, date VARCHAR, athlete VARCHAR) | Name the nation for 8 june 1983 for marlies gohr |
SELECT athlete FROM table_name_46 WHERE rank < 22 AND nation = "bulgaria" | CREATE TABLE table_name_46 (athlete VARCHAR, rank VARCHAR, nation VARCHAR) | Name the athlete for bulgaria with rank less than 22 |
SELECT engine FROM table_name_97 WHERE year > 1978 AND entrant = "ram penthouse rizla racing" | CREATE TABLE table_name_97 (engine VARCHAR, year VARCHAR, entrant VARCHAR) | What engine was used by Ram Penthouse Rizla Racing in 1978? |
SELECT college FROM table_name_98 WHERE year < 1962 AND position = "rb" | CREATE TABLE table_name_98 (college VARCHAR, year VARCHAR, position VARCHAR) | Which College has a Year smaller than 1962, and a Position of rb? |
SELECT year FROM table_name_96 WHERE college = "nebraska" AND pick = "2" | CREATE TABLE table_name_96 (year VARCHAR, college VARCHAR, pick VARCHAR) | Which Year has a College of nebraska, and a Pick of 2? |
SELECT pick FROM table_name_56 WHERE year > 1983 AND player_name = "brian jozwiak" | CREATE TABLE table_name_56 (pick VARCHAR, year VARCHAR, player_name VARCHAR) | Which Pick has a Year larger than 1983, and a Player name of brian jozwiak? |
SELECT MIN(year) FROM table_name_27 WHERE position = "rb" AND college = "louisiana state" | CREATE TABLE table_name_27 (year INTEGER, position VARCHAR, college VARCHAR) | Which lowest year has a Position of rb, and a College of louisiana state? |
SELECT SUM(year) FROM table_name_75 WHERE player_name = "ronnie bull" | CREATE TABLE table_name_75 (year INTEGER, player_name VARCHAR) | How many years have a Player name of ronnie bull? |
SELECT recipient FROM table_name_22 WHERE award = "£4,203" | CREATE TABLE table_name_22 (recipient VARCHAR, award VARCHAR) | Who was the recipient of an award of £4,203? |
SELECT director_s_ FROM table_name_10 WHERE award = "£6,245" | CREATE TABLE table_name_10 (director_s_ VARCHAR, award VARCHAR) | Who directed the film that received an award of £6,245? |
SELECT director_s_ FROM table_name_63 WHERE recipient = "avie luthra" | CREATE TABLE table_name_63 (director_s_ VARCHAR, recipient VARCHAR) | Who directed the film that Avie Luthra received an award for? |
SELECT director_s_ FROM table_name_44 WHERE film = "antonio's breakfast" | CREATE TABLE table_name_44 (director_s_ VARCHAR, film VARCHAR) | Who directed the film Antonio's Breakfast? |
SELECT director_s_ FROM table_name_48 WHERE date = "2/3/05" AND recipient = "sister films" | CREATE TABLE table_name_48 (director_s_ VARCHAR, date VARCHAR, recipient VARCHAR) | Who was the director of the film that Sister Films received an award for on 2/3/05? |
SELECT score FROM table_name_75 WHERE date = "june 9" | CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR) | What is the score of the game on June 9? |
SELECT AVG(attendance) FROM table_name_6 WHERE date = "july 2" | CREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR) | What is the usual attendance for july 2? |
SELECT deleted FROM table_name_53 WHERE cerclis_id = "il0210090049" | CREATE TABLE table_name_53 (deleted VARCHAR, cerclis_id VARCHAR) | What was the value for deleted for CERCLIS ID of il0210090049? |
SELECT construction_completed FROM table_name_70 WHERE county = "jo daviess" | CREATE TABLE table_name_70 (construction_completed VARCHAR, county VARCHAR) | What is the date construction is completed in Jo Daviess county? |
SELECT author FROM table_name_62 WHERE role = "narrator" AND year > 2009 AND release_air_date = "7 october 2010" | CREATE TABLE table_name_62 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR) | Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author? |
SELECT SUM(year) FROM table_name_96 WHERE role = "narrator" AND radio_station_production_company = "bbc audiobooks" AND release_air_date = "13 november 2008" | CREATE TABLE table_name_96 (year INTEGER, release_air_date VARCHAR, role VARCHAR, radio_station_production_company VARCHAR) | Role of narrator, and a Radio Station/Production Company of bbc audiobooks, and a Release/Air Date of 13 november 2008 is what sum of the year? |
SELECT radio_station_production_company FROM table_name_73 WHERE role = "interviewee & monologues" | CREATE TABLE table_name_73 (radio_station_production_company VARCHAR, role VARCHAR) | Radio Station/Production Company that has a Role of interviewee & monologues is what radio station? |
SELECT pos FROM table_name_79 WHERE team = "racing organisation course" | CREATE TABLE table_name_79 (pos VARCHAR, team VARCHAR) | What was the position of the Racing Organisation Course team? |
SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course" | CREATE TABLE table_name_92 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR) | Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF? |
SELECT co_drivers FROM table_name_49 WHERE year > 2010 | CREATE TABLE table_name_49 (co_drivers VARCHAR, year INTEGER) | Who were the co-drivers in years after 2010? |
SELECT date_made FROM table_name_99 WHERE fleet_numbers = "4" | CREATE TABLE table_name_99 (date_made VARCHAR, fleet_numbers VARCHAR) | What is the date made that has an associated fleet number of 4? |
SELECT date_withdrawn FROM table_name_92 WHERE date_made = "1904" | CREATE TABLE table_name_92 (date_withdrawn VARCHAR, date_made VARCHAR) | What is the withdrawal date associated with a date made of 1904? |
SELECT game_site FROM table_name_36 WHERE result = "l 7-38" | CREATE TABLE table_name_36 (game_site VARCHAR, result VARCHAR) | Name the game site with result of l 7-38 |
SELECT result FROM table_name_45 WHERE game_site = "arrowhead stadium" | CREATE TABLE table_name_45 (result VARCHAR, game_site VARCHAR) | Name the result for arrowhead stadium |
SELECT MIN(attendance) FROM table_name_5 WHERE week > 2 AND opponent = "new orleans saints" | CREATE TABLE table_name_5 (attendance INTEGER, week VARCHAR, opponent VARCHAR) | Name the least attendance for opponent of new orleans saints and week more than 2 |
SELECT earnings___$__ FROM table_name_7 WHERE top_10s = 23 | CREATE TABLE table_name_7 (earnings___$__ VARCHAR, top_10s VARCHAR) | What amount of earnings corresponds with a Top 10s rank of 23? |
SELECT earnings___$__ FROM table_name_59 WHERE tournaments_played < 28 AND year = "2012" | CREATE TABLE table_name_59 (earnings___$__ VARCHAR, tournaments_played VARCHAR, year VARCHAR) | What 2012 amount of earnings corresponds with less than 28 tournaments played? |
SELECT year FROM table_name_96 WHERE laps < 197 AND start = "2" | CREATE TABLE table_name_96 (year VARCHAR, laps VARCHAR, start VARCHAR) | Tell me the year with Laps less than 197 and start of 2 |
SELECT qual FROM table_name_61 WHERE start = "totals" | CREATE TABLE table_name_61 (qual VARCHAR, start VARCHAR) | Name the qual with start of totals |
SELECT COUNT(laps) FROM table_name_90 WHERE rank = "8" | CREATE TABLE table_name_90 (laps VARCHAR, rank VARCHAR) | Name the total number of laps with rank of 8 |
SELECT start FROM table_name_13 WHERE laps = 199 AND qual = "224.838" | CREATE TABLE table_name_13 (start VARCHAR, laps VARCHAR, qual VARCHAR) | Name the start with Laps of 199 with qual of 224.838 |
SELECT date FROM table_name_37 WHERE score = "1-2" AND venue = "athens olympic stadium" | CREATE TABLE table_name_37 (date VARCHAR, score VARCHAR, venue VARCHAR) | On what date was the score 1-2 at Athens Olympic Stadium? |
SELECT match_report FROM table_name_89 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND date = "november 17, 2007" | CREATE TABLE table_name_89 (match_report VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR) | What was the Match Report for the Euro2008q at the Athens Olympic Stadium on November 17, 2007? |
SELECT match_report FROM table_name_44 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND score = "1-2" | CREATE TABLE table_name_44 (match_report VARCHAR, score VARCHAR, competition VARCHAR, venue VARCHAR) | What was the Match Report for the Euro2008q at the Athens Olympic Stadium and a score of 1-2? |
SELECT date FROM table_name_38 WHERE score = "2-1" | CREATE TABLE table_name_38 (date VARCHAR, score VARCHAR) | On what date was the score 2-1? |
SELECT date FROM table_name_70 WHERE competition = "friendly" | CREATE TABLE table_name_70 (date VARCHAR, competition VARCHAR) | On what date was the Competition of Friendly held? |
SELECT score FROM table_name_81 WHERE venue = "pankritio stadium" AND date = "june 6, 2007" | CREATE TABLE table_name_81 (score VARCHAR, venue VARCHAR, date VARCHAR) | What was the score at Pankritio Stadium on June 6, 2007? |
SELECT date FROM table_name_83 WHERE result = "draw" AND venue = "sydney cricket ground" | CREATE TABLE table_name_83 (date VARCHAR, result VARCHAR, venue VARCHAR) | On what date was there a draw at Sydney Cricket Ground? |
SELECT venue FROM table_name_20 WHERE result = "draw" | CREATE TABLE table_name_20 (venue VARCHAR, result VARCHAR) | In what venue was the result a draw? |
SELECT date FROM table_name_24 WHERE result = "wi by 1 run" | CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) | On what date was the result Wi by 1 run? |
SELECT venue FROM table_name_77 WHERE result = "draw" | CREATE TABLE table_name_77 (venue VARCHAR, result VARCHAR) | What venue had a draw? |
SELECT SUM(pts) FROM table_name_98 WHERE chassis = "jordan 192" | CREATE TABLE table_name_98 (pts INTEGER, chassis VARCHAR) | What is the total number of points for entrants with a Jordan 192 chassis? |
SELECT entrant FROM table_name_20 WHERE chassis = "march cg891" | CREATE TABLE table_name_20 (entrant VARCHAR, chassis VARCHAR) | Which entrant had a chassis of March CG891? |
SELECT MIN(pts) FROM table_name_20 WHERE chassis = "jordan 192" | CREATE TABLE table_name_20 (pts INTEGER, chassis VARCHAR) | What is the lowest number of points for an entrant with a Jordan 192 chassis? |
SELECT opponent FROM table_name_77 WHERE attendance = "14,029" | CREATE TABLE table_name_77 (opponent VARCHAR, attendance VARCHAR) | What Opponent has the Attendance of 14,029? |
SELECT attendance FROM table_name_63 WHERE date = "april 12" | CREATE TABLE table_name_63 (attendance VARCHAR, date VARCHAR) | Can you tell me the Attendance that has the Date of april 12? |
SELECT score FROM table_name_98 WHERE opponent = "brewers" AND attendance = "11,235" | CREATE TABLE table_name_98 (score VARCHAR, opponent VARCHAR, attendance VARCHAR) | Can you tell me the Score that has the Opponent of brewers, and the Attendance of 11,235? |
SELECT score FROM table_name_94 WHERE attendance = "4,567" | CREATE TABLE table_name_94 (score VARCHAR, attendance VARCHAR) | Can you tell me the Score that has the Attendance of 4,567? |
SELECT date FROM table_name_20 WHERE distance = "km (mi)" AND course = "roccaraso to san giorgio del sannio" | CREATE TABLE table_name_20 (date VARCHAR, distance VARCHAR, course VARCHAR) | What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio? |
SELECT engine FROM table_name_59 WHERE entrant = "larrousse f1" | CREATE TABLE table_name_59 (engine VARCHAR, entrant VARCHAR) | Name the engine with entrant of larrousse f1 |
SELECT AVG(year) FROM table_name_19 WHERE engine = "renault v10" AND points > 4 | CREATE TABLE table_name_19 (year INTEGER, engine VARCHAR, points VARCHAR) | Name the average yeara for engine of renault v10 with points more than 4 |
SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b" | CREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR) | Name the sumof points for year less than 1994 and chassis of lola lc89b |
SELECT entrant FROM table_name_92 WHERE year > 1991 AND chassis = "lotus 109" | CREATE TABLE table_name_92 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) | Name the entrant for year more than 1991 and chassis of lotus 109 |
SELECT SUM(points) FROM table_name_79 WHERE year = 1991 | CREATE TABLE table_name_79 (points INTEGER, year VARCHAR) | Name the sum of points for 1991 |
SELECT type FROM table_name_85 WHERE course = "turin to monza" | CREATE TABLE table_name_85 (type VARCHAR, course VARCHAR) | Which type has turin to monza as a course? |
SELECT course FROM table_name_15 WHERE type = "km (mi)" | CREATE TABLE table_name_15 (course VARCHAR, type VARCHAR) | Which course has km (mi) as a type? |
SELECT winner FROM table_name_51 WHERE course = "sanremo to cuneo" | CREATE TABLE table_name_51 (winner VARCHAR, course VARCHAR) | What winner has the sanremo to cuneo as the course? |
SELECT distance FROM table_name_5 WHERE stage = "2" | CREATE TABLE table_name_5 (distance VARCHAR, stage VARCHAR) | Name the distance for stage of 2 |
SELECT route FROM table_name_27 WHERE winner = "sébastien rosseler" | CREATE TABLE table_name_27 (route VARCHAR, winner VARCHAR) | Name the route with winner of sébastien rosseler |
SELECT route FROM table_name_14 WHERE distance = "170.8km" | CREATE TABLE table_name_14 (route VARCHAR, distance VARCHAR) | Name the route for 170.8km distance |
SELECT date FROM table_name_68 WHERE winner = "luciano pagliarini" | CREATE TABLE table_name_68 (date VARCHAR, winner VARCHAR) | Name the date for luciano pagliarini |
SELECT date FROM table_name_10 WHERE winner = "mark cavendish" | CREATE TABLE table_name_10 (date VARCHAR, winner VARCHAR) | Name the date for mark cavendish |
SELECT SUM(laps) FROM table_name_94 WHERE qual = "144.665" | CREATE TABLE table_name_94 (laps INTEGER, qual VARCHAR) | Name the laps for qual of 144.665 |
SELECT COUNT(laps) FROM table_name_48 WHERE year = "1961" | CREATE TABLE table_name_48 (laps VARCHAR, year VARCHAR) | Name the total number of Laps for year of 1961 |
SELECT finish FROM table_name_76 WHERE start = "28" | CREATE TABLE table_name_76 (finish VARCHAR, start VARCHAR) | Name the finish for start of 28 |
SELECT laps FROM table_name_67 WHERE rank = "14" AND start = "16" | CREATE TABLE table_name_67 (laps VARCHAR, rank VARCHAR, start VARCHAR) | Name the laps for rank of 14 and start of 16 |
SELECT qual FROM table_name_25 WHERE year = "1960" | CREATE TABLE table_name_25 (qual VARCHAR, year VARCHAR) | Name the qual for year of 1960 |
SELECT player FROM table_name_65 WHERE position = "lb" AND overall = 128 | CREATE TABLE table_name_65 (player VARCHAR, position VARCHAR, overall VARCHAR) | What is the name of the player in position lb and an overall of 128? |
SELECT COUNT(overall) FROM table_name_98 WHERE player = "kenny lewis" AND round > 5 | CREATE TABLE table_name_98 (overall VARCHAR, player VARCHAR, round VARCHAR) | What is the total overall when Kenny Lewis is the player in a round after 5? |
SELECT college FROM table_name_41 WHERE overall > 15 AND round = 7 | CREATE TABLE table_name_41 (college VARCHAR, overall VARCHAR, round VARCHAR) | What is the college when the over is larger than 15 in round 7? |
SELECT position FROM table_name_87 WHERE overall < 128 AND college = "brigham young" | CREATE TABLE table_name_87 (position VARCHAR, overall VARCHAR, college VARCHAR) | What is the position with an overall less than 128 for Brigham Young college? |
SELECT AVG(attendance) FROM table_name_81 WHERE date = "4 february 2003" | CREATE TABLE table_name_81 (attendance INTEGER, date VARCHAR) | How many attended the game on 4 February 2003? |
SELECT auckland FROM table_name_74 WHERE sydney = "yes" AND perth = "no" AND melbourne = "yes" AND gold_coast = "yes" | CREATE TABLE table_name_74 (auckland VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR, perth VARCHAR) | yes or no for the auckland with a yes for sydney, no for perth, yes for melbourne and yes for the gold coast? |
SELECT adelaide FROM table_name_97 WHERE auckland = "no" AND melbourne = "yes" AND gold_coast = "yes" | CREATE TABLE table_name_97 (adelaide VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR) | yes or no for the adelaide with no for auckland, yes for melbourne, yes for the gold coast? |
SELECT gold_coast FROM table_name_2 WHERE melbourne = "yes" AND adelaide = "yes" AND auckland = "yes" | CREATE TABLE table_name_2 (gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, adelaide VARCHAR) | yes or no for the gold coast with yes for melbourne, yes for adelaide, yes for auckland? |
SELECT melbourne FROM table_name_92 WHERE gold_coast = "yes" AND adelaide = "no" AND auckland = "no" | CREATE TABLE table_name_92 (melbourne VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | yes or no for the melbourne with yes for gold coast, yes for adelaide, no for auckland? |
SELECT sydney FROM table_name_43 WHERE melbourne = "yes" AND perth = "no" AND auckland = "no" AND gold_coast = "no" | CREATE TABLE table_name_43 (sydney VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, perth VARCHAR) | yes or no for the sydney with yes for melbourne, no for perth, no for auckland and no for gold coast? |
SELECT melbourne FROM table_name_90 WHERE adelaide = "yes" AND gold_coast = "no" | CREATE TABLE table_name_90 (melbourne VARCHAR, adelaide VARCHAR, gold_coast VARCHAR) | yes or no for the melbourne that has no for adelaide, no for gold coast? |
SELECT SUM(losses) FROM table_name_1 WHERE wins = 0 AND runs_allowed > 72 | CREATE TABLE table_name_1 (losses INTEGER, wins VARCHAR, runs_allowed VARCHAR) | How many losses did the team with 0 wins and more than 72 runs allowed have? |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.