question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the date of the game at Princes Park?
CREATE TABLE table_name_83 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_83 WHERE venue = "princes park"
Who was the home team at the game with a crowd larger than 32,576?
CREATE TABLE table_name_20 (home_team VARCHAR, crowd INTEGER)
SELECT home_team AS score FROM table_name_20 WHERE crowd > 32 OFFSET 576
Where did Melbourne play as the home team?
CREATE TABLE table_name_38 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_38 WHERE home_team = "melbourne"
In what rounds did Scuderia Milano participate?
CREATE TABLE table_name_48 (rounds VARCHAR, entrant VARCHAR)
SELECT rounds FROM table_name_48 WHERE entrant = "scuderia milano"
Who was the entrant for Louis Chiron with a Chassis of T26C?
CREATE TABLE table_name_95 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_95 WHERE driver = "louis chiron" AND chassis = "t26c"
In what rounds did Luigi Fagioli drive for Alfa Romeo SPA?
CREATE TABLE table_name_69 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT rounds FROM table_name_69 WHERE entrant = "alfa romeo spa" AND driver = "luigi fagioli"
In what rounds did the P15 Chassis and tyre D participate?
CREATE TABLE table_name_10 (rounds VARCHAR, tyre VARCHAR, chassis VARCHAR)
SELECT rounds FROM table_name_10 WHERE tyre = "d" AND chassis = "p15"
Where did Hawthorn play an away game?
CREATE TABLE table_name_6 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_6 WHERE away_team = "hawthorn"
Where does Melbourne play home games?
CREATE TABLE table_name_13 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_13 WHERE home_team = "melbourne"
What was the score for the opponent against Richmond?
CREATE TABLE table_name_48 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_48 WHERE home_team = "richmond"
I want to know the total number of national university of ireland with agricultural panel of 0 and labour panel more than 0
CREATE TABLE table_name_34 (national_university_of_ireland VARCHAR, agricultural_panel VARCHAR, labour_panel VARCHAR)
SELECT COUNT(national_university_of_ireland) FROM table_name_34 WHERE agricultural_panel = 0 AND labour_panel > 0
Tell me the total number of administrative panel with labour panel more than 2, nominated by taoiseach more than 6 and total of 28
CREATE TABLE table_name_59 (administrative_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, labour_panel VARCHAR, total VARCHAR)
SELECT COUNT(administrative_panel) FROM table_name_59 WHERE labour_panel > 2 AND total = 28 AND nominated_by_the_taoiseach > 6
What was the away team score at Western Oval?
CREATE TABLE table_name_64 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_64 WHERE venue = "western oval"
What is the name of Richmond's home venue?
CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_45 WHERE home_team = "richmond"
What was the away team score at Hawthorn's home game?
CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_28 WHERE home_team = "hawthorn"
What score occurred on February 6?
CREATE TABLE table_name_31 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_31 WHERE date = "february 6"
What is the lowest game number on February 20?
CREATE TABLE table_name_69 (game INTEGER, date VARCHAR)
SELECT MIN(game) FROM table_name_69 WHERE date = "february 20"
Who had the high rebounds when the score was l 122–93?
CREATE TABLE table_name_7 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_7 WHERE score = "l 122–93"
Which home team played at Princes Park?
CREATE TABLE table_name_67 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_67 WHERE venue = "princes park"
What date was Richmond the home team?
CREATE TABLE table_name_17 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_17 WHERE home_team = "richmond"
What was the largest crowd when Melbourne was the away team?
CREATE TABLE table_name_37 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_37 WHERE away_team = "melbourne"
Which gymnast had a balance beam larger than 8.687, had a total less than 38.049, had a floor exercise less than 9.462, and a vault less than 9.275?
CREATE TABLE table_name_91 (gymnast VARCHAR, vault VARCHAR, floor_exercise VARCHAR, balance_beam VARCHAR, total VARCHAR)
SELECT gymnast FROM table_name_91 WHERE balance_beam > 8.687 AND total < 38.049 AND floor_exercise < 9.462 AND vault < 9.275
Which country is ranked 24?
CREATE TABLE table_name_57 (country VARCHAR, rank VARCHAR)
SELECT country FROM table_name_57 WHERE rank = "24"
Name the highest year with rank of 22 and accolade of singles of 1999
CREATE TABLE table_name_89 (year INTEGER, accolade VARCHAR, rank VARCHAR)
SELECT MAX(year) FROM table_name_89 WHERE accolade = "singles of 1999" AND rank = "22"
What is the largest Grid with a Driver of piers courage?
CREATE TABLE table_name_31 (grid INTEGER, driver VARCHAR)
SELECT MAX(grid) FROM table_name_31 WHERE driver = "piers courage"
Name the winner for majorca
CREATE TABLE table_name_50 (winner VARCHAR, tournament VARCHAR)
SELECT winner FROM table_name_50 WHERE tournament = "majorca"
Name the third place for anders jΓ€rryd
CREATE TABLE table_name_75 (third_place VARCHAR, runner_up VARCHAR)
SELECT third_place FROM table_name_75 WHERE runner_up = "anders jΓ€rryd"
Name the score for henri leconte and runner-up of michael stich
CREATE TABLE table_name_85 (score VARCHAR, third_place VARCHAR, runner_up VARCHAR)
SELECT score FROM table_name_85 WHERE third_place = "henri leconte" AND runner_up = "michael stich"
Name the winner for london tournament
CREATE TABLE table_name_93 (winner VARCHAR, tournament VARCHAR)
SELECT winner FROM table_name_93 WHERE tournament = "london"
Tell me the runner-up for majorca
CREATE TABLE table_name_30 (runner_up VARCHAR, tournament VARCHAR)
SELECT runner_up FROM table_name_30 WHERE tournament = "majorca"
How many laps did BRM have with a grid of 11?
CREATE TABLE table_name_33 (laps VARCHAR, constructor VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_33 WHERE constructor = "brm" AND grid = 11
What's the total grid of Bruce Mclaren?
CREATE TABLE table_name_79 (grid VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_79 WHERE driver = "bruce mclaren"
What's the least amount of laps that George Eaton completed that has a time/retired engine and a grid larger than 8?
CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_20 WHERE time_retired = "engine" AND grid > 8 AND driver = "george eaton"
Who was the home team on 1 April 2008?
CREATE TABLE table_name_52 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_52 WHERE date = "1 april 2008"
What was the record on 6 April 2008?
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_20 WHERE date = "6 april 2008"
Tell me the Grantee for san ysidro
CREATE TABLE table_name_34 (grantee VARCHAR, concession VARCHAR)
SELECT grantee FROM table_name_34 WHERE concession = "san ysidro"
Tell me the county for mariano castro
CREATE TABLE table_name_48 (county VARCHAR, grantee VARCHAR)
SELECT county FROM table_name_48 WHERE grantee = "mariano castro"
Tell me the grantee for las pulgas in 1795
CREATE TABLE table_name_6 (grantee VARCHAR, date VARCHAR, concession VARCHAR)
SELECT grantee FROM table_name_6 WHERE date = 1795 AND concession = "las pulgas"
A round of 4 is in what position?
CREATE TABLE table_name_38 (position VARCHAR, round VARCHAR)
SELECT position FROM table_name_38 WHERE round = 4
What Club team with a Round larger than 5 have a defense position?
CREATE TABLE table_name_9 (club_team VARCHAR, round VARCHAR, position VARCHAR)
SELECT club_team FROM table_name_9 WHERE round > 5 AND position = "defense"
What Player Club Team is Indiana Ice (ushl)?
CREATE TABLE table_name_10 (player VARCHAR, club_team VARCHAR)
SELECT player FROM table_name_10 WHERE club_team = "indiana ice (ushl)"
What is the Nationality Club Team of Quebec remparts (qmjhl)?
CREATE TABLE table_name_53 (nationality VARCHAR, club_team VARCHAR)
SELECT nationality FROM table_name_53 WHERE club_team = "quebec remparts (qmjhl)"
The Position of Centre is what Player?
CREATE TABLE table_name_4 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_4 WHERE position = "centre"
What is the Overall of 15 Club team with a Nationality of Canada?
CREATE TABLE table_name_37 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR)
SELECT club_team FROM table_name_37 WHERE nationality = "canada" AND overall = "15"
What are the additional major sponsors which correspond to the additional color black and a year 1984?
CREATE TABLE table_name_58 (additional_major_sponsor_s_ VARCHAR, additional_colour_s_ VARCHAR, year VARCHAR)
SELECT additional_major_sponsor_s_ FROM table_name_58 WHERE additional_colour_s_ = "black" AND year = 1984
What is the average year of entries with additional color black?
CREATE TABLE table_name_9 (year INTEGER, additional_colour_s_ VARCHAR)
SELECT AVG(year) FROM table_name_9 WHERE additional_colour_s_ = "black"
What is the Time/Retired for Grid 6?
CREATE TABLE table_name_4 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_4 WHERE grid = 6
What is the lowest Laps for mike spence, with a Grid smaller than 8?
CREATE TABLE table_name_36 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_36 WHERE driver = "mike spence" AND grid < 8
how many laps have a time/retired of +1 lap and mark blundell is the driver?
CREATE TABLE table_name_85 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT AVG(laps) FROM table_name_85 WHERE time_retired = "+1 lap" AND driver = "mark blundell"
what is the highest grid when the time/retired is fuel pump and the laps is more than 26?
CREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_95 WHERE time_retired = "fuel pump" AND laps > 26
what is the least laps for driver gerhard berger with a grid more than 6?
CREATE TABLE table_name_35 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_35 WHERE driver = "gerhard berger" AND grid > 6
What is the Kapampangan word for the Malay word aku?
CREATE TABLE table_name_8 (kapampangan VARCHAR, malay VARCHAR)
SELECT kapampangan FROM table_name_8 WHERE malay = "aku"
What is the Lundu (Salako) word for the Siburan-Pandawan word Δ›ku?
CREATE TABLE table_name_36 (lundu__salako_ VARCHAR, siburan_padawan VARCHAR)
SELECT lundu__salako_ FROM table_name_36 WHERE siburan_padawan = "Δ›ku"
What is the Lundu (Salako) word for the Tagalog word pagkain?
CREATE TABLE table_name_65 (lundu__salako_ VARCHAR, tagalog VARCHAR)
SELECT lundu__salako_ FROM table_name_65 WHERE tagalog = "pagkain"
What is the Siburan-Padawan word for the Tagalog word kanin?
CREATE TABLE table_name_98 (siburan_padawan VARCHAR, tagalog VARCHAR)
SELECT siburan_padawan FROM table_name_98 WHERE tagalog = "kanin"
What were the total games in the Big Ten conference when Nebraska lost fewer than 488 games and had a Pct less than 0.7014?
CREATE TABLE table_name_68 (total_games INTEGER, pct VARCHAR, team VARCHAR, conference VARCHAR, lost VARCHAR)
SELECT SUM(total_games) FROM table_name_68 WHERE conference = "big ten" AND lost < 488 AND team = "nebraska" AND pct < 0.7014
What is Akron's highest Pct in 100 years?
CREATE TABLE table_name_5 (pct VARCHAR, years VARCHAR, team VARCHAR)
SELECT COUNT(pct) FROM table_name_5 WHERE years > 100 AND team = "akron"
How many people attended the game at Lake Oval?
CREATE TABLE table_name_42 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_42 WHERE venue = "lake oval"
What was the away score at the Princes Park game?
CREATE TABLE table_name_28 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_28 WHERE venue = "princes park"
What was the home score at the Princes Park game?
CREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_95 WHERE venue = "princes park"
What is the total number of stations with a line that is u 6?
CREATE TABLE table_name_86 (stations INTEGER, line VARCHAR)
SELECT SUM(stations) FROM table_name_86 WHERE line = "u 6"
Which route has 21 stations?
CREATE TABLE table_name_31 (route VARCHAR, stations VARCHAR)
SELECT route FROM table_name_31 WHERE stations = 21
Which line was green?
CREATE TABLE table_name_95 (line VARCHAR, colour VARCHAR)
SELECT line FROM table_name_95 WHERE colour = "green"
What was the away team that played against Melbourne?
CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_96 WHERE home_team = "melbourne"
Who was the opponent when the score was 6–4, 6–7 (2–7) , 7–5?
CREATE TABLE table_name_53 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_53 WHERE score = "6–4, 6–7 (2–7) , 7–5"
Which tournament was andreas haider-maurer the opponent in?
CREATE TABLE table_name_94 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_94 WHERE opponent = "andreas haider-maurer"
How many people have a vl type in a region greater than 3?
CREATE TABLE table_name_49 (population INTEGER, type VARCHAR, region VARCHAR)
SELECT SUM(population) FROM table_name_49 WHERE type = "vl" AND region > 3
How many people are in regions greater than 3?
CREATE TABLE table_name_18 (population INTEGER, region INTEGER)
SELECT SUM(population) FROM table_name_18 WHERE region > 3
What is the average region that has an Area (km 2 ) of 451.79, and a Population under 496,257?
CREATE TABLE table_name_43 (region INTEGER, area__km_2__ VARCHAR, population VARCHAR)
SELECT AVG(region) FROM table_name_43 WHERE area__km_2__ = 451.79 AND population < 496 OFFSET 257
What is the attendance on location for a record of 40–40?
CREATE TABLE table_name_67 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_67 WHERE record = "40–40"
Who had the high assist in a game number above 77 for Milwaukee?
CREATE TABLE table_name_24 (high_assists VARCHAR, game VARCHAR, team VARCHAR)
SELECT high_assists FROM table_name_24 WHERE game > 77 AND team = "milwaukee"
Who had the high assists in game 77?
CREATE TABLE table_name_3 (high_assists VARCHAR, game VARCHAR)
SELECT high_assists FROM table_name_3 WHERE game = 77
I want the time/retired for Grid of 13
CREATE TABLE table_name_59 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_59 WHERE grid = 13
Tell me the highest Grid for Maurice Trintignant and laps less than 87
CREATE TABLE table_name_14 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT MAX(grid) FROM table_name_14 WHERE driver = "maurice trintignant" AND laps < 87
I want the lowest Laps for time/retired of engine and driver of charles de tornaco
CREATE TABLE table_name_22 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
SELECT MIN(laps) FROM table_name_22 WHERE time_retired = "engine" AND driver = "charles de tornaco"
In May 2010, which party had a turnout of less than 3, but also the hightest turnout in May 2012?
CREATE TABLE table_name_26 (may_2012 INTEGER, may_2010 INTEGER)
SELECT MAX(may_2012) FROM table_name_26 WHERE may_2010 < 3
I want the location for round of 3 and time of 4:40
CREATE TABLE table_name_4 (location VARCHAR, round VARCHAR, time VARCHAR)
SELECT location FROM table_name_4 WHERE round = 3 AND time = "4:40"
How many people were in attendance for the game with a score of 98–111?
CREATE TABLE table_name_12 (attendance INTEGER, score VARCHAR)
SELECT SUM(attendance) FROM table_name_12 WHERE score = "98–111"
What is the record of the game with a score of 101–92?
CREATE TABLE table_name_29 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_29 WHERE score = "101–92"
What is the date when the Lakers were the home team?
CREATE TABLE table_name_1 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_1 WHERE home = "lakers"
How many people were in attendance when the home shows as Bulls?
CREATE TABLE table_name_89 (attendance VARCHAR, home VARCHAR)
SELECT COUNT(attendance) FROM table_name_89 WHERE home = "bulls"
What is the lowest number of people in attendance when the record was 9–26?
CREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_7 WHERE record = "9–26"
What is the name of the First Class Team in which the player has a bowling style of left arm orthodox spin?
CREATE TABLE table_name_15 (first_class_team VARCHAR, bowling_style VARCHAR)
SELECT first_class_team FROM table_name_15 WHERE bowling_style = "left arm orthodox spin"
What is the bowling style of the player whose first class team is Islamabad and has a date of birth of 28 February 1975?
CREATE TABLE table_name_72 (bowling_style VARCHAR, first_class_team VARCHAR, date_of_birth VARCHAR)
SELECT bowling_style FROM table_name_72 WHERE first_class_team = "islamabad" AND date_of_birth = "28 february 1975"
What batting style does player Shahid Afridi have?
CREATE TABLE table_name_88 (batting_style VARCHAR, player VARCHAR)
SELECT batting_style FROM table_name_88 WHERE player = "shahid afridi"
Who was the away team at Victoria Park?
CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_85 WHERE venue = "victoria park"
What was the crowd size when Geelong played at home?
CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_58 WHERE home_team = "geelong"
What was the home score for the Home team Melbourne?
CREATE TABLE table_name_63 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_63 WHERE home_team = "melbourne"
Which studio analyst has Scott Oake for the ice level reporter?
CREATE TABLE table_name_52 (studio_analysts VARCHAR, ice_level_reporters VARCHAR)
SELECT studio_analysts FROM table_name_52 WHERE ice_level_reporters = "scott oake"
Which ice level reporter has Harry Neale for the colour commentator after the year 2004?
CREATE TABLE table_name_92 (ice_level_reporters VARCHAR, colour_commentator_s_ VARCHAR, year VARCHAR)
SELECT ice_level_reporters FROM table_name_92 WHERE colour_commentator_s_ = "harry neale" AND year > 2004
How long was his fight against kim kyoung-suk?
CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_27 WHERE opponent = "kim kyoung-suk"
What was the score for the away team at Collingwood?
CREATE TABLE table_name_75 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_75 WHERE away_team = "collingwood"
Who is the home team of South Melbourne?
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_12 WHERE home_team = "south melbourne"
Who built michael schumacher's car that went under 31 laps?
CREATE TABLE table_name_24 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_24 WHERE laps < 31 AND driver = "michael schumacher"
How many grids for heinz-harald frentzen with 61 laps?
CREATE TABLE table_name_12 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_12 WHERE laps = 61 AND driver = "heinz-harald frentzen"
What did the home team score at Lake Oval?
CREATE TABLE table_name_2 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_2 WHERE venue = "lake oval"
What did Footscray score at the home game?
CREATE TABLE table_name_23 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_23 WHERE home_team = "footscray"
What did Essendon score as the Away team?
CREATE TABLE table_name_7 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_7 WHERE away_team = "essendon"
Name the Trofeo Fast team for roberto visentini
CREATE TABLE table_name_58 (trofeo_fast_team VARCHAR, winner VARCHAR)
SELECT trofeo_fast_team FROM table_name_58 WHERE winner = "roberto visentini"
Name the young rider classification for giuseppe saronni at stage 6
CREATE TABLE table_name_16 (young_rider_classification VARCHAR, general_classification VARCHAR, stage VARCHAR)
SELECT young_rider_classification FROM table_name_16 WHERE general_classification = "giuseppe saronni" AND stage = "6"