answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT season FROM table_name_2 WHERE home = "2-3" | CREATE TABLE table_name_2 (season VARCHAR, home VARCHAR) | Which season had a home 2-3? |
SELECT teams FROM table_name_80 WHERE season = "1954-55" | CREATE TABLE table_name_80 (teams VARCHAR, season VARCHAR) | Which team had a season 1954-55? |
SELECT season FROM table_name_33 WHERE away = "2-0" | CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR) | What season has an away 2-0? |
SELECT teams FROM table_name_75 WHERE home = "2-3" | CREATE TABLE table_name_75 (teams VARCHAR, home VARCHAR) | What team has a home of 2-3? |
SELECT MIN(total) FROM table_name_35 WHERE nation = "lithuania" AND silver > 0 | CREATE TABLE table_name_35 (total INTEGER, nation VARCHAR, silver VARCHAR) | What is the total that wehn Lithuania is the nation, and Silver is more than 0? |
SELECT AVG(rank) FROM table_name_73 WHERE bronze > 0 AND gold > 1 AND nation = "japan" AND silver < 0 | CREATE TABLE table_name_73 (rank INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR) | What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0? |
SELECT MIN(rank) FROM table_name_24 WHERE total < 1 | CREATE TABLE table_name_24 (rank INTEGER, total INTEGER) | What is the rank when the total is less than 1? |
SELECT MAX(total) FROM table_name_89 WHERE silver > 0 AND bronze < 0 | CREATE TABLE table_name_89 (total INTEGER, silver VARCHAR, bronze VARCHAR) | What is the total when silver is more than 0, and bronze less than 0? |
SELECT SUM(rank) FROM table_name_10 WHERE nation = "serbia" AND gold > 0 | CREATE TABLE table_name_10 (rank INTEGER, nation VARCHAR, gold VARCHAR) | What is the rank that when Serbia is the nation, and gold is larger than 0? |
SELECT year_s__won FROM table_name_50 WHERE to_par < 12 AND player = "john daly" | CREATE TABLE table_name_50 (year_s__won VARCHAR, to_par VARCHAR, player VARCHAR) | Which Year(s) won has a To par smaller than 12, and a Player of john daly? |
SELECT player FROM table_name_21 WHERE to_par = 12 AND country = "fiji" | CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, country VARCHAR) | Which Player has a To par of 12, and a Country of fiji? |
SELECT MIN(total) FROM table_name_17 WHERE to_par > 12 | CREATE TABLE table_name_17 (total INTEGER, to_par INTEGER) | Which Total has a To par larger than 12? |
SELECT SUM(to_par) FROM table_name_32 WHERE total > 149 AND country = "united states" AND year_s__won = "1997" | CREATE TABLE table_name_32 (to_par INTEGER, year_s__won VARCHAR, total VARCHAR, country VARCHAR) | How much To par has a Total larger than 149, and a Country of united states, and a Year(s) won of 1997? |
SELECT network FROM table_name_34 WHERE rank > 5 AND show = "2012 summer olympics closing ceremony in london" | CREATE TABLE table_name_34 (network VARCHAR, rank VARCHAR, show VARCHAR) | Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london? |
SELECT SUM(rank) FROM table_name_20 WHERE network = "bbc one" AND number_of_viewers = "30.15million" | CREATE TABLE table_name_20 (rank INTEGER, network VARCHAR, number_of_viewers VARCHAR) | Which Rank has a Network of bbc one, and a Number of Viewers of 30.15million? Question 2 |
SELECT date FROM table_name_13 WHERE rank > 2 AND network = "itv" | CREATE TABLE table_name_13 (date VARCHAR, rank VARCHAR, network VARCHAR) | When has a Rank larger than 2 and a Network of itv? |
SELECT term_of_office FROM table_name_1 WHERE state = "nsw" AND member = "leonard reynolds" | CREATE TABLE table_name_1 (term_of_office VARCHAR, state VARCHAR, member VARCHAR) | What is the Term of office for Leonard Reynolds of NSW? |
SELECT state FROM table_name_3 WHERE electorate = "cunningham" | CREATE TABLE table_name_3 (state VARCHAR, electorate VARCHAR) | What state shows for Cunningham? |
SELECT electorate FROM table_name_16 WHERE term_of_office = "1955β1972" AND member = "peter howson" | CREATE TABLE table_name_16 (electorate VARCHAR, term_of_office VARCHAR, member VARCHAR) | What is the Electorate when the term of office was 1955β1972, for Peter Howson? |
SELECT party FROM table_name_29 WHERE term_of_office = "1951β1966" AND state = "sa" | CREATE TABLE table_name_29 (party VARCHAR, term_of_office VARCHAR, state VARCHAR) | What party has a term of office of 1951β1966, and a State of sa? |
SELECT COUNT(attendance) FROM table_name_48 WHERE arena = "jobing.com arena" | CREATE TABLE table_name_48 (attendance VARCHAR, arena VARCHAR) | What was the Attendance at Jobing.com Arena? |
SELECT date FROM table_name_75 WHERE loss = "leneveu (1β0β1)" | CREATE TABLE table_name_75 (date VARCHAR, loss VARCHAR) | What is the Date of the game with a Loss of Leneveu (1β0β1)? |
SELECT date FROM table_name_68 WHERE record = "2β1β1" | CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR) | What is the Date with a game with a Record of 2β1β1? |
SELECT score FROM table_name_30 WHERE arena = "jobing.com arena" | CREATE TABLE table_name_30 (score VARCHAR, arena VARCHAR) | What is the Score at Jobing.com Arena? |
SELECT opponent FROM table_name_40 WHERE date = "september 26" | CREATE TABLE table_name_40 (opponent VARCHAR, date VARCHAR) | What is the Opponent of the game on September 26? |
SELECT label FROM table_name_68 WHERE region = "united states" AND format = "cassette" | CREATE TABLE table_name_68 (label VARCHAR, region VARCHAR, format VARCHAR) | What Label has a Region of united states, and a Format of cassette? |
SELECT date FROM table_name_25 WHERE label = "grilled cheese" | CREATE TABLE table_name_25 (date VARCHAR, label VARCHAR) | What Date has a Label of grilled cheese? |
SELECT catalog FROM table_name_5 WHERE label = "geffen records / universal music special markets" | CREATE TABLE table_name_5 (catalog VARCHAR, label VARCHAR) | What Catalog has a Label of geffen records / universal music special markets? |
SELECT label FROM table_name_88 WHERE format = "cd" AND catalog = "crgd 86136" | CREATE TABLE table_name_88 (label VARCHAR, format VARCHAR, catalog VARCHAR) | What Label has a Format of cd, and a Catalog of crgd 86136? |
SELECT region FROM table_name_47 WHERE catalog = "crgd 86136" | CREATE TABLE table_name_47 (region VARCHAR, catalog VARCHAR) | What Region has a Catalog of crgd 86136? |
SELECT label FROM table_name_13 WHERE catalog = "486 136-2" | CREATE TABLE table_name_13 (label VARCHAR, catalog VARCHAR) | What Label has a Catalog of 486 136-2? |
SELECT opponent FROM table_name_98 WHERE result = "0-3" | CREATE TABLE table_name_98 (opponent VARCHAR, result VARCHAR) | Which Opponent has a Result of 0-3? |
SELECT SUM(attendance) FROM table_name_35 WHERE result = "1-0" AND venue = "h" AND round = "sf" | CREATE TABLE table_name_35 (attendance INTEGER, round VARCHAR, result VARCHAR, venue VARCHAR) | What is the total attendance with a 1-0 result, at Venue H, and Round SF? |
SELECT MIN(attendance) FROM table_name_27 WHERE venue = "h" AND round = "r2" | CREATE TABLE table_name_27 (attendance INTEGER, venue VARCHAR, round VARCHAR) | What is the lowest attendance at Venue H in Round R2? |
SELECT MAX(attendance) FROM table_name_64 WHERE opponent = "club brugge" AND venue = "a" | CREATE TABLE table_name_64 (attendance INTEGER, opponent VARCHAR, venue VARCHAR) | What is the highest attendance for the opponents Club Brugge in Venue A? |
SELECT round FROM table_name_67 WHERE opponent = "cska sofia" AND venue = "a" | CREATE TABLE table_name_67 (round VARCHAR, opponent VARCHAR, venue VARCHAR) | What is the round for the opponent CSKA Sofia in Venue A? |
SELECT player FROM table_name_17 WHERE place = "t10" | CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR) | What player placed t10? |
SELECT MAX(score) FROM table_name_93 WHERE player = "bernhard langer" | CREATE TABLE table_name_93 (score INTEGER, player VARCHAR) | What was Bernhard Langer's highest score? |
SELECT MIN(score) FROM table_name_35 WHERE country = "united states" AND player = "craig stadler" | CREATE TABLE table_name_35 (score INTEGER, country VARCHAR, player VARCHAR) | What was Craig Stadler's lowest score for United states? |
SELECT money___Β£__ FROM table_name_96 WHERE country = "ireland" | CREATE TABLE table_name_96 (money___Β£__ VARCHAR, country VARCHAR) | What Money (Β£) has a Country of ireland? |
SELECT player FROM table_name_2 WHERE place = "t10" | CREATE TABLE table_name_2 (player VARCHAR, place VARCHAR) | What Player has a Place of t10? |
SELECT to_par FROM table_name_85 WHERE score = 71 - 73 - 71 - 71 = 286 | CREATE TABLE table_name_85 (to_par VARCHAR, score VARCHAR) | What To par has a Score of 71-73-71-71=286? |
SELECT place FROM table_name_92 WHERE to_par = "β4" | CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR) | What Place has a To par of β4? |
SELECT score FROM table_name_86 WHERE place = "t8" AND country = "scotland" | CREATE TABLE table_name_86 (score VARCHAR, place VARCHAR, country VARCHAR) | What Score has a Place of t8, and a Country of scotland? |
SELECT to_par FROM table_name_52 WHERE country = "united states" AND score = 67 - 66 - 78 - 77 = 288 | CREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR) | What To par has a Country of united states, and a Score of 67-66-78-77=288? |
SELECT AVG(money___) AS $__ FROM table_name_14 WHERE country = "united states" AND to_par = "+3" | CREATE TABLE table_name_14 (money___ INTEGER, country VARCHAR, to_par VARCHAR) | What is the average Money ( $ ), when Country is "United States", and when To par is "+3"? |
SELECT money___$__ FROM table_name_4 WHERE player = "morgan pressel" | CREATE TABLE table_name_4 (money___$__ VARCHAR, player VARCHAR) | What is Money ( $ ), when Player is "Morgan Pressel"? |
SELECT place FROM table_name_94 WHERE player = "mi hyun kim" | CREATE TABLE table_name_94 (place VARCHAR, player VARCHAR) | What is Place, when Player is "Mi Hyun Kim"? |
SELECT AVG(tonnage) FROM table_name_78 WHERE date = "30 march 1943" | CREATE TABLE table_name_78 (tonnage INTEGER, date VARCHAR) | What was the tonnage on 30 march 1943? |
SELECT fate FROM table_name_44 WHERE date = "27 june 1942" | CREATE TABLE table_name_44 (fate VARCHAR, date VARCHAR) | What was the fate on 27 june 1942? |
SELECT tonnage FROM table_name_91 WHERE date = "12 september 1942" | CREATE TABLE table_name_91 (tonnage VARCHAR, date VARCHAR) | What was the tonnage on 12 september 1942? |
SELECT fate FROM table_name_56 WHERE nationality = "yugoslavia" | CREATE TABLE table_name_56 (fate VARCHAR, nationality VARCHAR) | What was Yugoslavia's fate? |
SELECT status FROM table_name_95 WHERE name = "ins ranvir" | CREATE TABLE table_name_95 (status VARCHAR, name VARCHAR) | What is the status of the ship INS Ranvir? |
SELECT builder FROM table_name_69 WHERE name = "ins rana" | CREATE TABLE table_name_69 (builder VARCHAR, name VARCHAR) | Who was the builder of the ship INS Rana? |
SELECT COUNT(year) FROM table_name_70 WHERE points = "248 (sf: 217)" | CREATE TABLE table_name_70 (year VARCHAR, points VARCHAR) | What year shows 248 (sf: 217) points? |
SELECT place FROM table_name_98 WHERE year > 2007 AND points = "141 (sf:83)" | CREATE TABLE table_name_98 (place VARCHAR, year VARCHAR, points VARCHAR) | What is the place later than 2007, with 141 (sf:83) points? |
SELECT artist FROM table_name_31 WHERE year = 2007 AND composer = "hayko" | CREATE TABLE table_name_31 (artist VARCHAR, year VARCHAR, composer VARCHAR) | What artist shows 2007 and composer of Hayko? |
SELECT place FROM table_name_31 WHERE player = "corey pavin" | CREATE TABLE table_name_31 (place VARCHAR, player VARCHAR) | What place is Corey Pavin in? |
SELECT SUM(points) FROM table_name_73 WHERE average < 1 AND played > 38 AND team = "gimnasia de la plata" | CREATE TABLE table_name_73 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR) | How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata? |
SELECT atomic_property FROM table_name_57 WHERE helium = "4.16" | CREATE TABLE table_name_57 (atomic_property VARCHAR, helium VARCHAR) | Which Atomic property has Helium of 4.16? |
SELECT krypton FROM table_name_4 WHERE neon = "10" | CREATE TABLE table_name_4 (krypton VARCHAR, neon VARCHAR) | Which Krypton has Neon of 10? |
SELECT radon FROM table_name_62 WHERE neon = "4.79" | CREATE TABLE table_name_62 (radon VARCHAR, neon VARCHAR) | Which Radon has Neon of 4.79? |
SELECT neon FROM table_name_91 WHERE atomic_property = "average valence electron energy (avee)" | CREATE TABLE table_name_91 (neon VARCHAR, atomic_property VARCHAR) | Which Neon has Atomic property of average valence electron energy (avee)? |
SELECT radon FROM table_name_65 WHERE atomic_property = "outer shell electron configuration" | CREATE TABLE table_name_65 (radon VARCHAR, atomic_property VARCHAR) | Which Radon has Atomic property of outer shell electron configuration? |
SELECT xenon FROM table_name_25 WHERE neon = "20.1797(6)" | CREATE TABLE table_name_25 (xenon VARCHAR, neon VARCHAR) | Which Xenon has Neon of 20.1797(6)? |
SELECT MAX(attendance) FROM table_name_46 WHERE away_team = "eastwood town" | CREATE TABLE table_name_46 (attendance INTEGER, away_team VARCHAR) | What is the highest attendance of the game with eastwood town as the away team? |
SELECT place FROM table_name_4 WHERE player = "scott mccarron" | CREATE TABLE table_name_4 (place VARCHAR, player VARCHAR) | What place is Scott McCarron in? |
SELECT weight FROM table_name_59 WHERE name = "alexandr elke" | CREATE TABLE table_name_59 (weight VARCHAR, name VARCHAR) | What is Alexandr Elke's Weight? |
SELECT name FROM table_name_76 WHERE club = "dinamo moscow" AND pos = "d" | CREATE TABLE table_name_76 (name VARCHAR, club VARCHAR, pos VARCHAR) | What is the Name of the D Player from the Dinamo Moscow Club? |
SELECT date_of_birth FROM table_name_50 WHERE club = "csk vmf moscow" | CREATE TABLE table_name_50 (date_of_birth VARCHAR, club VARCHAR) | What is the Date of Birth of the Player from the CSK VMF Moscow Club? |
SELECT weight FROM table_name_31 WHERE club = "dshnk almaty" AND height = "m (ft 6in)" | CREATE TABLE table_name_31 (weight VARCHAR, club VARCHAR, height VARCHAR) | What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)? |
SELECT SUM(position) FROM table_name_28 WHERE goals_against < 43 AND wins > 14 AND played > 38 | CREATE TABLE table_name_28 (position INTEGER, played VARCHAR, goals_against VARCHAR, wins VARCHAR) | Which Position has Goals against smaller than 43, and Wins larger than 14, and Played larger than 38? |
SELECT MIN(goals_for) FROM table_name_17 WHERE position < 16 AND wins < 19 AND goals_against < 32 | CREATE TABLE table_name_17 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, wins VARCHAR) | Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32? |
SELECT MAX(points) FROM table_name_30 WHERE goals_against = 32 AND played > 38 | CREATE TABLE table_name_30 (points INTEGER, goals_against VARCHAR, played VARCHAR) | Which Points have Goals against of 32, and Played larger than 38? |
SELECT AVG(position) FROM table_name_90 WHERE goals_against < 59 AND goals_for > 32 AND draws > 9 AND points > 35 | CREATE TABLE table_name_90 (position INTEGER, points VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR) | Which Position has Goals against smaller than 59, and Goals for larger than 32, and Draws larger than 9, and Points larger than 35? |
SELECT district FROM table_name_21 WHERE party = "republican" AND results = "re-elected" | CREATE TABLE table_name_21 (district VARCHAR, party VARCHAR, results VARCHAR) | What district re-elected a Republican? |
SELECT incumbent FROM table_name_84 WHERE first_elected = 1987 | CREATE TABLE table_name_84 (incumbent VARCHAR, first_elected VARCHAR) | Which incumbent was first elected in 1987? |
SELECT country FROM table_name_63 WHERE money___$__ < 216 | CREATE TABLE table_name_63 (country VARCHAR, money___$__ INTEGER) | From which country is the player who made less than $216? |
SELECT place FROM table_name_71 WHERE country = "united states" AND money___$__ > 216 AND score = 74 - 70 - 71 - 69 = 284 | CREATE TABLE table_name_71 (place VARCHAR, country VARCHAR, money___$__ VARCHAR, score VARCHAR) | Where did the player place who is from the United States, who made more than $216, and whose score was 74-70-71-69=284? |
SELECT player FROM table_name_17 WHERE place = "t5" AND score = 72 - 71 - 73 - 78 = 294 | CREATE TABLE table_name_17 (player VARCHAR, place VARCHAR, score VARCHAR) | Which player placed in t5 and had a score of 72-71-73-78=294? |
SELECT SUM(year_of_recording) FROM table_name_14 WHERE conductor = "libor pesek" | CREATE TABLE table_name_14 (year_of_recording INTEGER, conductor VARCHAR) | What is the year that a record was recorded with Libor Pesek as conductor? |
SELECT record_company FROM table_name_51 WHERE pianist = "solomon cutner" | CREATE TABLE table_name_51 (record_company VARCHAR, pianist VARCHAR) | What record company did pianist Solomon Cutner record for? |
SELECT record_company FROM table_name_72 WHERE year_of_recording > 1996 AND conductor = "mikhail snitko" | CREATE TABLE table_name_72 (record_company VARCHAR, year_of_recording VARCHAR, conductor VARCHAR) | What record company did conductor Mikhail Snitko record for after 1996? |
SELECT event FROM table_name_51 WHERE total = "28" | CREATE TABLE table_name_51 (event VARCHAR, total VARCHAR) | Which event had a total of 28? |
SELECT shooter FROM table_name_64 WHERE rank_points = "8" AND event = "wc kerrville" | CREATE TABLE table_name_64 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR) | Who was the shooter when the rank points was 8 and the event was WC Kerrville? |
SELECT total FROM table_name_79 WHERE score_points = "12" AND rank_points = "15" | CREATE TABLE table_name_79 (total VARCHAR, score_points VARCHAR, rank_points VARCHAR) | What was the total when the score points was 12 and the rank points was 15? |
SELECT score FROM table_name_25 WHERE competition = "champions league" AND result = "win" | CREATE TABLE table_name_25 (score VARCHAR, competition VARCHAR, result VARCHAR) | What is the score at the Champions League, when the result shows win? |
SELECT competition FROM table_name_8 WHERE opponent = "randers" | CREATE TABLE table_name_8 (competition VARCHAR, opponent VARCHAR) | What was the competition when the opponent was the Randers? |
SELECT result FROM table_name_49 WHERE competition = "uefa cup" AND opponent = "palermo" | CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, opponent VARCHAR) | What is the result of the UEFA Cup, against Palermo? |
SELECT date FROM table_name_29 WHERE competition = "uefa cup" AND opponent = "panathinaikos" | CREATE TABLE table_name_29 (date VARCHAR, competition VARCHAR, opponent VARCHAR) | What date was the UEFA Cup against Panathinaikos? |
SELECT total_deaths FROM table_name_78 WHERE israeli_and_or_foreigner_wounded = "0" AND other_deaths = "0" AND total_casualties = "1" | CREATE TABLE table_name_78 (total_deaths VARCHAR, total_casualties VARCHAR, israeli_and_or_foreigner_wounded VARCHAR, other_deaths VARCHAR) | What is the total number of deaths of the attack with 0 Israelis or foreigners wounded, 0 other deaths, and a total casualty of 1? |
SELECT israeli_and_or_foreigner_wounded FROM table_name_45 WHERE israeli_deaths > 1 | CREATE TABLE table_name_45 (israeli_and_or_foreigner_wounded VARCHAR, israeli_deaths INTEGER) | How many Israelis and or foreigners were wounded in the attack with more than 1 Israeli death? |
SELECT other_deaths FROM table_name_81 WHERE israeli_and_or_foreigner_wounded = "242" | CREATE TABLE table_name_81 (other_deaths VARCHAR, israeli_and_or_foreigner_wounded VARCHAR) | How many other deaths were in the attack with 242 Israelis and/or foreigners wounded? |
SELECT COUNT(israeli_deaths) FROM table_name_37 WHERE total_casualties = "0" AND total_deaths = "0" | CREATE TABLE table_name_37 (israeli_deaths VARCHAR, total_casualties VARCHAR, total_deaths VARCHAR) | What is the total number of Israeli deaths in the attack with 0 total casulaties and 0 total deaths? |
SELECT place FROM table_name_11 WHERE score = 69 - 68 - 69 - 70 = 276 | CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR) | What place did the golfer who had a score of 69-68-69-70=276 finish in? |
SELECT to_par FROM table_name_14 WHERE player = "mike weir" | CREATE TABLE table_name_14 (to_par VARCHAR, player VARCHAR) | What was the to par score for Mike Weir? |
SELECT country FROM table_name_77 WHERE player = "jay haas" | CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR) | What country was Jay Haas representing? |
SELECT country FROM table_name_48 WHERE place = "t7" AND player = "peter oosterhuis" | CREATE TABLE table_name_48 (country VARCHAR, place VARCHAR, player VARCHAR) | What country has the t7 place, and player Peter Oosterhuis? |
SELECT score FROM table_name_93 WHERE player = "sandy lyle" | CREATE TABLE table_name_93 (score VARCHAR, player VARCHAR) | What is the score for Sandy Lyle? |
SELECT name FROM table_name_74 WHERE league_cup_goals > 0 AND total_goals < 13 AND league_cup_apps = "4" | CREATE TABLE table_name_74 (name VARCHAR, league_cup_apps VARCHAR, league_cup_goals VARCHAR, total_goals VARCHAR) | Who is the player that has scored more than 0 league cup goals, but has than 13 total goals, and 4 league cup appearances total? |
Subsets and Splits