answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT away_team AS score FROM table_name_52 WHERE away_team = "melbourne" | CREATE TABLE table_name_52 (away_team VARCHAR) | In the match where Melbourne was the away team, how much did they score? |
SELECT decision FROM table_name_99 WHERE visitor = "buffalo" | CREATE TABLE table_name_99 (decision VARCHAR, visitor VARCHAR) | Who had the decision when buffalo was the visitor? |
SELECT venue FROM table_name_85 WHERE away_team = "north melbourne" | CREATE TABLE table_name_85 (venue VARCHAR, away_team VARCHAR) | Tell me the venue for north melbourne |
SELECT name FROM table_name_19 WHERE listed = "03/31/1989" AND county = "spartanburg" | CREATE TABLE table_name_19 (name VARCHAR, listed VARCHAR, county VARCHAR) | What name has a listed of 03/31/1989 in spartanburg county? |
SELECT proposed FROM table_name_65 WHERE listed = "12/16/1994" AND county = "beaufort" | CREATE TABLE table_name_65 (proposed VARCHAR, listed VARCHAR, county VARCHAR) | What date was proposed when the listed date was 12/16/1994 in the County of beaufort? |
SELECT name FROM table_name_97 WHERE listed = "02/21/1990" AND cerclis_id = "scd980844005" | CREATE TABLE table_name_97 (name VARCHAR, listed VARCHAR, cerclis_id VARCHAR) | What name was listed 02/21/1990, and a CERCLIS ID of scd980844005? |
SELECT county FROM table_name_64 WHERE cerclis_id = "scd037405362" | CREATE TABLE table_name_64 (county VARCHAR, cerclis_id VARCHAR) | What county has a CERCLIS ID of scd037405362? |
SELECT name FROM table_name_44 WHERE county = "charleston" AND cerclis_id = "scd980711279" | CREATE TABLE table_name_44 (name VARCHAR, county VARCHAR, cerclis_id VARCHAR) | What is the name for Charleston County with a CERCLIS ID of scd980711279? |
SELECT name FROM table_name_42 WHERE listed = "11/21/1989" | CREATE TABLE table_name_42 (name VARCHAR, listed VARCHAR) | What is the name for the listed date of 11/21/1989? |
SELECT category FROM table_name_54 WHERE result = "nominated" AND nominee = "gene barry" | CREATE TABLE table_name_54 (category VARCHAR, result VARCHAR, nominee VARCHAR) | Which category was Gene Barry nominated in? |
SELECT year FROM table_name_44 WHERE award = "drama desk award" AND result = "won" AND nominee = "george hearn" | CREATE TABLE table_name_44 (year VARCHAR, nominee VARCHAR, award VARCHAR, result VARCHAR) | What year was the Drama Desk award won by nominee George Hearn? |
SELECT time_retired FROM table_name_8 WHERE grid = 5 | CREATE TABLE table_name_8 (time_retired VARCHAR, grid VARCHAR) | What is the time/retired for grid 5? |
SELECT date FROM table_name_75 WHERE opponent = "liberia" AND score = "1-0" | CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, score VARCHAR) | When was the event that had Liberia as an opponent and resulted in a 1-0 score? |
SELECT date FROM table_name_60 WHERE competition = "2014 world cup qualification" AND location = "kampala" AND opponent = "angola" | CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, competition VARCHAR, location VARCHAR) | When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent |
SELECT opponent FROM table_name_61 WHERE zone = "europe/africa group i" | CREATE TABLE table_name_61 (opponent VARCHAR, zone VARCHAR) | Who was the Europe/Africa group i's opponent? |
SELECT zone FROM table_name_42 WHERE round = "semifinal" AND against = "israel" AND opponent = "anna smashnova" | CREATE TABLE table_name_42 (zone VARCHAR, opponent VARCHAR, round VARCHAR, against VARCHAR) | What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent? |
SELECT surface FROM table_name_61 WHERE opponent = "shahar pe'er" | CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR) | What surface was played on against Shahar Pe'er? |
SELECT years FROM table_name_15 WHERE distance = "marathon" AND wins = 3 | CREATE TABLE table_name_15 (years VARCHAR, distance VARCHAR, wins VARCHAR) | I want the years for marathon distance and wins of 3 |
SELECT country FROM table_name_72 WHERE athlete = "ziedonis zaΔΌkalns" | CREATE TABLE table_name_72 (country VARCHAR, athlete VARCHAR) | Name the country for athlete of ziedonis zaΔΌkalns |
SELECT attendance FROM table_name_12 WHERE result = "l 49β21" | CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) | I want the attendance which has a result of l 49β21 |
SELECT attendance FROM table_name_12 WHERE result = "l 26β3" | CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) | Tell me the attendance with a result of l 26β3 |
SELECT MIN(week) FROM table_name_26 WHERE date = "december 19, 2004" | CREATE TABLE table_name_26 (week INTEGER, date VARCHAR) | I want to know the lowest week with a date of december 19, 2004 |
SELECT location_attendance FROM table_name_81 WHERE team = "new orleans" | CREATE TABLE table_name_81 (location_attendance VARCHAR, team VARCHAR) | What is the attendance of the location where New Orleans's team plays? |
SELECT team FROM table_name_30 WHERE high_points = "raymond felton (26)" | CREATE TABLE table_name_30 (team VARCHAR, high_points VARCHAR) | Which team has the high points of Raymond Felton (26)? |
SELECT time_retired FROM table_name_48 WHERE grid = 7 | CREATE TABLE table_name_48 (time_retired VARCHAR, grid VARCHAR) | What is the time of the driver on grid 7? |
SELECT constructor FROM table_name_75 WHERE grid = 2 | CREATE TABLE table_name_75 (constructor VARCHAR, grid VARCHAR) | Which Constructor has grid 2? |
SELECT MAX(grid) FROM table_name_1 WHERE laps = 55 | CREATE TABLE table_name_1 (grid INTEGER, laps VARCHAR) | What is the highest grid that has 55 laps? |
SELECT away_team AS score FROM table_name_53 WHERE home_team = "richmond" | CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR) | Who was Richmond's away team opponent? |
SELECT away_team AS score FROM table_name_78 WHERE venue = "vfl park" | CREATE TABLE table_name_78 (away_team VARCHAR, venue VARCHAR) | What was the away score at VFL Park? |
SELECT home_team AS score FROM table_name_87 WHERE home_team = "richmond" | CREATE TABLE table_name_87 (home_team VARCHAR) | Tell me the home team score for richmond home team |
SELECT venue FROM table_name_6 WHERE date = "8 june 1931" AND away_team = "st kilda" | CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR, away_team VARCHAR) | Tell me the venue for 8 june 1931 for st kilda away team |
SELECT away_team AS score FROM table_name_76 WHERE home_team = "fitzroy" | CREATE TABLE table_name_76 (away_team VARCHAR, home_team VARCHAR) | When fitzroy was the home team, how much did the away team score? |
SELECT home_team AS score FROM table_name_56 WHERE home_team = "essendon" | CREATE TABLE table_name_56 (home_team VARCHAR) | When essendon was the home team, how much did they score? |
SELECT time FROM table_name_6 WHERE opponent = "shintaro ishiwatari" | CREATE TABLE table_name_6 (time VARCHAR, opponent VARCHAR) | What is shintaro ishiwatari's time? |
SELECT COUNT(round) FROM table_name_90 WHERE opponent = "sakae kasuya" | CREATE TABLE table_name_90 (round VARCHAR, opponent VARCHAR) | How many rounds have an Opponent of sakae kasuya? |
SELECT time FROM table_name_55 WHERE method = "decision(majority)" AND opponent = "keisuke yamada" | CREATE TABLE table_name_55 (time VARCHAR, method VARCHAR, opponent VARCHAR) | Which time has a Method of decision(majority), and an Opponent of keisuke yamada? |
SELECT method FROM table_name_33 WHERE event = "shooto" AND round = 2 AND opponent = "issei tamura" | CREATE TABLE table_name_33 (method VARCHAR, opponent VARCHAR, event VARCHAR, round VARCHAR) | Which method has an Event of shooto, a Round of 2, and an Opponent of issei tamura? |
SELECT away_team FROM table_name_24 WHERE venue = "punt road oval" | CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR) | What is the away team that played at punt road oval? |
SELECT home_team AS score FROM table_name_81 WHERE venue = "windy hill" | CREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR) | What is the home team score that played at windy hill? |
SELECT SUM(crowd) FROM table_name_31 WHERE away_team = "geelong" | CREATE TABLE table_name_31 (crowd INTEGER, away_team VARCHAR) | How big was the crowd at the game the away team geelong played at? |
SELECT constructor FROM table_name_91 WHERE race_name = "i news of the world trophy" | CREATE TABLE table_name_91 (constructor VARCHAR, race_name VARCHAR) | Which constructor has a race called I News of the World Trophy? |
SELECT constructor FROM table_name_53 WHERE circuit = "goodwood" | CREATE TABLE table_name_53 (constructor VARCHAR, circuit VARCHAR) | Which Constructor has the goodwood circuit? |
SELECT winning_driver FROM table_name_26 WHERE race_name = "vii rand grand prix" | CREATE TABLE table_name_26 (winning_driver VARCHAR, race_name VARCHAR) | What driver won the VII Rand Grand Prix? |
SELECT race_name FROM table_name_50 WHERE circuit = "pergusa" | CREATE TABLE table_name_50 (race_name VARCHAR, circuit VARCHAR) | What is the name of the race that has the pergusa Circuit? |
SELECT away_team AS score FROM table_name_83 WHERE away_team = "collingwood" | CREATE TABLE table_name_83 (away_team VARCHAR) | What is the scoreof the away team Collingwood? |
SELECT team FROM table_name_68 WHERE driver = "jean alesi" AND engine_β = "acer 01a" | CREATE TABLE table_name_68 (team VARCHAR, driver VARCHAR, engine_β VARCHAR) | Jean Alesi, drives the Acer 01A engine for which team? |
SELECT constructor FROM table_name_84 WHERE driver = "alex yoong" | CREATE TABLE table_name_84 (constructor VARCHAR, driver VARCHAR) | Who built Alex Yoong's car? |
SELECT MAX(rank) FROM table_name_60 WHERE player = "jim colbert" | CREATE TABLE table_name_60 (rank INTEGER, player VARCHAR) | What's jim colbert's highest rank? |
SELECT AVG(rank) FROM table_name_7 WHERE player = "hale irwin" | CREATE TABLE table_name_7 (rank INTEGER, player VARCHAR) | What's hale irwin's average rank? |
SELECT SUM(avg) FROM table_name_70 WHERE long = 32 | CREATE TABLE table_name_70 (avg INTEGER, long VARCHAR) | What is the sum of averages with a long value of 32? |
SELECT track AS time FROM table_name_80 WHERE disc > 2 AND track < 22 AND english_title = "younger girl" | CREATE TABLE table_name_80 (track VARCHAR, english_title VARCHAR, disc VARCHAR) | Which Track time has a Disc larger than 2, a Track smaller than 22, and an English title of younger girl? |
SELECT japanese_title FROM table_name_44 WHERE disc < 12 AND artist = "kΕzΕ murashita" | CREATE TABLE table_name_44 (japanese_title VARCHAR, disc VARCHAR, artist VARCHAR) | Which Japanese title has a Disc smaller than 12, and an Artist of kΕzΕ murashita? |
SELECT MAX(track) FROM table_name_12 WHERE japanese_title = "γ‘γγγ£γΌ" | CREATE TABLE table_name_12 (track INTEGER, japanese_title VARCHAR) | Which track has a Japanese title of γ‘γγγ£γΌ? |
SELECT SUM(grid) FROM table_name_2 WHERE time_retired = "clutch" | CREATE TABLE table_name_2 (grid INTEGER, time_retired VARCHAR) | What Grid has a Time/Retired of clutch? |
SELECT time_retired FROM table_name_88 WHERE laps > 34 AND grid < 15 AND driver = "damon hill" | CREATE TABLE table_name_88 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) | What is the Time/Retired with more Laps than 34, a Grid smaller than 15, and Driver Damon Hill? |
SELECT laps FROM table_name_89 WHERE grid < 11 AND driver = "david coulthard" | CREATE TABLE table_name_89 (laps VARCHAR, grid VARCHAR, driver VARCHAR) | How many Laps Did Driver David Coulthard have on a Grid smaller than 11? |
SELECT type FROM table_name_14 WHERE course = "orta san giulio to milan" | CREATE TABLE table_name_14 (type VARCHAR, course VARCHAR) | What type of race took place on the course Orta San Giulio to Milan? |
SELECT date FROM table_name_25 WHERE course = "vasto to campitello matese" | CREATE TABLE table_name_25 (date VARCHAR, course VARCHAR) | When did the course Vasto to Campitello Matese took place? |
SELECT winner FROM table_name_49 WHERE course = "brescia" | CREATE TABLE table_name_49 (winner VARCHAR, course VARCHAR) | Who won the course Brescia? |
SELECT league FROM table_name_90 WHERE year = "1996" | CREATE TABLE table_name_90 (league VARCHAR, year VARCHAR) | Name the league for 1996 |
SELECT league FROM table_name_16 WHERE year = "1994" | CREATE TABLE table_name_16 (league VARCHAR, year VARCHAR) | Name the league for 1994 |
SELECT league FROM table_name_2 WHERE reg_season = "1st" | CREATE TABLE table_name_2 (league VARCHAR, reg_season VARCHAR) | Tell me the league with a regular 1st season |
SELECT LNER AS class FROM table_name_31 WHERE class = "6db" | CREATE TABLE table_name_31 (LNER VARCHAR, class VARCHAR) | What LNER Class has a Class of 6db? |
SELECT LNER AS class FROM table_name_86 WHERE class = "3" | CREATE TABLE table_name_86 (LNER VARCHAR, class VARCHAR) | What LNER Class has a Class of 3? |
SELECT AVG(pick__number) FROM table_name_95 WHERE reg_gp = 0 AND pl_gp > 0 | CREATE TABLE table_name_95 (pick__number INTEGER, reg_gp VARCHAR, pl_gp VARCHAR) | Which mean pick number had a Reg GP of 0, and a Pl GP that was bigger than 0? |
SELECT MAX(pick__number) FROM table_name_43 WHERE rd__number < 6 AND player = "bob dailey" AND reg_gp > 257 | CREATE TABLE table_name_43 (pick__number INTEGER, reg_gp VARCHAR, rd__number VARCHAR, player VARCHAR) | What is the highest Pick number that had a road number that was less than 6, featured Bob Dailey as a player, and which had a Reg GP bigger than 257? |
SELECT COUNT(pl_gp) FROM table_name_90 WHERE reg_gp = 0 AND rd__number > 8 AND pick__number > 146 | CREATE TABLE table_name_90 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR, rd__number VARCHAR) | What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146? |
SELECT birth_state FROM table_name_74 WHERE name = "charles cotesworth pinckney" AND election_year = 1808 | CREATE TABLE table_name_74 (birth_state VARCHAR, name VARCHAR, election_year VARCHAR) | What was the birth state of Charles Cotesworth Pinckney who was elected in 1808? |
SELECT postseason FROM table_name_20 WHERE team = "nebraska" | CREATE TABLE table_name_20 (postseason VARCHAR, team VARCHAR) | How many postseason titles has Nebraska received? |
SELECT loss FROM table_name_3 WHERE date = "august 20" | CREATE TABLE table_name_3 (loss VARCHAR, date VARCHAR) | What is the lost On August 20 |
SELECT AVG(attendance) FROM table_name_70 WHERE save = "β" AND record = "94β36" | CREATE TABLE table_name_70 (attendance INTEGER, save VARCHAR, record VARCHAR) | WHAT IS THE NUMBER OF Attendance WITH A RECORD 94β36 |
SELECT MAX(attendance) FROM table_name_99 WHERE loss = "paniagua (3β3)" | CREATE TABLE table_name_99 (attendance INTEGER, loss VARCHAR) | WHICH Attendance that has a Loss of paniagua (3β3)? |
SELECT away_team AS score FROM table_name_59 WHERE venue = "arden street oval" | CREATE TABLE table_name_59 (away_team VARCHAR, venue VARCHAR) | How many points did the away team score at Arden Street Oval? |
SELECT venue FROM table_name_16 WHERE home_team = "footscray" | CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR) | In what venue does Footscray play? |
SELECT pos FROM table_name_39 WHERE race = "24 hours of le mans" AND co_driver = "jackie oliver" | CREATE TABLE table_name_39 (pos VARCHAR, race VARCHAR, co_driver VARCHAR) | What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans? |
SELECT co_driver FROM table_name_46 WHERE year = 1970 AND race = "targa florio" | CREATE TABLE table_name_46 (co_driver VARCHAR, year VARCHAR, race VARCHAR) | Who was the co-driver in 1970 for the race of Targa Florio? |
SELECT constructor FROM table_name_5 WHERE grid = 13 | CREATE TABLE table_name_5 (constructor VARCHAR, grid VARCHAR) | Which vehicle has a Grid of 13? |
SELECT time_retired FROM table_name_51 WHERE laps = 80 AND grid > 2 | CREATE TABLE table_name_51 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | What's the Time/Retired of 80 laps with a Grid larger than 2? |
SELECT date FROM table_name_53 WHERE team = "detroit" AND game > 3 | CREATE TABLE table_name_53 (date VARCHAR, team VARCHAR, game VARCHAR) | Tell me the date for detroit and game more than 3 |
SELECT team FROM table_name_83 WHERE high_assists = "nelson (5)" | CREATE TABLE table_name_83 (team VARCHAR, high_assists VARCHAR) | Name the team with high assists of nelson (5) |
SELECT score FROM table_name_44 WHERE high_rebounds = "howard (8)" | CREATE TABLE table_name_44 (score VARCHAR, high_rebounds VARCHAR) | Name the score for howard (8) high rebounds |
SELECT MIN(attendance) FROM table_name_34 WHERE date = "october 11" AND game > 4 | CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR, game VARCHAR) | Where Date is october 11, and game greater than 4 what is the lowest attendance? |
SELECT MAX(attendance) FROM table_name_43 WHERE date = "october 7" AND game > 1 | CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, game VARCHAR) | Where date is october 7 and game greater than 1, what is the highest attendance? |
SELECT attendance FROM table_name_40 WHERE date = "october 14" | CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR) | Where Date is october 14 what is the attendance? |
SELECT away_team FROM table_name_90 WHERE venue = "mcg" | CREATE TABLE table_name_90 (away_team VARCHAR, venue VARCHAR) | Which away team had a venue of mcg? |
SELECT away_team AS score FROM table_name_25 WHERE venue = "punt road oval" | CREATE TABLE table_name_25 (away_team VARCHAR, venue VARCHAR) | When did the away team score at Punt Road Oval? |
SELECT home_team AS score FROM table_name_12 WHERE home_team = "north melbourne" | CREATE TABLE table_name_12 (home_team VARCHAR) | How many points did North Melbourne score? |
SELECT score FROM table_name_22 WHERE date = "march 4" | CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR) | What was the score on March 4? |
SELECT date FROM table_name_32 WHERE high_assists = "raymond felton (6)" AND high_points = "jason richardson (42)" | CREATE TABLE table_name_32 (date VARCHAR, high_assists VARCHAR, high_points VARCHAR) | On which date was Raymond Felton (6) the high assists and Jason Richardson (42) the high points? |
SELECT location_attendance FROM table_name_32 WHERE team = "golden state" | CREATE TABLE table_name_32 (location_attendance VARCHAR, team VARCHAR) | What is the location attendance when the team is Golden State? |
SELECT record FROM table_name_89 WHERE visitor = "magic" | CREATE TABLE table_name_89 (record VARCHAR, visitor VARCHAR) | Which record has a Visitor of magic? |
SELECT score FROM table_name_62 WHERE home = "grizzlies" AND leading_scorer = "rudy gay (18)" | CREATE TABLE table_name_62 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR) | Which score has a Home of grizzlies, and a Leading scorer of rudy gay (18)? |
SELECT leading_scorer FROM table_name_66 WHERE home = "grizzlies" AND record = "10β28" | CREATE TABLE table_name_66 (leading_scorer VARCHAR, home VARCHAR, record VARCHAR) | Which leading scorer has a Home of grizzlies, and a Record of 10β28? |
SELECT date FROM table_name_97 WHERE away_team = "carlton" | CREATE TABLE table_name_97 (date VARCHAR, away_team VARCHAR) | If the Away team was carlton, what Date did they play? |
SELECT visitor FROM table_name_34 WHERE home = "chicago" AND score = "3 β 2" | CREATE TABLE table_name_34 (visitor VARCHAR, home VARCHAR, score VARCHAR) | What is the Visitor with a Home with chicago, and a Score of 3 β 2? |
SELECT score FROM table_name_47 WHERE date = "may 2" | CREATE TABLE table_name_47 (score VARCHAR, date VARCHAR) | What is the Score with a Date with may 2? |
SELECT score FROM table_name_72 WHERE home = "colorado" AND date = "may 11" | CREATE TABLE table_name_72 (score VARCHAR, home VARCHAR, date VARCHAR) | What is the Score with a Home of colorado, and a Date with may 11? |
SELECT home FROM table_name_82 WHERE visitor = "chicago" AND series = "3 β 2" | CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR) | What is the Home with a Visitor of chicago, and a Series with 3 β 2? |
SELECT visitor FROM table_name_50 WHERE series = "3 β 2" | CREATE TABLE table_name_50 (visitor VARCHAR, series VARCHAR) | What is the Visitor with a Series with 3 β 2? |
SELECT visitor FROM table_name_35 WHERE score = "4 β 3" | CREATE TABLE table_name_35 (visitor VARCHAR, score VARCHAR) | What is the Visitor with a Score with 4 β 3? |
Subsets and Splits