answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT winner FROM table_name_37 WHERE country = "scotland"
CREATE TABLE table_name_37 (winner VARCHAR, country VARCHAR)
What is Scotland's winner?
SELECT time FROM table_name_15 WHERE week = 2
CREATE TABLE table_name_15 (time VARCHAR, week VARCHAR)
What time was the game in week 2?
SELECT result FROM table_name_88 WHERE date = "september 14, 2008"
CREATE TABLE table_name_88 (result VARCHAR, date VARCHAR)
What was the score of the game on September 14, 2008?
SELECT result FROM table_name_66 WHERE date = "november 23, 2008"
CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)
What was the final score of the game on November 23, 2008?
SELECT species FROM table_name_43 WHERE voges_proskauer = "negative" AND indole = "negative"
CREATE TABLE table_name_43 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)
Which species has a Voges-Proskauer reading of negative and an indole reading of negative?
SELECT voges_proskauer FROM table_name_70 WHERE species = "proteus mirabilis"
CREATE TABLE table_name_70 (voges_proskauer VARCHAR, species VARCHAR)
What is the Voges-Proskauer reading for proteus mirabilis?
SELECT methyl_red FROM table_name_98 WHERE indole = "positive"
CREATE TABLE table_name_98 (methyl_red VARCHAR, indole VARCHAR)
What is the methyl red reading for the species that tests positive for indole?
SELECT methyl_red FROM table_name_77 WHERE species = "proteus mirabilis"
CREATE TABLE table_name_77 (methyl_red VARCHAR, species VARCHAR)
What is the methyl red reading for proteus mirabilis?
SELECT MAX(silver) FROM table_name_15 WHERE nation = "russia" AND bronze > 5
CREATE TABLE table_name_15 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
What is the highest silver medals for Russia with more than 5 bronze medals?
SELECT package_option FROM table_name_51 WHERE television_service = "sky arte hd"
CREATE TABLE table_name_51 (package_option VARCHAR, television_service VARCHAR)
What package/option has sky arte hd as the television service?
SELECT language FROM table_name_23 WHERE hdtv = "no" AND package_option = "sky famiglia" AND television_service = "national geographic channel"
CREATE TABLE table_name_23 (language VARCHAR, television_service VARCHAR, hdtv VARCHAR, package_option VARCHAR)
What language has NO, as the HDTV, sky famiglia as the package/option, and national geographic channel as the television service?
SELECT language FROM table_name_82 WHERE package_option = "sky famiglia"
CREATE TABLE table_name_82 (language VARCHAR, package_option VARCHAR)
What language has sky famiglia as the package/option?
SELECT language FROM table_name_65 WHERE content = "viaggi"
CREATE TABLE table_name_65 (language VARCHAR, content VARCHAR)
What language has viaggi as the content?
SELECT television_service FROM table_name_20 WHERE language = "italian" AND package_option = "sky famiglia"
CREATE TABLE table_name_20 (television_service VARCHAR, language VARCHAR, package_option VARCHAR)
What television service has italian as the language, and sky famiglia as the package option?
SELECT package_option FROM table_name_56 WHERE content = "documentaries" AND hdtv = "yes" AND television_service = "history hd"
CREATE TABLE table_name_56 (package_option VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR)
What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd?
SELECT res FROM table_name_91 WHERE method = "submission (armbar)"
CREATE TABLE table_name_91 (res VARCHAR, method VARCHAR)
What was the resolution for the match that ended by Submission (armbar)?
SELECT time FROM table_name_39 WHERE round = "3" AND opponent = "keith wisniewski"
CREATE TABLE table_name_39 (time VARCHAR, round VARCHAR, opponent VARCHAR)
What was the total time for the match that ocurred in Round 3 with opponent Keith Wisniewski?
SELECT location FROM table_name_14 WHERE opponent = "laverne clark"
CREATE TABLE table_name_14 (location VARCHAR, opponent VARCHAR)
Where did the match with opponent Laverne Clark occur?
SELECT diameter__mi_ FROM table_name_65 WHERE longitude = "79.8° e"
CREATE TABLE table_name_65 (diameter__mi_ VARCHAR, longitude VARCHAR)
What is the Diameter (mi) when the Longitude is 79.8° e?
SELECT latitude FROM table_name_94 WHERE diameter__km_ = "13km" AND longitude = "72.9° e"
CREATE TABLE table_name_94 (latitude VARCHAR, diameter__km_ VARCHAR, longitude VARCHAR)
What is the Latitude when the Diameter (km) is 13km, and the Longitude is 72.9° e?
SELECT longitude FROM table_name_54 WHERE diameter__km_ = "31km"
CREATE TABLE table_name_54 (longitude VARCHAR, diameter__km_ VARCHAR)
What shows for the Longitude when there is a Diameter (km) of 31km?
SELECT diameter__km_ FROM table_name_66 WHERE diameter__mi_ = "8mi" AND gill = "e"
CREATE TABLE table_name_66 (diameter__km_ VARCHAR, diameter__mi_ VARCHAR, gill VARCHAR)
What shows for the Diameter (km) when the Diameter (mi) is 8mi, and a Gill is e?
SELECT diameter__km_ FROM table_name_5 WHERE diameter__mi_ = "5mi"
CREATE TABLE table_name_5 (diameter__km_ VARCHAR, diameter__mi_ VARCHAR)
What shows as the Diameter (km) when the Diameter (mi) is 5mi?
SELECT MIN(squad_no) FROM table_name_81 WHERE goals < 0
CREATE TABLE table_name_81 (squad_no INTEGER, goals INTEGER)
What was the lowest squad with 0 goals?
SELECT COUNT(overall) FROM table_name_30 WHERE player = "angelo craig"
CREATE TABLE table_name_30 (overall VARCHAR, player VARCHAR)
What is the number for overall for angelo craig?
SELECT round FROM table_name_85 WHERE overall = 246
CREATE TABLE table_name_85 (round VARCHAR, overall VARCHAR)
What is the Round when there is an overall of 246?
SELECT MIN(overall) FROM table_name_93 WHERE position = "wide receiver" AND round < 2
CREATE TABLE table_name_93 (overall INTEGER, position VARCHAR, round VARCHAR)
What is the lowest Overall for the wide receiver in a round less than 2?
SELECT player FROM table_name_73 WHERE college = "appalachian state"
CREATE TABLE table_name_73 (player VARCHAR, college VARCHAR)
What is the Player from appalachian state?
SELECT production_cost FROM table_name_34 WHERE date = "february 2000"
CREATE TABLE table_name_34 (production_cost VARCHAR, date VARCHAR)
What is the Production Cost with a Date that is february 2000?
SELECT singapore_gross FROM table_name_74 WHERE title = "2000"
CREATE TABLE table_name_74 (singapore_gross VARCHAR, title VARCHAR)
What is the Singapore Gross with a Title that is 2000?
SELECT singapore_gross FROM table_name_72 WHERE producer = "2000"
CREATE TABLE table_name_72 (singapore_gross VARCHAR, producer VARCHAR)
What is the Singapore Gross with a Producer that is 2000?
SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305
CREATE TABLE table_name_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR)
What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305?
SELECT name FROM table_name_39 WHERE block = 320 AND spike > 336 AND date_of_birth = "12.10.1978"
CREATE TABLE table_name_39 (name VARCHAR, date_of_birth VARCHAR, block VARCHAR, spike VARCHAR)
What is Name, when Block is 320, when Spike is more than 336, and when Date of Birth is 12.10.1978?
SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = "theodoros baev"
CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)
What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?
SELECT name FROM table_name_98 WHERE spike > 343 AND date_of_birth = "02.03.1973"
CREATE TABLE table_name_98 (name VARCHAR, spike VARCHAR, date_of_birth VARCHAR)
What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973?
SELECT date FROM table_name_95 WHERE tournament = "paco rabanne open de france"
CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR)
What was the date of the Paco Rabanne Open de France?
SELECT date FROM table_name_49 WHERE runner_s__up = "ian mosey"
CREATE TABLE table_name_49 (date VARCHAR, runner_s__up VARCHAR)
On which date did Ian Mosey finish runner-up?
SELECT set_2 FROM table_name_74 WHERE set_4 = "21-25"
CREATE TABLE table_name_74 (set_2 VARCHAR, set_4 VARCHAR)
What set 2 has a set 4 of 21-25?
SELECT score FROM table_name_78 WHERE set_3 = "26-28"
CREATE TABLE table_name_78 (score VARCHAR, set_3 VARCHAR)
What was the score when set 3 was 26-28?
SELECT date FROM table_name_2 WHERE set_3 = "18-25"
CREATE TABLE table_name_2 (date VARCHAR, set_3 VARCHAR)
When was set 3 of 18-25?
SELECT away_captain FROM table_name_43 WHERE result = "eng by 1 wkt"
CREATE TABLE table_name_43 (away_captain VARCHAR, result VARCHAR)
Who was the away captain with a result of Eng by 1 wkt?
SELECT date FROM table_name_79 WHERE result = "eng by 1 wkt"
CREATE TABLE table_name_79 (date VARCHAR, result VARCHAR)
On what date was the result Eng by 1 wkt?
SELECT date FROM table_name_33 WHERE away_captain = "arthur jones" AND venue = "sydney cricket ground"
CREATE TABLE table_name_33 (date VARCHAR, away_captain VARCHAR, venue VARCHAR)
On what date was Arthur Jones the away captain at Sydney Cricket Ground?
SELECT MAX(place) FROM table_name_83 WHERE draw = 6
CREATE TABLE table_name_83 (place INTEGER, draw VARCHAR)
What is the highest place for song that was draw number 6?
SELECT result FROM table_name_61 WHERE date = "november 6, 1988"
CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR)
What was the result of the game on November 6, 1988?
SELECT date FROM table_name_60 WHERE opponent = "los angeles rams"
CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR)
What was the date of the game against the Los Angeles Rams?
SELECT total FROM table_name_57 WHERE set_2 = "25-19" AND date = "jun 17"
CREATE TABLE table_name_57 (total VARCHAR, set_2 VARCHAR, date VARCHAR)
What is the total with a 25-19 set 2 on Jun 17?
SELECT set_4 FROM table_name_73 WHERE score = "2-3"
CREATE TABLE table_name_73 (set_4 VARCHAR, score VARCHAR)
What is the set 4 with a 2-3 score?
SELECT set_5 FROM table_name_44 WHERE set_1 = "19-25"
CREATE TABLE table_name_44 (set_5 VARCHAR, set_1 VARCHAR)
What is the set 5 with a 19-25 set 1?
SELECT set_1 FROM table_name_67 WHERE set_4 = "28-30"
CREATE TABLE table_name_67 (set_1 VARCHAR, set_4 VARCHAR)
What is the set 1 with a 28-30 set 4?
SELECT result FROM table_name_46 WHERE goal < 2
CREATE TABLE table_name_46 (result VARCHAR, goal INTEGER)
What is the result when there's less than 2 goals?
SELECT score FROM table_name_18 WHERE goal < 2
CREATE TABLE table_name_18 (score VARCHAR, goal INTEGER)
What is the score when there are less than 2 goals?
SELECT AVG(points) FROM table_name_20 WHERE position < 8 AND played = 16 AND lost > 9
CREATE TABLE table_name_20 (points INTEGER, lost VARCHAR, position VARCHAR, played VARCHAR)
How many points on average had a position smaller than 8, 16 plays, and a lost larger than 9?
SELECT MIN(attendance) FROM table_name_4 WHERE opponent = "maryland"
CREATE TABLE table_name_4 (attendance INTEGER, opponent VARCHAR)
What was the lowest Attendance when the Opponent was Maryland?
SELECT network FROM table_name_56 WHERE local_name = "moj tata je bolji od tvog tate"
CREATE TABLE table_name_56 (network VARCHAR, local_name VARCHAR)
Which Network has a Local name of moj tata je bolji od tvog tate?
SELECT country FROM table_name_97 WHERE network = "channel 1"
CREATE TABLE table_name_97 (country VARCHAR, network VARCHAR)
Which Country has a Network of channel 1?
SELECT country FROM table_name_61 WHERE network = "nelonen"
CREATE TABLE table_name_61 (country VARCHAR, network VARCHAR)
Which Country has a Network of nelonen?
SELECT local_name FROM table_name_60 WHERE network = "nova tv"
CREATE TABLE table_name_60 (local_name VARCHAR, network VARCHAR)
Which Local name has a Network of nova tv?
SELECT local_name FROM table_name_36 WHERE network = "tvn"
CREATE TABLE table_name_36 (local_name VARCHAR, network VARCHAR)
Which Local name has a Network of tvn?
SELECT country FROM table_name_18 WHERE host = "miguel esteban"
CREATE TABLE table_name_18 (country VARCHAR, host VARCHAR)
Which Country has a Host of miguel esteban?
SELECT MIN(chapter) FROM table_name_54 WHERE pinyin = "dehua" AND articles < 16
CREATE TABLE table_name_54 (chapter INTEGER, pinyin VARCHAR, articles VARCHAR)
Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than 16?
SELECT AVG(chapter) FROM table_name_48 WHERE articles < 15
CREATE TABLE table_name_48 (chapter INTEGER, articles INTEGER)
Can you tell me the average Chapter that has Articles smaller than 15?
SELECT chinese FROM table_name_7 WHERE chapter > 4 AND english_translation = "food transformations"
CREATE TABLE table_name_7 (chinese VARCHAR, chapter VARCHAR, english_translation VARCHAR)
Can you tell me the Chinese that has the Chapter larger than 4, and the English Translation of food transformations?
SELECT english_translation FROM table_name_44 WHERE articles = 24
CREATE TABLE table_name_44 (english_translation VARCHAR, articles VARCHAR)
Can you tell me the English Translation that has the Articles of 24?
SELECT icao FROM table_name_83 WHERE iata = "sin"
CREATE TABLE table_name_83 (icao VARCHAR, iata VARCHAR)
What shows for ICAO when the IATA is sin?
SELECT iata FROM table_name_72 WHERE country = "france" AND icao = "lfrn"
CREATE TABLE table_name_72 (iata VARCHAR, country VARCHAR, icao VARCHAR)
What is the IATA when France was the country, and the ICAO was lfrn?
SELECT airport FROM table_name_82 WHERE country = "france" AND city = "montpellier"
CREATE TABLE table_name_82 (airport VARCHAR, country VARCHAR, city VARCHAR)
What is the Airport when France was the country, and Montpellier was the city?
SELECT icao FROM table_name_66 WHERE airport = "luqa airport"
CREATE TABLE table_name_66 (icao VARCHAR, airport VARCHAR)
What is the ICAO for luqa airport?
SELECT airport FROM table_name_30 WHERE city = "new york"
CREATE TABLE table_name_30 (airport VARCHAR, city VARCHAR)
What is the Airport for New York City?
SELECT country FROM table_name_94 WHERE iata = "osl"
CREATE TABLE table_name_94 (country VARCHAR, iata VARCHAR)
What is the Country when the IATA was osl?
SELECT division FROM table_name_76 WHERE year > 1996 AND regular_season = "4th" AND playoffs = "final"
CREATE TABLE table_name_76 (division VARCHAR, playoffs VARCHAR, year VARCHAR, regular_season VARCHAR)
Which Division has a Year larger than 1996,a Regular Season of 4th, and a Playoffs of final?
SELECT league FROM table_name_99 WHERE open_cup = "1st round" AND year = 2009
CREATE TABLE table_name_99 (league VARCHAR, open_cup VARCHAR, year VARCHAR)
Which League that has a Open Cup of 1st round, and a Year of 2009?
SELECT playoffs FROM table_name_50 WHERE division = "2" AND regular_season = "4th, southeast"
CREATE TABLE table_name_50 (playoffs VARCHAR, division VARCHAR, regular_season VARCHAR)
Which Playoffs has a Division of 2 and a Regular Season of 4th, southeast?
SELECT MIN(points) FROM table_name_6 WHERE points_for > 438 AND points_against > 943
CREATE TABLE table_name_6 (points INTEGER, points_for VARCHAR, points_against VARCHAR)
What are the least amount of points that have points for greater than 438, and points against greater than 943?
SELECT MAX(loses) FROM table_name_93 WHERE points_against < 956 AND club = "high park demons" AND points < 16
CREATE TABLE table_name_93 (loses INTEGER, points VARCHAR, points_against VARCHAR, club VARCHAR)
What are the highest losses that have points agaisnt less than 956, high park demons as the club, and points less than 16?
SELECT club FROM table_name_83 WHERE loses > 1 AND wins = 4 AND points_against < 894
CREATE TABLE table_name_83 (club VARCHAR, points_against VARCHAR, loses VARCHAR, wins VARCHAR)
What club has losses greater than 1, 4 for the wins, with points against less than 894?
SELECT COUNT(loses) FROM table_name_45 WHERE points_against > 592 AND club = "high park demons" AND points_for > 631
CREATE TABLE table_name_45 (loses VARCHAR, points_for VARCHAR, points_against VARCHAR, club VARCHAR)
How many losses have points against greater than 592, with high park demons as the club, and points for greater than 631?
SELECT loses FROM table_name_84 WHERE points_for < 1175 AND wins > 2 AND points_against > 894 AND points = 24
CREATE TABLE table_name_84 (loses VARCHAR, points VARCHAR, points_against VARCHAR, points_for VARCHAR, wins VARCHAR)
What losses have points for less than 1175, wins greater than 2, points against greater than 894, and 24 as the points?
SELECT MIN(track) FROM table_name_37 WHERE writer_s_ = "dennis linde" AND time = "2:50"
CREATE TABLE table_name_37 (track INTEGER, writer_s_ VARCHAR, time VARCHAR)
What's the smallest track written by dennis linde that's 2:50 minutes long
SELECT time FROM table_name_54 WHERE song_title = "burning love"
CREATE TABLE table_name_54 (time VARCHAR, song_title VARCHAR)
How long is the song titled burning love?
SELECT release_date FROM table_name_34 WHERE song_title = "if you talk in your sleep"
CREATE TABLE table_name_34 (release_date VARCHAR, song_title VARCHAR)
When was the song titled if you talk in your sleep released?
SELECT city FROM table_name_46 WHERE state = "california" AND year > 2009
CREATE TABLE table_name_46 (city VARCHAR, state VARCHAR, year VARCHAR)
What is the city that is located in California when the year is greater than 2009?
SELECT host FROM table_name_12 WHERE year > 1989 AND state = "california" AND venue = "staples center"
CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR, year VARCHAR, state VARCHAR)
What is the host in a year greater than 1989 and when the venue is the Staples Center located in California?
SELECT venue FROM table_name_5 WHERE state = "california" AND year = 2011
CREATE TABLE table_name_5 (venue VARCHAR, state VARCHAR, year VARCHAR)
What is the venue in 2011, when the state is California?
SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = "fort smith arkansas"
CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR)
What is the wards/branches of the fort smith Arkansas stake?
SELECT stake FROM table_name_98 WHERE occupation = "realtor for american equity realty"
CREATE TABLE table_name_98 (stake VARCHAR, occupation VARCHAR)
What stake has realtor for American equity realty as their occupation?
SELECT organized FROM table_name_67 WHERE occupation = "senior buyer for wal-mart"
CREATE TABLE table_name_67 (organized VARCHAR, occupation VARCHAR)
What is the organized date of the stake with an occupation of senior buyer for Wal-mart?
SELECT SUM(wards__branches_in_arkansas) FROM table_name_93 WHERE stake = "north little rock arkansas"
CREATE TABLE table_name_93 (wards__branches_in_arkansas INTEGER, stake VARCHAR)
What is the sum of the wards/branches in Arkansas of the North Little Rock Arkansas stake?
SELECT stake FROM table_name_97 WHERE wards__branches_in_arkansas = 16
CREATE TABLE table_name_97 (stake VARCHAR, wards__branches_in_arkansas VARCHAR)
What stake has 16 wards/branches in Arkansas?
SELECT stable FROM table_name_59 WHERE current_rank = "f1 jūryō 14 west"
CREATE TABLE table_name_59 (stable VARCHAR, current_rank VARCHAR)
What is Stable, when Current Rank is F1 Jūryō 14 West?
SELECT ring_name FROM table_name_48 WHERE current_rank = "e0 maegashira 9 west"
CREATE TABLE table_name_48 (ring_name VARCHAR, current_rank VARCHAR)
What is Ring Name, when Current Rank is E0 Maegashira 9 West?
SELECT birthplace FROM table_name_70 WHERE ring_name = "masunoyama tomoharu"
CREATE TABLE table_name_70 (birthplace VARCHAR, ring_name VARCHAR)
What is Birthplace, when Ring Name is Masunoyama Tomoharu?
SELECT current_rank FROM table_name_4 WHERE ring_name = "tamaasuka daisuke"
CREATE TABLE table_name_4 (current_rank VARCHAR, ring_name VARCHAR)
What is Current Rank, when Ring Name is Tamaasuka Daisuke?
SELECT ring_name FROM table_name_49 WHERE stable = "kasugano" AND birthplace = "z mtskheta , georgia"
CREATE TABLE table_name_49 (ring_name VARCHAR, stable VARCHAR, birthplace VARCHAR)
What is Ring Name, when Stable is Kasugano, and when Birthplace is Z Mtskheta , Georgia?
SELECT current_rank FROM table_name_63 WHERE ring_name = "kimurayama mamoru"
CREATE TABLE table_name_63 (current_rank VARCHAR, ring_name VARCHAR)
What is Current Rank, when Ring Name is Kimurayama Mamoru?
SELECT interview_subject FROM table_name_89 WHERE pictorials = "christie brinkley"
CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR)
Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley?
SELECT pictorials FROM table_name_84 WHERE interview_subject = "jesse jackson"
CREATE TABLE table_name_84 (pictorials VARCHAR, interview_subject VARCHAR)
In the issue in which the Interview subject was Jesse Jackson, who were there Pictorials of?
SELECT centerfold_model FROM table_name_68 WHERE interview_subject = "paul simon"
CREATE TABLE table_name_68 (centerfold_model VARCHAR, interview_subject VARCHAR)
Who was the Centerfold model in the issue in which the Interview subject was Paul Simon?
SELECT centerfold_model FROM table_name_96 WHERE interview_subject = "josé napoleón duarte"
CREATE TABLE table_name_96 (centerfold_model VARCHAR, interview_subject VARCHAR)
Who was the Centerfold model in the issue in which the Interview subject was José Napoleón Duarte?
SELECT cover_model FROM table_name_67 WHERE interview_subject = "joan collins"
CREATE TABLE table_name_67 (cover_model VARCHAR, interview_subject VARCHAR)
Who was the Cover model in the issue in which the Interview subject was Joan Collins?