answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT score FROM table_name_21 WHERE tie_no = "6"
CREATE TABLE table_name_21 (score VARCHAR, tie_no VARCHAR)
What is the score of the game with a tie no of 6?
SELECT score FROM table_name_67 WHERE date = "23 january 1982" AND home_team = "gillingham"
CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, home_team VARCHAR)
What is the score of the game home team gillingham played on 23 january 1982?
SELECT tie_no FROM table_name_15 WHERE home_team = "huddersfield town"
CREATE TABLE table_name_15 (tie_no VARCHAR, home_team VARCHAR)
What is the tie no of the game that home team huddersfield town played?
SELECT home FROM table_name_89 WHERE record = "2-0"
CREATE TABLE table_name_89 (home VARCHAR, record VARCHAR)
What is the home team of the game with a 2-0 record?
SELECT score FROM table_name_67 WHERE record = "3-0"
CREATE TABLE table_name_67 (score VARCHAR, record VARCHAR)
What is the score of the game with a 3-0 record?
SELECT visitor FROM table_name_98 WHERE date = "april 4"
CREATE TABLE table_name_98 (visitor VARCHAR, date VARCHAR)
What is the visitor team on April 4?
SELECT score FROM table_name_45 WHERE visitor = "chicago black hawks" AND record = "3-1"
CREATE TABLE table_name_45 (score VARCHAR, visitor VARCHAR, record VARCHAR)
What is the score of the game with the chicago black hawks as the visitor and a 3-1 record?
SELECT instant_messaging FROM table_name_64 WHERE telephony = "yes with integrated sametime"
CREATE TABLE table_name_64 (instant_messaging VARCHAR, telephony VARCHAR)
What is Instant Messaging, when Telephony is "Yes with integrated Sametime"?
SELECT videoconferencing FROM table_name_24 WHERE synchronous_conferencing = "no" AND web_conferencing = "no" AND faxing = "yes"
CREATE TABLE table_name_24 (videoconferencing VARCHAR, faxing VARCHAR, synchronous_conferencing VARCHAR, web_conferencing VARCHAR)
What is Videoconferencing, when Synchronous Conferencing is "No", when Web Conferencing is "No", and when Faxing is "Yes"?
SELECT videoconferencing FROM table_name_82 WHERE data_conferencing = "no" AND web_conferencing = "no"
CREATE TABLE table_name_82 (videoconferencing VARCHAR, data_conferencing VARCHAR, web_conferencing VARCHAR)
What is Videoconferencing, when Data Conferencing is "No", and when Web Conferencing is "No"?
SELECT application_sharing FROM table_name_40 WHERE web_conferencing = "web conferencing"
CREATE TABLE table_name_40 (application_sharing VARCHAR, web_conferencing VARCHAR)
What is Application Sharing, when Web Conferencing is "Web Conferencing"?
SELECT instant_messaging FROM table_name_48 WHERE electronic_meeting_system = "yes" AND name = "microsoft sharepoint"
CREATE TABLE table_name_48 (instant_messaging VARCHAR, electronic_meeting_system VARCHAR, name VARCHAR)
What is Instant Messaging, when Electronic Meeting System is "Yes", and when Name is "Microsoft Sharepoint"?
SELECT instant_messaging FROM table_name_26 WHERE telephony = "yes with integrated sametime"
CREATE TABLE table_name_26 (instant_messaging VARCHAR, telephony VARCHAR)
What is Instant Messaging, when Telephony is "Yes with integrated Sametime"?
SELECT tournament FROM table_name_78 WHERE outcome = "winner" AND opponents = "eddie dibbs harold solomon"
CREATE TABLE table_name_78 (tournament VARCHAR, outcome VARCHAR, opponents VARCHAR)
What Tournament has an Outcome of winner, and Opponents of eddie dibbs harold solomon?
SELECT partner FROM table_name_59 WHERE score = "3–6, 2–6"
CREATE TABLE table_name_59 (partner VARCHAR, score VARCHAR)
What Partner has a Score of 3–6, 2–6?
SELECT tournament FROM table_name_65 WHERE partner = "tom gorman"
CREATE TABLE table_name_65 (tournament VARCHAR, partner VARCHAR)
What Tournament has a Partner of tom gorman?
SELECT outcome FROM table_name_2 WHERE opponents = "bob hewitt frew mcmillan"
CREATE TABLE table_name_2 (outcome VARCHAR, opponents VARCHAR)
What Outcome has Opponents of bob hewitt frew mcmillan?
SELECT opposing_teams FROM table_name_36 WHERE date = "11/02/1961"
CREATE TABLE table_name_36 (opposing_teams VARCHAR, date VARCHAR)
Who was the name of the opposing team on 11/02/1961?
SELECT opposing_teams FROM table_name_14 WHERE against < 5
CREATE TABLE table_name_14 (opposing_teams VARCHAR, against INTEGER)
Which Opposing team had an Against smaller Than 5?
SELECT status FROM table_name_91 WHERE date = "07/01/1961"
CREATE TABLE table_name_91 (status VARCHAR, date VARCHAR)
What is the status for 07/01/1961?
SELECT position FROM table_name_22 WHERE player = "karl singer"
CREATE TABLE table_name_22 (position VARCHAR, player VARCHAR)
What position does Karl Singer play?
SELECT player FROM table_name_37 WHERE position = "offensive tackle" AND afl_team = "new york jets"
CREATE TABLE table_name_37 (player VARCHAR, position VARCHAR, afl_team VARCHAR)
Which player is an offensive tackle for the New York Jets?
SELECT position FROM table_name_42 WHERE player = "mike dennis"
CREATE TABLE table_name_42 (position VARCHAR, player VARCHAR)
What position does Mike Dennis play?
SELECT afl_team FROM table_name_14 WHERE position = "offensive tackle" AND pick = 4
CREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR)
Which AFL team has a pick 4 for the offensive tackle position?
SELECT country FROM table_name_88 WHERE name = "sodje"
CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR)
From which country was Sodje loaned?
SELECT loan_club FROM table_name_35 WHERE name = "c. dickinson"
CREATE TABLE table_name_35 (loan_club VARCHAR, name VARCHAR)
From which club is player C. Dickinson?
SELECT fate FROM table_name_26 WHERE ship = "bremen"
CREATE TABLE table_name_26 (fate VARCHAR, ship VARCHAR)
What is the fate for the Bremen ship?
SELECT original_operator FROM table_name_54 WHERE builder = "ag vulcan" AND ship = "prinzess irene"
CREATE TABLE table_name_54 (original_operator VARCHAR, builder VARCHAR, ship VARCHAR)
Who is the original operator for the AG Vulcan builder and the Prinzess Irene ship?
SELECT tonnage FROM table_name_9 WHERE builder = "ag vulcan" AND original_operator = "ndl" AND ship = "prinzess irene"
CREATE TABLE table_name_9 (tonnage VARCHAR, ship VARCHAR, builder VARCHAR, original_operator VARCHAR)
What is the Tonnage that has builder AG Vulcan, and the original operator NDL, and the ship, Prinzess Irene?
SELECT player FROM table_name_60 WHERE score = 68 - 71 - 70 = 208
CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR)
Who has a Score of 68-71-70=208?
SELECT country FROM table_name_55 WHERE to_par = "-9" AND score = 70 - 69 - 68 = 207
CREATE TABLE table_name_55 (country VARCHAR, to_par VARCHAR, score VARCHAR)
Which country has -9 to par with a Score of 70-69-68=207?
SELECT to_par FROM table_name_5 WHERE player = "tiger woods"
CREATE TABLE table_name_5 (to_par VARCHAR, player VARCHAR)
What is Tiger Woods' to par?
SELECT away_team FROM table_name_85 WHERE tie_no = "replay" AND home_team = "peterborough united"
CREATE TABLE table_name_85 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR)
Which away team played against Peterborough United, with a tie no of replay?
SELECT MIN(matches) FROM table_name_19 WHERE wickets > 16 AND best = "3/15" AND econ < 8
CREATE TABLE table_name_19 (matches INTEGER, econ VARCHAR, wickets VARCHAR, best VARCHAR)
What are the lowest matches that have wickets greater than 16, 3/15 as the best, and an econ less than 8?
SELECT COUNT(econ) FROM table_name_27 WHERE s_rate = 13.76 AND runs < 325
CREATE TABLE table_name_27 (econ VARCHAR, s_rate VARCHAR, runs VARCHAR)
How many econs have 13.76 as the S/Rate, with runs less than 325?
SELECT AVG(wickets) FROM table_name_24 WHERE overs > 44 AND player = "danish kaneria" AND average > 13.8
CREATE TABLE table_name_24 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR)
What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8?
SELECT COUNT(5) + _inns FROM table_name_40 WHERE player = "tyron henderson" AND wickets < 21
CREATE TABLE table_name_40 (_inns VARCHAR, player VARCHAR, wickets VARCHAR)
How many 5+/inns have tyron henderson as the player, with wickets less than 21?
SELECT surface FROM table_name_42 WHERE partner = "robert haybittel"
CREATE TABLE table_name_42 (surface VARCHAR, partner VARCHAR)
What is the surface when the partner was Robert Haybittel?
SELECT ratings__5_capital_cities_ FROM table_name_82 WHERE episode_no = "wonder drug"
CREATE TABLE table_name_82 (ratings__5_capital_cities_ VARCHAR, episode_no VARCHAR)
What was the rating of the episode Wonder Drug?
SELECT winning_team FROM table_name_77 WHERE date = "may 12"
CREATE TABLE table_name_77 (winning_team VARCHAR, date VARCHAR)
Who was the winning team on May 12?
SELECT winning_team FROM table_name_46 WHERE circuit = "circuit zolder"
CREATE TABLE table_name_46 (winning_team VARCHAR, circuit VARCHAR)
Who was the winning team for circuit zolder?
SELECT winning_team FROM table_name_1 WHERE round = "3"
CREATE TABLE table_name_1 (winning_team VARCHAR, round VARCHAR)
Who was the winning team for round 3?
SELECT winning_team FROM table_name_11 WHERE date = "july 13"
CREATE TABLE table_name_11 (winning_team VARCHAR, date VARCHAR)
Who was the winning team on July 13?
SELECT MAX(year) FROM table_name_95 WHERE venue = "narbonne , france"
CREATE TABLE table_name_95 (year INTEGER, venue VARCHAR)
Name the highest Year which has a Venue of narbonne , france?
SELECT competition FROM table_name_5 WHERE year > 1990 AND venue = "seville , spain"
CREATE TABLE table_name_5 (competition VARCHAR, year VARCHAR, venue VARCHAR)
Which Competition has a Year larger than 1990 in seville , spain?
SELECT COUNT(year) FROM table_name_71 WHERE venue = "latakia , syria"
CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR)
COunt the Year which has a Venue of latakia , syria?
SELECT position FROM table_name_93 WHERE event = "4x400 m relay" AND venue = "stuttgart , germany"
CREATE TABLE table_name_93 (position VARCHAR, event VARCHAR, venue VARCHAR)
Which Position has an Event of 4x400 m relay, and a Venue of stuttgart , germany?
SELECT SUM(year) FROM table_name_80 WHERE competition = "european indoor championships" AND venue = "budapest , hungary"
CREATE TABLE table_name_80 (year INTEGER, competition VARCHAR, venue VARCHAR)
Which Year has a Competition of european indoor championships, and a Venue of budapest , hungary?
SELECT rounds FROM table_name_84 WHERE engine = "opc-challenge" AND driver = "satrio hermanto"
CREATE TABLE table_name_84 (rounds VARCHAR, engine VARCHAR, driver VARCHAR)
How many rounds did satrio hermanto go with an opc-challenge engine?
SELECT rounds FROM table_name_27 WHERE driver = "frédéric vervisch"
CREATE TABLE table_name_27 (rounds VARCHAR, driver VARCHAR)
How many rounds did frédéric vervisch go?
SELECT rounds FROM table_name_46 WHERE driver = "shirley van der lof"
CREATE TABLE table_name_46 (rounds VARCHAR, driver VARCHAR)
How many rounds did shirley van der lof go?
SELECT engine FROM table_name_2 WHERE class = "c" AND team = "hs technik motorsport" AND driver = "philipp eng"
CREATE TABLE table_name_2 (engine VARCHAR, driver VARCHAR, class VARCHAR, team VARCHAR)
What c class engine did philipp eng and team hs technik motorsport use?
SELECT chassis FROM table_name_74 WHERE engine = "volkswagen" AND driver = "rahel frey"
CREATE TABLE table_name_74 (chassis VARCHAR, engine VARCHAR, driver VARCHAR)
What is the chassis of rahel frey's volkswagen engine?
SELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 7
CREATE TABLE table_name_80 (losses INTEGER, against VARCHAR, wins VARCHAR)
What is the greatest number of losses when the against is 1465 and there are more than 7 wins?
SELECT SUM(against) FROM table_name_36 WHERE wins < 12 AND golden_rivers = "moulamein" AND draws < 0
CREATE TABLE table_name_36 (against INTEGER, draws VARCHAR, wins VARCHAR, golden_rivers VARCHAR)
What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river?
SELECT COUNT(losses) FROM table_name_1 WHERE golden_rivers = "hay" AND byes > 2
CREATE TABLE table_name_1 (losses VARCHAR, golden_rivers VARCHAR, byes VARCHAR)
What is the total losses when Hay is the golden river and there are more than 2 byes?
SELECT COUNT(draws) FROM table_name_76 WHERE against = 1465 AND byes < 2
CREATE TABLE table_name_76 (draws VARCHAR, against VARCHAR, byes VARCHAR)
What is the total number of draws when there are 1465 against matches and less than 2 byes?
SELECT MAX(losses) FROM table_name_22 WHERE draws > 0 AND against = 1390
CREATE TABLE table_name_22 (losses INTEGER, draws VARCHAR, against VARCHAR)
What is the greatest number of losses when there are more than 0 draws and 1390 against matches?
SELECT MAX(wins) FROM table_name_76 WHERE byes > 2
CREATE TABLE table_name_76 (wins INTEGER, byes INTEGER)
What is the highest number of wins when there are more than 2 byes?
SELECT SUM(pct) FROM table_name_70 WHERE wins > 72 AND name = "john yovicsin"
CREATE TABLE table_name_70 (pct INTEGER, wins VARCHAR, name VARCHAR)
Which percent has Wins larger than 72, and a Name of john yovicsin?
SELECT SUM(ties) FROM table_name_75 WHERE years = "1919–1925" AND pct > 0.734
CREATE TABLE table_name_75 (ties INTEGER, years VARCHAR, pct VARCHAR)
How many Ties have Years of 1919–1925, and a Pct larger than 0.734?
SELECT SUM(pct) FROM table_name_89 WHERE years = "1957–1970" AND wins < 78
CREATE TABLE table_name_89 (pct INTEGER, years VARCHAR, wins VARCHAR)
Which Pct has Years of 1957–1970, and Wins smaller than 78?
SELECT AVG(wins) FROM table_name_18 WHERE years = "1881" AND pct > 0.75
CREATE TABLE table_name_18 (wins INTEGER, years VARCHAR, pct VARCHAR)
Which Wins have Years of 1881, and a Pct larger than 0.75?
SELECT genre FROM table_name_41 WHERE year_recorded = "1929"
CREATE TABLE table_name_41 (genre VARCHAR, year_recorded VARCHAR)
What's the genre of the song recorded in 1929?
SELECT year_inducted FROM table_name_59 WHERE "label" = "label"
CREATE TABLE table_name_59 (year_inducted VARCHAR)
What's the year inducted for the label of label?
SELECT genre FROM table_name_26 WHERE year_recorded = "1929"
CREATE TABLE table_name_26 (genre VARCHAR, year_recorded VARCHAR)
What genre is the song recorded in 1929?
SELECT genre FROM table_name_56 WHERE year_recorded = "1926"
CREATE TABLE table_name_56 (genre VARCHAR, year_recorded VARCHAR)
What genre is the song recorded in 1926?
SELECT party FROM table_name_23 WHERE residence = "san diego"
CREATE TABLE table_name_23 (party VARCHAR, residence VARCHAR)
Which Party has a Residence of san diego?
SELECT years_in_senate FROM table_name_23 WHERE years_in_assembly = "2010–present" AND name = "toni atkins"
CREATE TABLE table_name_23 (years_in_senate VARCHAR, years_in_assembly VARCHAR, name VARCHAR)
Which Years in Senate has a Years in Assembly of 2010–present, and toni atkins?
SELECT party FROM table_name_12 WHERE years_in_senate = "—" AND years_in_assembly = "2012–present"
CREATE TABLE table_name_12 (party VARCHAR, years_in_senate VARCHAR, years_in_assembly VARCHAR)
Which Party has Years in Senate of —, and Years in Assembly of 2012–present?
SELECT residence FROM table_name_60 WHERE name = "rich gordon"
CREATE TABLE table_name_60 (residence VARCHAR, name VARCHAR)
Show the Residence whose Name is rich gordon?
SELECT years_in_assembly FROM table_name_27 WHERE name = "toni atkins"
CREATE TABLE table_name_27 (years_in_assembly VARCHAR, name VARCHAR)
Which Years in Assembly has a Name of toni atkins?
SELECT party FROM table_name_77 WHERE years_in_assembly = "2008–present" AND name = "tom ammiano"
CREATE TABLE table_name_77 (party VARCHAR, years_in_assembly VARCHAR, name VARCHAR)
Which Party has Years in Assembly of 2008–present, and a Name of tom ammiano?
SELECT year_s__won FROM table_name_34 WHERE total < 291 AND to_par = "+10" AND player = "raymond floyd"
CREATE TABLE table_name_34 (year_s__won VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)
In what year(s) did Raymond Floyd have a total of less than 291 and a To par of +10?
SELECT to_par FROM table_name_61 WHERE total < 284 AND player = "jeff sluman"
CREATE TABLE table_name_61 (to_par VARCHAR, total VARCHAR, player VARCHAR)
What was Jeff Sluman's To par when his total was smaller than 284?
SELECT finish FROM table_name_83 WHERE country = "united states" AND player = "lanny wadkins"
CREATE TABLE table_name_83 (finish VARCHAR, country VARCHAR, player VARCHAR)
What was the finish for Lanny Wadkins of the United States?
SELECT player FROM table_name_55 WHERE to_par = "+11"
CREATE TABLE table_name_55 (player VARCHAR, to_par VARCHAR)
Which player had a To par of +11?
SELECT country FROM table_name_9 WHERE year_s__won = "1983"
CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR)
From which country was the player whose year(s) won was 1983?
SELECT total FROM table_name_70 WHERE finish = "t66"
CREATE TABLE table_name_70 (total VARCHAR, finish VARCHAR)
What is the total for the player whose finish was t66?
SELECT type FROM table_name_7 WHERE delivered = "1857-59"
CREATE TABLE table_name_7 (type VARCHAR, delivered VARCHAR)
What is the type of the locomotive which was delivered in 1857-59?
SELECT MIN(quantity) FROM table_name_50 WHERE type = "1b n2" AND retired = "1907-12"
CREATE TABLE table_name_50 (quantity INTEGER, type VARCHAR, retired VARCHAR)
What is the lowest quantity of the 1b n2 type, which was retired in 1907-12?
SELECT district FROM table_name_40 WHERE incumbent = "jim moran"
CREATE TABLE table_name_40 (district VARCHAR, incumbent VARCHAR)
What district is Jim Moran the incumbent for.
SELECT results FROM table_name_61 WHERE first_elected < 2004 AND incumbent = "eric cantor"
CREATE TABLE table_name_61 (results VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
What was the election result before 2004 where Eric Cantor was the incumbent?
SELECT common_english FROM table_name_50 WHERE italian = "san gallo"
CREATE TABLE table_name_50 (common_english VARCHAR, italian VARCHAR)
What is the common English for the Italian word san gallo?
SELECT italian FROM table_name_44 WHERE common_english = "glarus"
CREATE TABLE table_name_44 (italian VARCHAR, common_english VARCHAR)
What is the italian word for Glarus?
SELECT common_english FROM table_name_81 WHERE abbr = "ai"
CREATE TABLE table_name_81 (common_english VARCHAR, abbr VARCHAR)
What is the common english word with the abbr of ai?
SELECT abbr FROM table_name_65 WHERE italian = "argovia"
CREATE TABLE table_name_65 (abbr VARCHAR, italian VARCHAR)
What is the abbr of argovia?
SELECT french FROM table_name_72 WHERE common_english = "fribourg"
CREATE TABLE table_name_72 (french VARCHAR, common_english VARCHAR)
What is the french word for fribourg?
SELECT abbr FROM table_name_75 WHERE common_english = "zug"
CREATE TABLE table_name_75 (abbr VARCHAR, common_english VARCHAR)
What is the abbr for zug?
SELECT finish FROM table_name_61 WHERE date = "june 1, 2008"
CREATE TABLE table_name_61 (finish VARCHAR, date VARCHAR)
What is the Finish on June 1, 2008?
SELECT track FROM table_name_56 WHERE location = "louisville, kentucky"
CREATE TABLE table_name_56 (track VARCHAR, location VARCHAR)
What is the Track in Louisville, Kentucky?
SELECT location FROM table_name_73 WHERE date = "march 30, 2008"
CREATE TABLE table_name_73 (location VARCHAR, date VARCHAR)
What is the Location of the Event on March 30, 2008?
SELECT race FROM table_name_43 WHERE purse = "$300,000"
CREATE TABLE table_name_43 (race VARCHAR, purse VARCHAR)
What Race has a Purse of $300,000?
SELECT purse FROM table_name_33 WHERE date = "january 3, 2010"
CREATE TABLE table_name_33 (purse VARCHAR, date VARCHAR)
What is the Purse on January 3, 2010?
SELECT place FROM table_name_17 WHERE country = "united states" AND score = 71 - 70 - 72 - 68 = 281
CREATE TABLE table_name_17 (place VARCHAR, country VARCHAR, score VARCHAR)
What did United States place when the score was 71-70-72-68=281?
SELECT AVG(money___) AS $__ FROM table_name_94 WHERE country = "united states" AND player = "lanny wadkins"
CREATE TABLE table_name_94 (money___ INTEGER, country VARCHAR, player VARCHAR)
What was the average money for United States when Lanny Wadkins played?
SELECT to_par FROM table_name_92 WHERE score = 71 - 70 - 72 - 68 = 281
CREATE TABLE table_name_92 (to_par VARCHAR, score VARCHAR)
What was the to par when the score was 71-70-72-68=281?
SELECT away_team FROM table_name_58 WHERE attendance = 117
CREATE TABLE table_name_58 (away_team VARCHAR, attendance VARCHAR)
What is the away team of the game with an attendance of 117?
SELECT career_sr FROM table_name_66 WHERE 1996 = "a" AND tournament = "madrid (stuttgart)"
CREATE TABLE table_name_66 (career_sr VARCHAR, tournament VARCHAR)
Madrid (Stuttgart) tournament with a 1996 of A has this for a Career SR?
SELECT election FROM table_name_11 WHERE first_party = "conservative" AND first_member = "rowland smith" AND second_member = "sir henry wilmot, bt"
CREATE TABLE table_name_11 (election VARCHAR, second_member VARCHAR, first_party VARCHAR, first_member VARCHAR)
Which election has a conservative first party, Rowland Smith as first member, and Sir Henry Wilmot, Bt as second member?