question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the largest crowd at a game where Collingwood was the away team?
CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_13 WHERE away_team = "collingwood"
For the group with 1.92% population in 1981, what was their percentage of the population in 1971?
CREATE TABLE table_name_62 (population__percentage_1971 VARCHAR, population__percentage_1981 VARCHAR)
SELECT population__percentage_1971 FROM table_name_62 WHERE population__percentage_1981 = "1.92%"
For the group with 1.79% population in 1961, what was their percentage of the population in 1971?
CREATE TABLE table_name_14 (population__percentage_1971 VARCHAR, population__percentage_1961 VARCHAR)
SELECT population__percentage_1971 FROM table_name_14 WHERE population__percentage_1961 = "1.79%"
What is the rice amount when the potato amount is 79?
CREATE TABLE table_name_7 (rice_ VARCHAR, b_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)
SELECT rice_[b_] FROM table_name_7 WHERE potato_[d_] = "79"
What is the yam amount with amount of soybean 0 and potato of 0.01?
CREATE TABLE table_name_48 (yam_ VARCHAR, y_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)
SELECT yam_[y_] FROM table_name_48 WHERE soybean__green__[f_] = "0" AND potato_[d_] = "0.01"
What is the yam amount when the Cassava amount is 0.11?
CREATE TABLE table_name_34 (yam_ VARCHAR, y_ VARCHAR, cassava_ VARCHAR, e_ VARCHAR)
SELECT yam_[y_] FROM table_name_34 WHERE cassava_[e_] = "0.11"
What is the wheat amount when the potato amount of 1.9?
CREATE TABLE table_name_20 (wheat_ VARCHAR, c_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)
SELECT wheat_[c_] FROM table_name_20 WHERE potato_[d_] = "1.9"
What is the Sweet Potato amount when the soybean amount is 1.65?
CREATE TABLE table_name_92 (sweet_potato_ VARCHAR, g_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR)
SELECT sweet_potato_[g_] FROM table_name_92 WHERE soybean__green__[f_] = "1.65"
What is the Yam amount when the Maze/Corn amount is 1355?
CREATE TABLE table_name_80 (yam_ VARCHAR, y_ VARCHAR, maize___corn_ VARCHAR, a_ VARCHAR)
SELECT yam_[y_] FROM table_name_80 WHERE maize___corn_[a_] = "1355"
Which province and flag has a water area (km 2) of 0?
CREATE TABLE table_name_40 (name_and_flag VARCHAR, water_area__km_2__ VARCHAR)
SELECT name_and_flag FROM table_name_40 WHERE water_area__km_2__ = 0
When did the Browns play the Pittsburgh Steelers?
CREATE TABLE table_name_80 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_80 WHERE opponent = "pittsburgh steelers"
Who is the home side when north melbourne is the away side?
CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_51 WHERE away_team = "north melbourne"
Where was the game played where Collingwood was the away team?
CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_99 WHERE away_team = "collingwood"
What was the total tenure time with a rank of 49?
CREATE TABLE table_name_3 (total_tenure_time VARCHAR, total_tenure_rank VARCHAR)
SELECT total_tenure_time FROM table_name_3 WHERE total_tenure_rank = 49
Who did Teo Fabi drive for when he won and had pole position?
CREATE TABLE table_name_74 (winning_team VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT winning_team FROM table_name_74 WHERE winning_driver = "teo fabi" AND pole_position = "teo fabi"
Who won for Forsythe Racing when Bobby Rahal had pole position?
CREATE TABLE table_name_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT name FROM table_name_49 WHERE winning_team = "forsythe racing" AND pole_position = "bobby rahal"
Which team had the fastest lap of 1:13.516?
CREATE TABLE table_name_47 (winning_team VARCHAR, fastest_lap VARCHAR)
SELECT winning_team FROM table_name_47 WHERE fastest_lap = "1:13.516"
Who had the fastest lap when Al Unser won?
CREATE TABLE table_name_40 (fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser"
What is the maximum number of players for the sega game, hang-on (cartridge version)?
CREATE TABLE table_name_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR)
SELECT COUNT(max__number_of_players) FROM table_name_24 WHERE developer = "sega" AND main_title___alternate_title_s_ = "hang-on (cartridge version)"
Which Away team has a Score of 4–2?
CREATE TABLE table_name_33 (away_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_33 WHERE score = "4–2"
Which Home team has an Away team of al-ain fc, and a Year of 2002/03?
CREATE TABLE table_name_60 (home_team VARCHAR, away_team VARCHAR, year VARCHAR)
SELECT home_team FROM table_name_60 WHERE away_team = "al-ain fc" AND year = "2002/03"
Which Home team has a Year of 2002/03, and a Venue of tahnoun bin mohamed stadium?
CREATE TABLE table_name_35 (home_team VARCHAR, year VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_35 WHERE year = "2002/03" AND venue = "tahnoun bin mohamed stadium"
Which Away team has a Home team of al-ain fc, and a Score of 1–1?
CREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_58 WHERE home_team = "al-ain fc" AND score = "1–1"
What is the attendance of the game that was played on September 27, 1964?
CREATE TABLE table_name_85 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_name_85 WHERE date = "september 27, 1964"
What is the home side's score when geelong is the away team?
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_77 WHERE away_team = "geelong"
What was the score of the tournament that was held in 1974?
CREATE TABLE table_name_92 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_92 WHERE date = 1974
What was the date when South Melbourne was the home team?
CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_14 WHERE home_team = "south melbourne"
Where did Hawthorn play as home team?
CREATE TABLE table_name_29 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_29 WHERE home_team = "hawthorn"
When the VFL played Brunswick Street Oval what was the home team score?
CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_20 WHERE venue = "brunswick street oval"
Where did Geelong play as the away team?
CREATE TABLE table_name_9 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_9 WHERE away_team = "geelong"
What was the attendance when Fitzroy played as home team?
CREATE TABLE table_name_2 (crowd VARCHAR, home_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_2 WHERE home_team = "fitzroy"
What was the attendance when Hawthorn played as home team?
CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn"
What engine did Casey Mears use on the Reynard 01i Chassis?
CREATE TABLE table_name_24 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR)
SELECT engine FROM table_name_24 WHERE chassis = "reynard 01i" AND drivers = "casey mears"
What Chassis did Memo Gidley use?
CREATE TABLE table_name_37 (chassis VARCHAR, drivers VARCHAR)
SELECT chassis FROM table_name_37 WHERE drivers = "memo gidley"
Who used the Honda Engine for all the races?
CREATE TABLE table_name_34 (team VARCHAR, engine VARCHAR, races VARCHAR)
SELECT team FROM table_name_34 WHERE engine = "honda" AND races = "all"
What is the location of the 200m backstroke?
CREATE TABLE table_name_75 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_75 WHERE event = "200m backstroke"
Which circuit did Guy Edwards win?
CREATE TABLE table_name_11 (circuit VARCHAR, winning_driver VARCHAR)
SELECT circuit FROM table_name_11 WHERE winning_driver = "guy edwards"
What circuit did Rupert Keegan win in round 8?
CREATE TABLE table_name_21 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)
SELECT circuit FROM table_name_21 WHERE winning_driver = "rupert keegan" AND round = 8
Who won Silverstone in a round after 10?
CREATE TABLE table_name_90 (name VARCHAR, round VARCHAR, circuit VARCHAR)
SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone"
What rank did actor Aaron Pedersen's character have?
CREATE TABLE table_name_44 (rank VARCHAR, actor_actress VARCHAR)
SELECT rank FROM table_name_44 WHERE actor_actress = "aaron pedersen"
What years were actress Nadine Garner on the show?
CREATE TABLE table_name_75 (tenure VARCHAR, actor_actress VARCHAR)
SELECT tenure FROM table_name_75 WHERE actor_actress = "nadine garner"
What character did actor Damien Richardson play?
CREATE TABLE table_name_50 (character VARCHAR, actor_actress VARCHAR)
SELECT character FROM table_name_50 WHERE actor_actress = "damien richardson"
What episode did actor Daniel Macpherson's character have the rank of Detective Senior Constable
CREATE TABLE table_name_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)
SELECT episodes FROM table_name_46 WHERE rank = "detective senior constable" AND actor_actress = "daniel macpherson"
Who are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013?
CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)
SELECT sideline_reporter_s_ FROM table_name_22 WHERE network = "nbc" AND play_by_play = "al michaels" AND year > 2013
What was the earliest year featuring Sideline reporter(s) of michelle tafoya and suzy kolber?
CREATE TABLE table_name_64 (year INTEGER, sideline_reporter_s_ VARCHAR)
SELECT MIN(year) FROM table_name_64 WHERE sideline_reporter_s_ = "michelle tafoya and suzy kolber"
What network is working in 2014?
CREATE TABLE table_name_19 (network VARCHAR, year VARCHAR)
SELECT network FROM table_name_19 WHERE year = 2014
Who were the sideline reporter(s) in 2011?
CREATE TABLE table_name_72 (sideline_reporter_s_ VARCHAR, year VARCHAR)
SELECT sideline_reporter_s_ FROM table_name_72 WHERE year = 2011
Who were the collor commentator(s) for ESPN before 2012?
CREATE TABLE table_name_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR)
SELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = "espn"
What higher harmonics have an NOAA of 8?
CREATE TABLE table_name_19 (higher_harmonics VARCHAR, noaa VARCHAR)
SELECT higher_harmonics FROM table_name_19 WHERE noaa = "8"
What is the speed of the higher harmonics that have an NOAA of 37?
CREATE TABLE table_name_95 (speed VARCHAR, noaa VARCHAR)
SELECT speed FROM table_name_95 WHERE noaa = "37"
What is the NOAA of the higher harmonics that have a Darwin of mn 4?
CREATE TABLE table_name_49 (noaa VARCHAR, darwin VARCHAR)
SELECT noaa FROM table_name_49 WHERE darwin = "mn 4"
What is the NOAA of the higher harmonics that have a Darwin of m sf?
CREATE TABLE table_name_27 (noaa VARCHAR, darwin VARCHAR)
SELECT noaa FROM table_name_27 WHERE darwin = "m sf"
Which higher harmonics have a speed of 0.0821373?
CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR)
SELECT higher_harmonics FROM table_name_36 WHERE speed = "0.0821373"
What is the Home team score for the Lake Oval Venue?
CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_7 WHERE venue = "lake oval"
What is the 2005-05 production for milk?
CREATE TABLE table_name_83 (commodity VARCHAR)
SELECT 2004 AS _05 FROM table_name_83 WHERE commodity = "milk"
Which home team score occurred at Victoria Park?
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE venue = "victoria park"
Which home team played at Glenferrie Oval?
CREATE TABLE table_name_67 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_67 WHERE venue = "glenferrie oval"
On which date was the venue at Windy Hill?
CREATE TABLE table_name_61 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_61 WHERE venue = "windy hill"
Who has a round of 3 with a method of decision?
CREATE TABLE table_name_68 (opponent VARCHAR, round VARCHAR, method VARCHAR)
SELECT opponent FROM table_name_68 WHERE round = "3" AND method = "decision"
What was the finishing time of Stage SS6?
CREATE TABLE table_name_63 (time VARCHAR, stage VARCHAR)
SELECT time FROM table_name_63 WHERE stage = "ss6"
What was the finishing time of the stage that featured a distance of 18.25km and a start time of 11:31?
CREATE TABLE table_name_16 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
SELECT time FROM table_name_16 WHERE distance = "18.25km" AND start_time = "11:31"
What was the average speed over 18.00km for winning driver Jean-Claude Andruet?
CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR)
SELECT avg_speed FROM table_name_23 WHERE distance = "18.00km" AND winning_driver = "jean-claude andruet"
What was the finishing time of the Stage that featured a distance of 24.00km and a start time of 21:27?
CREATE TABLE table_name_78 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
SELECT time FROM table_name_78 WHERE distance = "24.00km" AND start_time = "21:27"
Which name is 51.89 (2.043) long?
CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR)
SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)"
Which bullet has a Shoulder of 10.92 (.430)?
CREATE TABLE table_name_25 (bullet VARCHAR, shoulder VARCHAR)
SELECT bullet FROM table_name_25 WHERE shoulder = "10.92 (.430)"
Which shoulder has a Neck of 7.3 (.288)?
CREATE TABLE table_name_41 (shoulder VARCHAR, neck VARCHAR)
SELECT shoulder FROM table_name_41 WHERE neck = "7.3 (.288)"
Which bullet has a Length of 33.78 (1.33)?
CREATE TABLE table_name_28 (bullet VARCHAR, length VARCHAR)
SELECT bullet FROM table_name_28 WHERE length = "33.78 (1.33)"
Which length has a Bullet of 6.5 (.257)?
CREATE TABLE table_name_26 (length VARCHAR, bullet VARCHAR)
SELECT length FROM table_name_26 WHERE bullet = "6.5 (.257)"
What is the lowest overall pick for a player from Washington?
CREATE TABLE table_name_11 (overall INTEGER, college VARCHAR)
SELECT MIN(overall) FROM table_name_11 WHERE college = "washington"
What position does the player from Oklahoma who was drafted in round 7 play?
CREATE TABLE table_name_95 (position VARCHAR, round VARCHAR, college VARCHAR)
SELECT position FROM table_name_95 WHERE round = 7 AND college = "oklahoma"
What is the highest overall number for a player from Kentucky State?
CREATE TABLE table_name_36 (overall INTEGER, college VARCHAR)
SELECT MAX(overall) FROM table_name_36 WHERE college = "kentucky state"
In what round was a defensive tackle drafted with an overall pick smaller than 149?
CREATE TABLE table_name_25 (round VARCHAR, position VARCHAR, overall VARCHAR)
SELECT COUNT(round) FROM table_name_25 WHERE position = "defensive tackle" AND overall < 149
How many attended the game with north melbourne as the away side?
CREATE TABLE table_name_99 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_99 WHERE away_team = "north melbourne"
What venue featured north melbourne as the away side?
CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_27 WHERE away_team = "north melbourne"
How many attended the game with north melbourne as the away side?
CREATE TABLE table_name_58 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_58 WHERE away_team = "melbourne"
How many teams from the Atlantic 10 conference made it to the Elite Eight?
CREATE TABLE table_name_47 (elite_eight VARCHAR, conference VARCHAR)
SELECT elite_eight FROM table_name_47 WHERE conference = "atlantic 10"
How many Big 12 teams made it to the Final Four?
CREATE TABLE table_name_1 (final_four VARCHAR, conference VARCHAR)
SELECT final_four FROM table_name_1 WHERE conference = "big 12"
What chassis did Gordon Johncock use with his cosworth engine?
CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)
SELECT chassis FROM table_name_73 WHERE engine = "cosworth" AND drivers = "gordon johncock"
Who drove the Chevrolet with the Eagle chassis?
CREATE TABLE table_name_21 (drivers VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT drivers FROM table_name_21 WHERE engine = "chevrolet" AND chassis = "eagle"
What tires did BFM Enterprises run on their Offy engine and manta chassis?
CREATE TABLE table_name_15 (tires VARCHAR, team VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT tires FROM table_name_15 WHERE engine = "offy" AND chassis = "manta" AND team = "bfm enterprises"
What chassis does Gary Bettenhausen use?
CREATE TABLE table_name_13 (chassis VARCHAR, drivers VARCHAR)
SELECT chassis FROM table_name_13 WHERE drivers = "gary bettenhausen"
What chassis doe Ross Davis use?
CREATE TABLE table_name_51 (chassis VARCHAR, drivers VARCHAR)
SELECT chassis FROM table_name_51 WHERE drivers = "ross davis"
What engine does Chip Mead of Parts Washer Service use?
CREATE TABLE table_name_36 (engine VARCHAR, team VARCHAR, drivers VARCHAR)
SELECT engine FROM table_name_36 WHERE team = "parts washer service" AND drivers = "chip mead"
Which heat and lane was in rank of 22?
CREATE TABLE table_name_75 (heat__lane_ VARCHAR, rank VARCHAR)
SELECT heat__lane_ FROM table_name_75 WHERE rank = 22
Who has a rank below 125 and time of 00: 56.30?
CREATE TABLE table_name_32 (name VARCHAR, rank VARCHAR, time VARCHAR)
SELECT name FROM table_name_32 WHERE rank < 125 AND time = "00: 56.30"
Which Terminus is on line 10?
CREATE TABLE table_name_1 (terminus VARCHAR, line VARCHAR)
SELECT terminus FROM table_name_1 WHERE line = "line 10"
The color diamond is assigned to which Terminus?
CREATE TABLE table_name_46 (terminus VARCHAR, color VARCHAR)
SELECT terminus FROM table_name_46 WHERE color = "diamond"
Stations of 16 is assigned what length?
CREATE TABLE table_name_89 (length VARCHAR, stations VARCHAR)
SELECT length FROM table_name_89 WHERE stations = "16"
The color sapphire is assigned to which Terminus?
CREATE TABLE table_name_4 (terminus VARCHAR, color VARCHAR)
SELECT terminus FROM table_name_4 WHERE color = "sapphire"
Daily ridership greater that 414 is associated with which length?
CREATE TABLE table_name_60 (length VARCHAR, daily_ridership INTEGER)
SELECT length FROM table_name_60 WHERE daily_ridership > 414
Which competition did Târlea come in 4th place, in 2003 at Budapest, Hungary?
CREATE TABLE table_name_55 (competition VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR)
SELECT competition FROM table_name_55 WHERE position = "4th" AND year > 2003 AND venue = "budapest, hungary"
Prior to 2004, what was the name of the competition that took place in Johannesburg, South Africa and had the 400 m hurdles event?
CREATE TABLE table_name_75 (competition VARCHAR, venue VARCHAR, notes VARCHAR, year VARCHAR)
SELECT competition FROM table_name_75 WHERE notes = "400 m hurdles" AND year < 2004 AND venue = "johannesburg, south africa"
What events did the competition that took place in 1997 have?
CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)
SELECT notes FROM table_name_96 WHERE year = 1997
What was the earliest year that Târlea took 7th place?
CREATE TABLE table_name_6 (year INTEGER, position VARCHAR)
SELECT MIN(year) FROM table_name_6 WHERE position = "7th"
What place did Târlea come in at the European Indoor Championships?
CREATE TABLE table_name_56 (position VARCHAR, competition VARCHAR)
SELECT position FROM table_name_56 WHERE competition = "european indoor championships"
What venue did the European Championships' 400 m Hurdles take place?
CREATE TABLE table_name_7 (venue VARCHAR, notes VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_7 WHERE notes = "400 m hurdles" AND competition = "european championships"
what year has the highest marcel granollers champions?
CREATE TABLE table_name_34 (year INTEGER, champion VARCHAR)
SELECT MAX(year) FROM table_name_34 WHERE champion = "marcel granollers"
What is the child sex ration for the population with 37.7% work participation?
CREATE TABLE table_name_24 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)
SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = "37.7%"
What day does the team play at punt road oval?
CREATE TABLE table_name_26 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_26 WHERE venue = "punt road oval"
What venue features geelong as the away side?
CREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_64 WHERE away_team = "geelong"