answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT SUM(crowd) FROM table_name_56 WHERE venue = "princes park"
CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)
How large was the crowd when they played at princes park?
SELECT away_team FROM table_name_74 WHERE venue = "junction oval"
CREATE TABLE table_name_74 (away_team VARCHAR, venue VARCHAR)
Who is the away team at junction oval?
SELECT away_team AS score FROM table_name_49 WHERE venue = "princes park"
CREATE TABLE table_name_49 (away_team VARCHAR, venue VARCHAR)
What is the away team's score at princes park?
SELECT MAX(_percentage_internet_users) FROM table_name_51 WHERE _percentage_growth__2000_2008_ = 1622
CREATE TABLE table_name_51 (_percentage_internet_users INTEGER, _percentage_growth__2000_2008_ VARCHAR)
What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had?
SELECT home_team FROM table_name_50 WHERE away_team = "footscray"
CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR)
Who was the home team when Footscray was the away team?
SELECT date FROM table_name_28 WHERE opponent = "buffalo bills"
CREATE TABLE table_name_28 (date VARCHAR, opponent VARCHAR)
What day did the team play the buffalo bills?
SELECT bb_pop FROM table_name_8 WHERE riaa = "g" AND year < 1961
CREATE TABLE table_name_8 (bb_pop VARCHAR, riaa VARCHAR, year VARCHAR)
What is the BB Pop for the song with RIAA of G that was in a year earlier than 1961?
SELECT name FROM table_name_7 WHERE other = "3 (15)"
CREATE TABLE table_name_7 (name VARCHAR, other VARCHAR)
Which player has an Other of 3 (15)?
SELECT name FROM table_name_14 WHERE time = "01:17:01"
CREATE TABLE table_name_14 (name VARCHAR, time VARCHAR)
What Name has a Time of 01:17:01?
SELECT magnitude FROM table_name_49 WHERE date = "may 28, 2004"
CREATE TABLE table_name_49 (magnitude VARCHAR, date VARCHAR)
What is the Magnitude on the Date May 28, 2004?
SELECT name FROM table_name_46 WHERE time = "01:56:52"
CREATE TABLE table_name_46 (name VARCHAR, time VARCHAR)
What Name has a Time of 01:56:52?
SELECT fatalities FROM table_name_79 WHERE epicenter = "māzandarān"
CREATE TABLE table_name_79 (fatalities VARCHAR, epicenter VARCHAR)
What number of Fatalities did the Epicenter Māzandarān have?
SELECT fatalities FROM table_name_78 WHERE time = "12:38:46"
CREATE TABLE table_name_78 (fatalities VARCHAR, time VARCHAR)
What number of Fatalties is associated with the Time of 12:38:46?
SELECT time FROM table_name_94 WHERE epicenter = "bam"
CREATE TABLE table_name_94 (time VARCHAR, epicenter VARCHAR)
What is the Time when the Epicenter was Bam?
SELECT chief_judge FROM table_name_2 WHERE appointed_by = "clinton"
CREATE TABLE table_name_2 (chief_judge VARCHAR, appointed_by VARCHAR)
Who did Clinton appoint as a Chief Judge?
SELECT MIN(crowd) FROM table_name_14 WHERE away_team = "carlton"
CREATE TABLE table_name_14 (crowd INTEGER, away_team VARCHAR)
What was the smallest crowd for a Carlton away game?
SELECT res FROM table_name_11 WHERE time = "1:13"
CREATE TABLE table_name_11 (res VARCHAR, time VARCHAR)
What is the result when the time is 1:13?
SELECT opponent FROM table_name_45 WHERE time = "1:47"
CREATE TABLE table_name_45 (opponent VARCHAR, time VARCHAR)
Who was the opponent when the time was 1:47?
SELECT venue FROM table_name_61 WHERE away_team = "south melbourne"
CREATE TABLE table_name_61 (venue VARCHAR, away_team VARCHAR)
What venue did South Melbourne play as the away team?
SELECT away_team AS score FROM table_name_77 WHERE venue = "victoria park"
CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR)
What was the away team's score in the match at Victoria Park?
SELECT position FROM table_name_34 WHERE round = 7 AND college = "kansas state"
CREATE TABLE table_name_34 (position VARCHAR, round VARCHAR, college VARCHAR)
Which position has a Round of 7, and a College of kansas state?
SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = "quarterback"
CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR)
How many rounds have an Overall larger than 17, and a Position of quarterback?
SELECT AVG(overall) FROM table_name_80 WHERE round = 1 AND position = "center"
CREATE TABLE table_name_80 (overall INTEGER, round VARCHAR, position VARCHAR)
Which average overall has a Round of 1, and a Position of center?
SELECT venue FROM table_name_37 WHERE home_team = "north melbourne"
CREATE TABLE table_name_37 (venue VARCHAR, home_team VARCHAR)
Where did North Melbourne play as the home team?
SELECT MAX(crowd) FROM table_name_11 WHERE venue = "mcg"
CREATE TABLE table_name_11 (crowd INTEGER, venue VARCHAR)
What was the attendance when VFL played MCG?
SELECT away_team AS score FROM table_name_98 WHERE venue = "windy hill"
CREATE TABLE table_name_98 (away_team VARCHAR, venue VARCHAR)
What was the score of the away team when they played at Windy Hill?
SELECT crowd FROM table_name_77 WHERE away_team = "melbourne"
CREATE TABLE table_name_77 (crowd VARCHAR, away_team VARCHAR)
How large was the crowd when the away team was melbourne?
SELECT COUNT(crowd) FROM table_name_58 WHERE venue = "glenferrie oval"
CREATE TABLE table_name_58 (crowd VARCHAR, venue VARCHAR)
How many people watched a Glenferrie Oval?
SELECT away_team AS score FROM table_name_52 WHERE home_team = "geelong"
CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR)
How faced Geelong at home?
SELECT SUM(crowd) FROM table_name_77 WHERE away_team = "essendon"
CREATE TABLE table_name_77 (crowd INTEGER, away_team VARCHAR)
How many people watch Essendon as an away team?
SELECT home_team FROM table_name_98 WHERE away_team = "south melbourne"
CREATE TABLE table_name_98 (home_team VARCHAR, away_team VARCHAR)
Where did South Melbourne go to play a team at home?
SELECT away_team AS score FROM table_name_1 WHERE away_team = "essendon"
CREATE TABLE table_name_1 (away_team VARCHAR)
What is essendon's away team score?
SELECT date FROM table_name_63 WHERE away_team = "geelong"
CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR)
What is the date with geelong as Away team?
SELECT MAX(crowd) FROM table_name_7 WHERE venue = "arden street oval"
CREATE TABLE table_name_7 (crowd INTEGER, venue VARCHAR)
What is the highest crowd at arden street oval?
SELECT AVG(crowd) FROM table_name_13 WHERE away_team = "geelong"
CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR)
What is geelong's aberage crowd as Away Team?
SELECT date FROM table_name_10 WHERE away_team = "north melbourne"
CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)
What was the date of the game when North Melbourne was the away team?
SELECT team FROM table_name_10 WHERE grid = 9
CREATE TABLE table_name_10 (team VARCHAR, grid VARCHAR)
What is the team with grid 9?
SELECT team FROM table_name_14 WHERE name = "garth tander"
CREATE TABLE table_name_14 (team VARCHAR, name VARCHAR)
What team features garth tander?
SELECT stages FROM table_name_11 WHERE distance = "2,192 km"
CREATE TABLE table_name_11 (stages VARCHAR, distance VARCHAR)
How many stages are in a distance of 2,192 km?
SELECT distance FROM table_name_38 WHERE stages = "16" AND year = "1997"
CREATE TABLE table_name_38 (distance VARCHAR, stages VARCHAR, year VARCHAR)
How long was the 16 staged event in 1997?
SELECT time FROM table_name_99 WHERE year = "1984"
CREATE TABLE table_name_99 (time VARCHAR, year VARCHAR)
What was the winning time in 1984?
SELECT winner FROM table_name_83 WHERE stages = "17" AND year = "1987"
CREATE TABLE table_name_83 (winner VARCHAR, stages VARCHAR, year VARCHAR)
Who won the 17 staged event in 1987?
SELECT name FROM table_name_91 WHERE year = "1988"
CREATE TABLE table_name_91 (name VARCHAR, year VARCHAR)
Which event happened in 1988?
SELECT city_location FROM table_name_70 WHERE pole_position = "rick mears" AND winning_driver = "rick mears"
CREATE TABLE table_name_70 (city_location VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
Where did Rick Mears win, after starting in Pole Position?
SELECT city_location FROM table_name_48 WHERE race_name = "budweiser/g. i. joe's 200"
CREATE TABLE table_name_48 (city_location VARCHAR, race_name VARCHAR)
Where is the budweiser/g. i. joe's 200?
SELECT city_location FROM table_name_60 WHERE pole_position = "emerson fittipaldi"
CREATE TABLE table_name_60 (city_location VARCHAR, pole_position VARCHAR)
Where is Emerson Fittipaldi starting in Pole position?
SELECT circuit FROM table_name_56 WHERE date = "july 24"
CREATE TABLE table_name_56 (circuit VARCHAR, date VARCHAR)
Which Circuit is on July 24?
SELECT date FROM table_name_34 WHERE winning_constructor = "delage"
CREATE TABLE table_name_34 (date VARCHAR, winning_constructor VARCHAR)
What date did Delage win?
SELECT circuit FROM table_name_58 WHERE winning_driver = "luigi villoresi" AND name = "lausanne grand prix"
CREATE TABLE table_name_58 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR)
What circuit did Luigi Villoresi win the Lausanne Grand Prix?
SELECT name FROM table_name_2 WHERE winning_driver = "nello pagani"
CREATE TABLE table_name_2 (name VARCHAR, winning_driver VARCHAR)
Which Grand Prix did Nello Pagani win?
SELECT home_team AS score FROM table_name_8 WHERE away_team = "fitzroy"
CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)
What did the home team score when playing Fitzroy as the away team?
SELECT home_team AS score FROM table_name_41 WHERE venue = "western oval"
CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)
What did the home team score when playing at Western Oval?
SELECT away_team FROM table_name_20 WHERE home_team = "collingwood"
CREATE TABLE table_name_20 (away_team VARCHAR, home_team VARCHAR)
What away team played Collingwood?
SELECT date FROM table_name_20 WHERE home_team = "collingwood"
CREATE TABLE table_name_20 (date VARCHAR, home_team VARCHAR)
On what date did Collingwood play at home?
SELECT AVG(round) FROM table_name_28 WHERE overall < 187 AND player = "dave stachelski"
CREATE TABLE table_name_28 (round INTEGER, overall VARCHAR, player VARCHAR)
Name the average round where Dave Stachelski was picked smaller than 187.
SELECT position FROM table_name_79 WHERE overall > 187 AND player = "david nugent"
CREATE TABLE table_name_79 (position VARCHAR, overall VARCHAR, player VARCHAR)
Which position did David Nugent play with an overall small than 187?
SELECT college FROM table_name_46 WHERE overall > 187 AND round < 7 AND position = "defensive end"
CREATE TABLE table_name_46 (college VARCHAR, position VARCHAR, overall VARCHAR, round VARCHAR)
Name the college that has an overall larger than 187 and a round smaller than 7 for the defensive end position.
SELECT player FROM table_name_74 WHERE games < 201 AND rank = 2 AND years = "2007-2012"
CREATE TABLE table_name_74 (player VARCHAR, years VARCHAR, games VARCHAR, rank VARCHAR)
Which player has less than 201 games, is ranked 2, and played between 2007-2012?
SELECT AVG(games) FROM table_name_99 WHERE player = "nick rimando"
CREATE TABLE table_name_99 (games INTEGER, player VARCHAR)
How many average games did Nick Rimando have?
SELECT party FROM table_name_47 WHERE left_office = "january 12, 1857"
CREATE TABLE table_name_47 (party VARCHAR, left_office VARCHAR)
What is the party of the politician who left office on January 12, 1857
SELECT governor FROM table_name_4 WHERE name = "hugh thomas miller"
CREATE TABLE table_name_4 (governor VARCHAR, name VARCHAR)
What is the party of the governor under Hugh Thomas Miller.
SELECT name FROM table_name_32 WHERE left_office = "january 9, 1893"
CREATE TABLE table_name_32 (name VARCHAR, left_office VARCHAR)
Who left office on January 9, 1893
SELECT took_office FROM table_name_8 WHERE governor = "matthew e. welsh"
CREATE TABLE table_name_8 (took_office VARCHAR, governor VARCHAR)
Who took office under the government of Matthew E. Welsh?
SELECT governor FROM table_name_4 WHERE took_office = "january 13, 1877"
CREATE TABLE table_name_4 (governor VARCHAR, took_office VARCHAR)
Which governor took office on January 13, 1877
SELECT away_team AS score FROM table_name_18 WHERE away_team = "geelong"
CREATE TABLE table_name_18 (away_team VARCHAR)
What is the score of the Geelong away team?
SELECT away_team AS score FROM table_name_85 WHERE venue = "lake oval"
CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)
What is the score of the team that plays in lake oval?
SELECT date FROM table_name_25 WHERE venue = "princes park"
CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR)
What the date of the game of the team that plays in princes park?
SELECT home_team AS score FROM table_name_60 WHERE home_team = "carlton"
CREATE TABLE table_name_60 (home_team VARCHAR)
What was the score of the home team of carlton?
SELECT crowd FROM table_name_63 WHERE away_team = "geelong"
CREATE TABLE table_name_63 (crowd VARCHAR, away_team VARCHAR)
How many people watched the away team of Geelong?
SELECT home_team AS score FROM table_name_99 WHERE venue = "brunswick street oval"
CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR)
Which home team has the Brunswick Street Oval venue?
SELECT home_team FROM table_name_8 WHERE venue = "brunswick street oval"
CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR)
Which home team has the Brunswick Street Oval venue?
SELECT MIN(total) FROM table_name_26 WHERE new_south_wales = 42 AND victoria < 68
CREATE TABLE table_name_26 (total INTEGER, new_south_wales VARCHAR, victoria VARCHAR)
Which is the lowest crop total with New South Wales at 42 kilotonnes and Victorian at less than 68 kilotonnes?
SELECT qual_1 FROM table_name_43 WHERE best = "1:01.704"
CREATE TABLE table_name_43 (qual_1 VARCHAR, best VARCHAR)
Who had a qual 1 best of 1:01.704?
SELECT team FROM table_name_78 WHERE qual_1 = "1:02.755"
CREATE TABLE table_name_78 (team VARCHAR, qual_1 VARCHAR)
What team had a qual 1 of 1:02.755?
SELECT qual_1 FROM table_name_87 WHERE team = "rusport" AND best = "58.665"
CREATE TABLE table_name_87 (qual_1 VARCHAR, team VARCHAR, best VARCHAR)
What is the qual 1 for rusport and had a best of 58.665?
SELECT team FROM table_name_72 WHERE qual_1 = "59.895"
CREATE TABLE table_name_72 (team VARCHAR, qual_1 VARCHAR)
What team had a qual 1 of 59.895?
SELECT name FROM table_name_98 WHERE qual_1 = "1:01.461"
CREATE TABLE table_name_98 (name VARCHAR, qual_1 VARCHAR)
Who had a qual 1 of 1:01.461?
SELECT lfn_support FROM table_name_74 WHERE architecture = "32-bit" AND name = "windows home server"
CREATE TABLE table_name_74 (lfn_support VARCHAR, architecture VARCHAR, name VARCHAR)
What is the LFN support with 32-bit architecture on Windows Home Server?
SELECT lfn_support FROM table_name_68 WHERE name = "windows nt 3.1"
CREATE TABLE table_name_68 (lfn_support VARCHAR, name VARCHAR)
What is the LFN support on Windows NT 3.1?
SELECT venue FROM table_name_64 WHERE away_team = "hawthorn"
CREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)
What venue features hawthorn as the away team?
SELECT SUM(cup_apps) FROM table_name_48 WHERE league_apps < 12
CREATE TABLE table_name_48 (cup_apps INTEGER, league_apps INTEGER)
How many cop apps in the season with fewer than 12 league apps?
SELECT season FROM table_name_87 WHERE cup_apps = 6 AND cup_goals = 5
CREATE TABLE table_name_87 (season VARCHAR, cup_apps VARCHAR, cup_goals VARCHAR)
What season saw 6 cup apps and 5 cup goals?
SELECT SUM(league_apps) FROM table_name_22 WHERE cup_goals > 2 AND cup_apps > 6
CREATE TABLE table_name_22 (league_apps INTEGER, cup_goals VARCHAR, cup_apps VARCHAR)
How many league apps in the season with more than 2 cup goals and more than 6 cup apps?
SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34
CREATE TABLE table_name_9 (cup_goals INTEGER, league_apps INTEGER)
How many cup goals for the season with more than 34 league apps?
SELECT SUM(cup_goals) FROM table_name_78 WHERE league_apps > 5 AND cup_apps = 1 AND league_goals < 4
CREATE TABLE table_name_78 (cup_goals INTEGER, league_goals VARCHAR, league_apps VARCHAR, cup_apps VARCHAR)
How many cup goals in the season with more than 5 league apps, 1 cup apps and fewer than 4 league goals?
SELECT cup_apps FROM table_name_17 WHERE league_goals > 10 AND league_apps = 23
CREATE TABLE table_name_17 (cup_apps VARCHAR, league_goals VARCHAR, league_apps VARCHAR)
How many cup apps for the season where there are more than 10 league goals and 23 league apps?
SELECT route FROM table_name_12 WHERE date = "2 july"
CREATE TABLE table_name_12 (route VARCHAR, date VARCHAR)
Which route has a Date of 2 july?
SELECT length FROM table_name_37 WHERE stage = "9"
CREATE TABLE table_name_37 (length VARCHAR, stage VARCHAR)
Which length has a Stage of 9?
SELECT date FROM table_name_34 WHERE terrain = "plain stage" AND stage = "4"
CREATE TABLE table_name_34 (date VARCHAR, terrain VARCHAR, stage VARCHAR)
Which date has a Terrain of plain stage, and a Stage of 4?
SELECT home_team AS score FROM table_name_53 WHERE home_team = "fitzroy"
CREATE TABLE table_name_53 (home_team VARCHAR)
What is the score for Fitzroy when they are the home team?
SELECT MIN(crowd) FROM table_name_38 WHERE home_team = "melbourne"
CREATE TABLE table_name_38 (crowd INTEGER, home_team VARCHAR)
What is the smallest crowd for a game when Melbourne is the home team?
SELECT drafting_team FROM table_name_44 WHERE graduated > 2010 AND college_prior = "michigan"
CREATE TABLE table_name_44 (drafting_team VARCHAR, graduated VARCHAR, college_prior VARCHAR)
Who drafted the player from Michigan after 2010?
SELECT home_town FROM table_name_32 WHERE graduated > 2010 AND college_prior = "michigan"
CREATE TABLE table_name_32 (home_town VARCHAR, graduated VARCHAR, college_prior VARCHAR)
Where was the player from who graduated from Michigan after 2010?
SELECT home_town FROM table_name_7 WHERE player = "steve zakuani"
CREATE TABLE table_name_7 (home_town VARCHAR, player VARCHAR)
From what town was Steve Zakuani?
SELECT SUM(graduated) FROM table_name_94 WHERE player = "omar gonzalez"
CREATE TABLE table_name_94 (graduated INTEGER, player VARCHAR)
What year did Omar Gonzalez graduate?
SELECT host FROM table_name_12 WHERE city = "long beach"
CREATE TABLE table_name_12 (host VARCHAR, city VARCHAR)
Which university hosted in Long Beach?
SELECT venue FROM table_name_38 WHERE host = "saint joseph's university"
CREATE TABLE table_name_38 (venue VARCHAR, host VARCHAR)
What is the venue that Saint Joseph's University hosted at?
SELECT city FROM table_name_84 WHERE venue = "hayman hall (tom gola arena)"
CREATE TABLE table_name_84 (city VARCHAR, venue VARCHAR)
In which city is Hayman Hall (Tom Gola Arena) located?
SELECT venue FROM table_name_3 WHERE city = "villanova"
CREATE TABLE table_name_3 (venue VARCHAR, city VARCHAR)
Which venue is in the city of Villanova?
SELECT date FROM table_name_88 WHERE team = "clare" AND player = "ger loughnane"
CREATE TABLE table_name_88 (date VARCHAR, team VARCHAR, player VARCHAR)
On which date did Ger Loughnane from Team Clare have a match?