question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the away team at glenferrie oval?
CREATE TABLE table_name_33 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_33 WHERE venue = "glenferrie oval"
What is the crowd total for glenferrie oval?
CREATE TABLE table_name_77 (crowd VARCHAR, venue VARCHAR)
SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie oval"
Tell me the total number of Grid for Rubens Barrichello
CREATE TABLE table_name_4 (grid VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_4 WHERE driver = "rubens barrichello"
I want the lowest Grid for David Coulthard
CREATE TABLE table_name_85 (grid INTEGER, driver VARCHAR)
SELECT MIN(grid) FROM table_name_85 WHERE driver = "david coulthard"
When carlton was the home team what was the lowest crowd turnout?
CREATE TABLE table_name_72 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_72 WHERE home_team = "carlton"
When the venue was punt road oval, what was the Home teams score?
CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_74 WHERE venue = "punt road oval"
When the away team was geelong, what was the away team score?
CREATE TABLE table_name_7 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_7 WHERE away_team = "geelong"
When the away team was north melbourne, what was the away team score?
CREATE TABLE table_name_63 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_63 WHERE away_team = "north melbourne"
What is the result of the hypo-meeting before 2010?
CREATE TABLE table_name_49 (result VARCHAR, year VARCHAR, tournament VARCHAR)
SELECT result FROM table_name_49 WHERE year < 2010 AND tournament = "hypo-meeting"
What venue is used before 2012 with a result of 12th?
CREATE TABLE table_name_18 (venue VARCHAR, result VARCHAR, year VARCHAR)
SELECT venue FROM table_name_18 WHERE result = "12th" AND year < 2012
What is the notes for the hypo-meeting tournament in 2012?
CREATE TABLE table_name_95 (notes VARCHAR, tournament VARCHAR, year VARCHAR)
SELECT notes FROM table_name_95 WHERE tournament = "hypo-meeting" AND year = 2012
What was the earliest year a game was played in Athens?
CREATE TABLE table_name_95 (year INTEGER, location VARCHAR)
SELECT MIN(year) FROM table_name_95 WHERE location = "athens"
On which date was there a win?
CREATE TABLE table_name_56 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_56 WHERE result = "win"
What film won best actress at the 2007 Inside Soap Awards?
CREATE TABLE table_name_39 (film_or_series VARCHAR, year VARCHAR, award VARCHAR, category VARCHAR)
SELECT film_or_series FROM table_name_39 WHERE award = "inside soap awards" AND category = "best actress" AND year = 2007
What character won the best dramatic performance award?
CREATE TABLE table_name_26 (character VARCHAR, category VARCHAR)
SELECT character FROM table_name_26 WHERE category = "best dramatic performance"
In what category was character Jacqui Mcqueen nominated before 2011?
CREATE TABLE table_name_67 (category VARCHAR, character VARCHAR, year VARCHAR)
SELECT category FROM table_name_67 WHERE character = "jacqui mcqueen" AND year < 2011
I want the away team score for away team of fitzroy
CREATE TABLE table_name_41 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_41 WHERE away_team = "fitzroy"
Name the height for the center position from kansas
CREATE TABLE table_name_93 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR)
SELECT height_in_ft FROM table_name_93 WHERE position = "center" AND school_club_team_country = "kansas"
Name the position for number 11 and years on the rockets for 1989-95
CREATE TABLE table_name_89 (position VARCHAR, no_s_ VARCHAR, years_for_rockets VARCHAR)
SELECT position FROM table_name_89 WHERE no_s_ = "11" AND years_for_rockets = "1989-95"
Name the position for numbers of 41
CREATE TABLE table_name_37 (position VARCHAR, no_s_ VARCHAR)
SELECT position FROM table_name_37 WHERE no_s_ = "41"
Which team calls VFL Park their home?
CREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_96 WHERE venue = "vfl park"
Tell me the pole position for graham hill the fastest lap and winning driver of him on 30 may
CREATE TABLE table_name_43 (pole_position VARCHAR, date VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT pole_position FROM table_name_43 WHERE fastest_lap = "graham hill" AND winning_driver = "graham hill" AND date = "30 may"
Tell me the fastest lapf or jim clark being the winning driver for prince george
CREATE TABLE table_name_35 (fastest_lap VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
SELECT fastest_lap FROM table_name_35 WHERE winning_driver = "jim clark" AND circuit = "prince george"
I want the circuit for jim clark
CREATE TABLE table_name_25 (circuit VARCHAR, fastest_lap VARCHAR)
SELECT circuit FROM table_name_25 WHERE fastest_lap = "jim clark"
I want the constructor for winning driver of jim clark, pole position of graham hill and dutch grand prix
CREATE TABLE table_name_34 (constructor VARCHAR, race VARCHAR, winning_driver VARCHAR, pole_position VARCHAR)
SELECT constructor FROM table_name_34 WHERE winning_driver = "jim clark" AND pole_position = "graham hill" AND race = "dutch grand prix"
Tell me the winning driver for jim clark as pole position and fastest lap
CREATE TABLE table_name_1 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT winning_driver FROM table_name_1 WHERE pole_position = "jim clark" AND fastest_lap = "jim clark"
At the match in windy hill, how much did the home team score?
CREATE TABLE table_name_33 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_33 WHERE venue = "windy hill"
During footscray's home game, how much did the away team score?
CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_74 WHERE home_team = "footscray"
What date was the match at mcg played?
CREATE TABLE table_name_98 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_98 WHERE venue = "mcg"
At the match which took place in arden street oval, how much did the away team score?
CREATE TABLE table_name_79 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_79 WHERE venue = "arden street oval"
How many floors does detroit marriott at the renaissance center have?
CREATE TABLE table_name_70 (floors INTEGER, name VARCHAR)
SELECT MAX(floors) FROM table_name_70 WHERE name = "detroit marriott at the renaissance center"
Which place has 23 floors and a street address in Detroit of 144 west congress street?
CREATE TABLE table_name_17 (name VARCHAR, floors VARCHAR, street_address_in_detroit VARCHAR)
SELECT name FROM table_name_17 WHERE floors = 23 AND street_address_in_detroit = "144 west congress street"
How many floors does the address 1828 jay street have?
CREATE TABLE table_name_44 (floors VARCHAR, street_address_in_detroit VARCHAR)
SELECT floors FROM table_name_44 WHERE street_address_in_detroit = "1828 jay street"
What is the sum of Floors at st. joseph church?
CREATE TABLE table_name_52 (floors INTEGER, name VARCHAR)
SELECT SUM(floors) FROM table_name_52 WHERE name = "st. joseph church"
Which home team has a crowd that is bigger than 22,449?
CREATE TABLE table_name_38 (home_team VARCHAR, crowd INTEGER)
SELECT home_team FROM table_name_38 WHERE crowd > 22 OFFSET 449
What is the average number of laps for max biaggi
CREATE TABLE table_name_80 (laps INTEGER, rider VARCHAR)
SELECT AVG(laps) FROM table_name_80 WHERE rider = "max biaggi"
What bike does dean ellison ride?
CREATE TABLE table_name_48 (bike VARCHAR, rider VARCHAR)
SELECT bike FROM table_name_48 WHERE rider = "dean ellison"
What is the constructor for Brazilian Grand Prix?
CREATE TABLE table_name_48 (constructor VARCHAR, grand_prix VARCHAR)
SELECT constructor FROM table_name_48 WHERE grand_prix = "brazilian grand prix"
What is the fastest lap for Belgian Grand Prix?
CREATE TABLE table_name_16 (fastest_lap VARCHAR, grand_prix VARCHAR)
SELECT fastest_lap FROM table_name_16 WHERE grand_prix = "belgian grand prix"
What is the lowest utility PV with hydro great than 289.25 and renweable total larger than 520.07?
CREATE TABLE table_name_87 (utility_pv INTEGER, hydro VARCHAR, renewable_total VARCHAR)
SELECT MIN(utility_pv) FROM table_name_87 WHERE hydro > 289.25 AND renewable_total > 520.07
What dates of captaincy for a win % of 35.71?
CREATE TABLE table_name_14 (dates_of_captaincy VARCHAR, _percentage_win_ VARCHAR, a_ VARCHAR)
SELECT dates_of_captaincy FROM table_name_14 WHERE _percentage_win_[a_] = 35.71
Who was the Locomotive superintendent has a NER class of d45?
CREATE TABLE table_name_45 (locomotive_superintendent VARCHAR, lner_class VARCHAR)
SELECT locomotive_superintendent FROM table_name_45 WHERE lner_class = "d45"
Which LNER class has been Passed to LNER larger than 3 and a introduced in 1895–98?
CREATE TABLE table_name_37 (lner_class VARCHAR, passed_to_lner VARCHAR, date_introduced VARCHAR)
SELECT lner_class FROM table_name_37 WHERE passed_to_lner > 3 AND date_introduced = "1895–98"
Name the winner for 29 march
CREATE TABLE table_name_98 (winning_driver VARCHAR, date VARCHAR)
SELECT winning_driver FROM table_name_98 WHERE date = "29 march"
Name the report for circuit of kyalami for south african republic trophy
CREATE TABLE table_name_8 (report VARCHAR, circuit VARCHAR, race_name VARCHAR)
SELECT report FROM table_name_8 WHERE circuit = "kyalami" AND race_name = "south african republic trophy"
What is the year of expected completion when the capacity is 22,500?
CREATE TABLE table_name_15 (expected_completion VARCHAR, capacity VARCHAR)
SELECT expected_completion FROM table_name_15 WHERE capacity = "22,500"
What city is in Saskatchewan?
CREATE TABLE table_name_70 (city VARCHAR, province VARCHAR)
SELECT city FROM table_name_70 WHERE province = "saskatchewan"
What province is Hamilton part of?
CREATE TABLE table_name_66 (province VARCHAR, city VARCHAR)
SELECT province FROM table_name_66 WHERE city = "hamilton"
Which city expects their project completion in 2017?
CREATE TABLE table_name_93 (city VARCHAR, expected_completion VARCHAR)
SELECT city FROM table_name_93 WHERE expected_completion = "2017"
What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164?
CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)
SELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164
What is the most fumbles for more than 44 yards and att of 32?
CREATE TABLE table_name_56 (fumbles INTEGER, yards VARCHAR, att VARCHAR)
SELECT MAX(fumbles) FROM table_name_56 WHERE yards > 44 AND att = 32
What entrant has osella fa1c chassis after 1981?
CREATE TABLE table_name_60 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = "osella fa1c"
How many appearances with fc igea virtus and 1 goal?
CREATE TABLE table_name_50 (appearances INTEGER, club VARCHAR, goals VARCHAR)
SELECT AVG(appearances) FROM table_name_50 WHERE club = "fc igea virtus" AND goals = 1
What is the title of the program that was originally aired on June 13, 1999?
CREATE TABLE table_name_8 (title VARCHAR, original_airdate VARCHAR)
SELECT title FROM table_name_8 WHERE original_airdate = "june 13, 1999"
Who wrote the program that originally aired on June 6, 1999?
CREATE TABLE table_name_90 (written_by VARCHAR, original_airdate VARCHAR)
SELECT written_by FROM table_name_90 WHERE original_airdate = "june 6, 1999"
What is the title of the episode written by David J. Burke?
CREATE TABLE table_name_6 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_name_6 WHERE written_by = "david j. burke"
What driver shows grid as 18?
CREATE TABLE table_name_95 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_95 WHERE grid = 18
What is the Time/Retired for less than 52 laps in grid 19?
CREATE TABLE table_name_52 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_52 WHERE laps < 52 AND grid = 19
What driver has more than 39 laps on gird 15?
CREATE TABLE table_name_67 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_67 WHERE laps > 39 AND grid = 15
What is the number of the grid for Johnny Herbert with more than 52 laps?
CREATE TABLE table_name_28 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT SUM(grid) FROM table_name_28 WHERE driver = "johnny herbert" AND laps > 52
What is the least amount of laps for Luca Badoer?
CREATE TABLE table_name_54 (laps INTEGER, driver VARCHAR)
SELECT MIN(laps) FROM table_name_54 WHERE driver = "luca badoer"
Which category does drama league award belong to?
CREATE TABLE table_name_91 (category VARCHAR, award VARCHAR)
SELECT category FROM table_name_91 WHERE award = "drama league award"
What is the latest year for the distinguished performance?
CREATE TABLE table_name_70 (year INTEGER, category VARCHAR)
SELECT MAX(year) FROM table_name_70 WHERE category = "distinguished performance"
What type of award is the theatre world award?
CREATE TABLE table_name_34 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_34 WHERE category = "theatre world award"
Which country is the Nova TV network from?
CREATE TABLE table_name_53 (country VARCHAR, tv_network_s_ VARCHAR)
SELECT country FROM table_name_53 WHERE tv_network_s_ = "nova tv"
Which series premiered on Acasa TV?
CREATE TABLE table_name_25 (series_premiere VARCHAR, tv_network_s_ VARCHAR)
SELECT series_premiere FROM table_name_25 WHERE tv_network_s_ = "acasa tv"
What is the alternate title/translation of the series that premiered on December 12, 2006?
CREATE TABLE table_name_40 (alternate_title_translation VARCHAR, series_premiere VARCHAR)
SELECT alternate_title_translation FROM table_name_40 WHERE series_premiere = "december 12, 2006"
What is the name of Bulgaria's TV network?
CREATE TABLE table_name_92 (tv_network_s_ VARCHAR, country VARCHAR)
SELECT tv_network_s_ FROM table_name_92 WHERE country = "bulgaria"
Which country had a series that premiered on September 4, 2006?
CREATE TABLE table_name_77 (country VARCHAR, series_premiere VARCHAR)
SELECT country FROM table_name_77 WHERE series_premiere = "september 4, 2006"
What TV network is the series aistrų žemė aired on?
CREATE TABLE table_name_21 (tv_network_s_ VARCHAR, alternate_title_translation VARCHAR)
SELECT tv_network_s_ FROM table_name_21 WHERE alternate_title_translation = "aistrų žemė"
What venue will hold the 2013 Concacaf Gold Cup competition?
CREATE TABLE table_name_59 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_59 WHERE competition = "2013 concacaf gold cup"
What is the result of the 2011 Concacaf Gold Cup competition?
CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR)
SELECT result FROM table_name_49 WHERE competition = "2011 concacaf gold cup"
What is the score of the event held on July 23, 2009?
CREATE TABLE table_name_78 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_78 WHERE date = "july 23, 2009"
What is the smallest Class Position that has drivers Les Palmer, Terry Morris, and a Position larger than 23?
CREATE TABLE table_name_59 (class INTEGER, drivers VARCHAR, position VARCHAR)
SELECT MIN(class) AS position FROM table_name_59 WHERE drivers = "les palmer, terry morris" AND position > 23
Which drivers have the position of 27?
CREATE TABLE table_name_33 (drivers VARCHAR, position VARCHAR)
SELECT drivers FROM table_name_33 WHERE position = 27
In the game against home team Fitzroy, what did the away team score?
CREATE TABLE table_name_57 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_57 WHERE home_team = "fitzroy"
At Junction Oval, what is the sum of the crowd?
CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_65 WHERE venue = "junction oval"
Which region in Saint-Simon-Les-Mines has a population smaller than 458?
CREATE TABLE table_name_9 (region INTEGER, name VARCHAR, population VARCHAR)
SELECT MAX(region) FROM table_name_9 WHERE name = "saint-simon-les-mines" AND population < 458
What is total population of Saint-Agapit (code 33045)?
CREATE TABLE table_name_99 (region INTEGER, name VARCHAR, code VARCHAR)
SELECT SUM(region) FROM table_name_99 WHERE name = "saint-agapit" AND code < 33045
What is the average area larger than Code 19025 but a smaller region than 12?
CREATE TABLE table_name_91 (area__km_2__ INTEGER, code VARCHAR, region VARCHAR)
SELECT AVG(area__km_2__) FROM table_name_91 WHERE code > 19025 AND region < 12
What is the highest region of Saint-Flavien with an area larger than 67.56?
CREATE TABLE table_name_43 (region INTEGER, name VARCHAR, area__km_2__ VARCHAR)
SELECT MAX(region) FROM table_name_43 WHERE name = "saint-flavien" AND area__km_2__ > 67.56
Which Drobo (2nd) has a Drobo FS of up to 32?
CREATE TABLE table_name_40 (drobo__2nd_ VARCHAR, drobo_fs VARCHAR)
SELECT drobo__2nd_ FROM table_name_40 WHERE drobo_fs = "up to 32"
Which Drobo (2nd) has a Drobo S (2nd) of 5?
CREATE TABLE table_name_1 (drobo__2nd_ VARCHAR)
SELECT drobo__2nd_ FROM table_name_1 WHERE DROBO_S(2 AS nd) = 5
Which Drobo (2nd) has a Drobo 5d of 2012-11-02?
CREATE TABLE table_name_17 (drobo__2nd_ VARCHAR, drobo_5d VARCHAR)
SELECT drobo__2nd_ FROM table_name_17 WHERE drobo_5d = "2012-11-02"
Marty Riessen played as a partner during a match with what kind of surface?
CREATE TABLE table_name_84 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_84 WHERE partner = "marty riessen"
When did Marty Riessen team up with a partner during a match on a carpet surface?
CREATE TABLE table_name_69 (date VARCHAR, surface VARCHAR, partner VARCHAR)
SELECT date FROM table_name_69 WHERE surface = "carpet" AND partner = "marty riessen"
what is the average population when the regional county municipality is le domaine-du-roy, the type is m and the region is less than 2?
CREATE TABLE table_name_19 (population INTEGER, region VARCHAR, regional_county_municipality VARCHAR, type VARCHAR)
SELECT AVG(population) FROM table_name_19 WHERE regional_county_municipality = "le domaine-du-roy" AND type = "m" AND region < 2
what is the regional county municipality when the type is m and the code is less than 91015?
CREATE TABLE table_name_90 (regional_county_municipality VARCHAR, type VARCHAR, code VARCHAR)
SELECT regional_county_municipality FROM table_name_90 WHERE type = "m" AND code < 91015
When the fastest lap was carlos pace and jackie stewart was the pole position, who was the winning driver?
CREATE TABLE table_name_12 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT winning_driver FROM table_name_12 WHERE pole_position = "jackie stewart" AND fastest_lap = "carlos pace"
What is north melbourne's home team score?
CREATE TABLE table_name_64 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_64 WHERE home_team = "north melbourne"
Which venue has an Away team of south melbourne?
CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_14 WHERE away_team = "south melbourne"
How many people in the crowd with Away team of geelong?
CREATE TABLE table_name_67 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_67 WHERE away_team = "geelong"
Which venue has a Away team of hawthorn?
CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_76 WHERE away_team = "hawthorn"
Who was the runner-up in the Michelob Light Open at Kingsmill?
CREATE TABLE table_name_93 (runner_s__up VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_name_93 WHERE tournament = "michelob light open at kingsmill"
Which tournament won with a score of 66-68-70-70=274?
CREATE TABLE table_name_85 (tournament VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_85 WHERE winning_score = 66 - 68 - 70 - 70 = 274
Which Venue has a crowd larger than 25,000?
CREATE TABLE table_name_83 (away_team VARCHAR, crowd INTEGER)
SELECT away_team FROM table_name_83 WHERE crowd > 25 OFFSET 000
Which competition has a Year of 2008, a Surface of carpet, and a Date of 31 jan?
CREATE TABLE table_name_65 (competition VARCHAR, date VARCHAR, year VARCHAR, surface VARCHAR)
SELECT competition FROM table_name_65 WHERE year = 2008 AND surface = "carpet" AND date = "31 jan"
Which surface has a Date of 24–25 apr?
CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_58 WHERE date = "24–25 apr"
How many years have a Surface of clay, and a Score of 4 : 0?
CREATE TABLE table_name_45 (year VARCHAR, surface VARCHAR, score VARCHAR)
SELECT COUNT(year) FROM table_name_45 WHERE surface = "clay" AND score = "4 : 0"
What is the largest year located in zagreb, croatia?
CREATE TABLE table_name_6 (year INTEGER, location VARCHAR)
SELECT MAX(year) FROM table_name_6 WHERE location = "zagreb, croatia"