answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT score FROM table_name_55 WHERE record = "67-82"
CREATE TABLE table_name_55 (score VARCHAR, record VARCHAR)
When the record was 67-82, what was the final score recorded?
SELECT opponent FROM table_name_38 WHERE attendance = "54,136"
CREATE TABLE table_name_38 (opponent VARCHAR, attendance VARCHAR)
Who was the opponent for the game played with 54,136 people in attendance?
SELECT position FROM table_name_19 WHERE player = "bert coan"
CREATE TABLE table_name_19 (position VARCHAR, player VARCHAR)
Which position does bert coan play?
SELECT position FROM table_name_13 WHERE round = 1
CREATE TABLE table_name_13 (position VARCHAR, round VARCHAR)
What is round 1's position?
SELECT MAX(round) FROM table_name_14 WHERE position = "running back"
CREATE TABLE table_name_14 (round INTEGER, position VARCHAR)
Which Round is the highest one that has a Position of running back?
SELECT position FROM table_name_85 WHERE pick < 29 AND school_club_team = "arizona"
CREATE TABLE table_name_85 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)
Which Position has a Pick smaller than 29, and a School/Club Team of arizona?
SELECT MIN(round) FROM table_name_87 WHERE school_club_team = "alabama" AND pick > 43
CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
Which Round is the lowest one that has a School/Club Team of alabama, and a Pick larger than 43?
SELECT venue FROM table_name_94 WHERE team = "belshina"
CREATE TABLE table_name_94 (venue VARCHAR, team VARCHAR)
what is the venue of belshina
SELECT venue FROM table_name_23 WHERE team = "neman"
CREATE TABLE table_name_23 (venue VARCHAR, team VARCHAR)
what is the venue of neman
SELECT venue FROM table_name_47 WHERE team = "neman"
CREATE TABLE table_name_47 (venue VARCHAR, team VARCHAR)
what is the venue of neman
SELECT COUNT(pick__number) FROM table_name_46 WHERE round < 6 AND overall = 102
CREATE TABLE table_name_46 (pick__number VARCHAR, round VARCHAR, overall VARCHAR)
Name the total number of pick with round less than 6 and overall of 102
SELECT outcome FROM table_name_30 WHERE score = "4–6 3–6"
CREATE TABLE table_name_30 (outcome VARCHAR, score VARCHAR)
Which Outcome has a Score of 4–6 3–6?
SELECT tournament FROM table_name_43 WHERE score = "3–6 6–4 4–6"
CREATE TABLE table_name_43 (tournament VARCHAR, score VARCHAR)
Which Tournament has a Score of 3–6 6–4 4–6?
SELECT date FROM table_name_11 WHERE score = "6–1 7–6 (8–6)"
CREATE TABLE table_name_11 (date VARCHAR, score VARCHAR)
Which Date has a Score of 6–1 7–6 (8–6)?
SELECT score FROM table_name_71 WHERE date = "26 september 2004"
CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR)
Which Score has a Date of 26 september 2004?
SELECT outcome FROM table_name_90 WHERE score = "3–6 2–6"
CREATE TABLE table_name_90 (outcome VARCHAR, score VARCHAR)
Which Outcome has a Score of 3–6 2–6?
SELECT surface FROM table_name_5 WHERE opponent_in_the_final = "daniella dominikovic"
CREATE TABLE table_name_5 (surface VARCHAR, opponent_in_the_final VARCHAR)
Which Surface has an Opponent in the final of daniella dominikovic?
SELECT COUNT(time_to_ft__m__at_40) AS Β°__seconds_ FROM table_name_80 WHERE shell__lb_ = 16 AND max_height__ft_ < 22 OFFSET 000
CREATE TABLE table_name_80 (time_to_ft__m__at_40 VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR)
What is the amount of time (sum) at 40Β° that it takes a 16 lb shell to reach a maximum of no more than 22,000 ft?
SELECT AVG(max_height__ft_) FROM table_name_19 WHERE time_to_ft__m__at_55Β°__seconds_ > 16.3 AND m_v_ft_s = 2200
CREATE TABLE table_name_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55Β°__seconds_ VARCHAR, m_v_ft_s VARCHAR)
What is the average maximum height of a shell that travels for more than 16.3 seconds at 55Β° and has a maximum velocity of 2200 ft/s?
SELECT MAX(time_to_ft__m__at_55) AS Β°__seconds_ FROM table_name_47 WHERE time_to_ft__m__at_40Β°__seconds_ < 9.6
CREATE TABLE table_name_47 (time_to_ft__m__at_55 INTEGER, time_to_ft__m__at_40Β°__seconds_ INTEGER)
What is the maximum amount of time a shell travels at 55Β° when it traveled less than 9.6 seconds at 40Β°?
SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40Β°__seconds_ = 12.6
CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40Β°__seconds_ VARCHAR)
What is the weight of the shell that reached its maximum height at 40Β° in 12.6 seconds?
SELECT AVG(max_height__ft_) FROM table_name_24 WHERE time_to_ft__m__at_25Β°__seconds_ = "10.1" AND shell__lb_ < 12.5
CREATE TABLE table_name_24 (max_height__ft_ INTEGER, time_to_ft__m__at_25Β°__seconds_ VARCHAR, shell__lb_ VARCHAR)
What is the average maximum height of the shell smaller than 12.5 lb that reached its maximum height at 25Β° in 10.1 seconds?
SELECT MAX(attendance) FROM table_name_74 WHERE date = "october 22, 1967" AND week < 6
CREATE TABLE table_name_74 (attendance INTEGER, date VARCHAR, week VARCHAR)
What is the highest attendance for the game that was before week 6 on October 22, 1967?
SELECT state FROM table_name_63 WHERE talent = "classical piano" AND hometown = "lancaster, ny"
CREATE TABLE table_name_63 (state VARCHAR, talent VARCHAR, hometown VARCHAR)
What is the state having a contestant with a talent of classical piano and a hometown from Lancaster, NY?
SELECT name FROM table_name_56 WHERE talent = "ballet en pointe"
CREATE TABLE table_name_56 (name VARCHAR, talent VARCHAR)
Whose talent was ballet en pointe?
SELECT state FROM table_name_43 WHERE hometown = "mesa, az"
CREATE TABLE table_name_43 (state VARCHAR, hometown VARCHAR)
What is the state represented by the contestant from Mesa, AZ?
SELECT talent FROM table_name_82 WHERE hometown = "lexington, sc"
CREATE TABLE table_name_82 (talent VARCHAR, hometown VARCHAR)
What is the talent of the contestant from Lexington, SC?
SELECT age_1 FROM table_name_55 WHERE hometown = "reno, nv"
CREATE TABLE table_name_55 (age_1 VARCHAR, hometown VARCHAR)
What is the age of the contestant from Reno, NV?
SELECT writer_s_ FROM table_name_29 WHERE episode = "18-09 (652)"
CREATE TABLE table_name_29 (writer_s_ VARCHAR, episode VARCHAR)
Which writer wrote episode 18-09 (652)?
SELECT episode FROM table_name_97 WHERE writer_s_ = "jonathan lewis"
CREATE TABLE table_name_97 (episode VARCHAR, writer_s_ VARCHAR)
What episode was written by jonathan lewis?
SELECT position FROM table_name_81 WHERE school_club_team = "maryland" AND round = 3
CREATE TABLE table_name_81 (position VARCHAR, school_club_team VARCHAR, round VARCHAR)
What position does Maryland have a player for Round 3?
SELECT COUNT(pick) FROM table_name_23 WHERE position = "defensive back" AND round > 11
CREATE TABLE table_name_23 (pick VARCHAR, position VARCHAR, round VARCHAR)
How many picks are there for defensive back for rounds larger than 11?
SELECT MAX(game) FROM table_name_64 WHERE date = "april 21"
CREATE TABLE table_name_64 (game INTEGER, date VARCHAR)
What is the highest game that has april 21 as the date?
SELECT score FROM table_name_2 WHERE game < 4 AND date = "april 19"
CREATE TABLE table_name_2 (score VARCHAR, game VARCHAR, date VARCHAR)
What score has a game less than 4, and april 19 as the date?
SELECT opponent FROM table_name_4 WHERE game < 6 AND date = "april 17"
CREATE TABLE table_name_4 (opponent VARCHAR, game VARCHAR, date VARCHAR)
What opponent has a game less than 6, and april 17 as the date?
SELECT home_team FROM table_name_18 WHERE away_team = "derby county"
CREATE TABLE table_name_18 (home_team VARCHAR, away_team VARCHAR)
What is the home team that played Derby County as the away team?
SELECT home_team FROM table_name_87 WHERE tie_no = "7"
CREATE TABLE table_name_87 (home_team VARCHAR, tie_no VARCHAR)
Which home team is ranked no. 7 by tie no.?
SELECT score FROM table_name_85 WHERE home_team = "manchester united"
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR)
What is the score for the game in which Manchester United was the home team?
SELECT COUNT(gold) FROM table_name_62 WHERE bronze < 5 AND silver > 1 AND rank > 8
CREATE TABLE table_name_62 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
How many golds does the nation having a rank of 8, fewer than 5 bronzes and more than 1 silver have?
SELECT country FROM table_name_99 WHERE language_s_ = "english" AND literary_tradition = "canadian literature"
CREATE TABLE table_name_99 (country VARCHAR, language_s_ VARCHAR, literary_tradition VARCHAR)
What nation was the film from that was in english and had a Literary tradition of canadian literature?
SELECT literary_tradition FROM table_name_74 WHERE language_s_ = "english" AND year = 2011
CREATE TABLE table_name_74 (literary_tradition VARCHAR, language_s_ VARCHAR, year VARCHAR)
What is the literary traidtion for the film in english in 2011?
SELECT country FROM table_name_10 WHERE year > 2011
CREATE TABLE table_name_10 (country VARCHAR, year INTEGER)
What country was the film made in that was made after 2011?
SELECT team FROM table_name_62 WHERE rebounds = 48
CREATE TABLE table_name_62 (team VARCHAR, rebounds VARCHAR)
Which team has 48 rebounds?
SELECT MIN(rank) FROM table_name_1 WHERE games = 12 AND rebounds < 48
CREATE TABLE table_name_1 (rank INTEGER, games VARCHAR, rebounds VARCHAR)
What's the lowest amount of 12 games and less than 48 rebounds?
SELECT SUM(rebounds) FROM table_name_21 WHERE name = "fedor likholitov" AND rank > 8
CREATE TABLE table_name_21 (rebounds INTEGER, name VARCHAR, rank VARCHAR)
How many rebounds does Fedor likholitov have with a rank greater than 8?
SELECT MAX(games) FROM table_name_76 WHERE rank > 3 AND rebounds = 112
CREATE TABLE table_name_76 (games INTEGER, rank VARCHAR, rebounds VARCHAR)
Which game has more than 112 rebounds and a rank greater than 3?
SELECT score FROM table_name_25 WHERE place = "t5" AND nation = "united states"
CREATE TABLE table_name_25 (score VARCHAR, place VARCHAR, nation VARCHAR)
What was the score in a place of t5 in the United States?
SELECT score FROM table_name_44 WHERE player = "sophie gustafson"
CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR)
What was the score for a match where Sophie Gustafson played?
SELECT SUM(rebounds) FROM table_name_12 WHERE games > 22
CREATE TABLE table_name_12 (rebounds INTEGER, games INTEGER)
with games more than 22 what is the rebound total?
SELECT location FROM table_name_81 WHERE tournament = "b.c. open"
CREATE TABLE table_name_81 (location VARCHAR, tournament VARCHAR)
What is the location of the b.c. open?
SELECT location FROM table_name_83 WHERE score = "269 (–19)" AND tournament = "tallahassee open"
CREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR)
What is the location of the tallahassee open, with a Score of 269 (–19)?
SELECT date FROM table_name_12 WHERE winner = "lanny wadkins (6)"
CREATE TABLE table_name_12 (date VARCHAR, winner VARCHAR)
What date did Lanny Wadkins (6) win?
SELECT location FROM table_name_40 WHERE tournament = "buick-goodwrench open"
CREATE TABLE table_name_40 (location VARCHAR, tournament VARCHAR)
What is the Location for the buick-goodwrench open?
SELECT netflix FROM table_name_98 WHERE series_ep = "6-02"
CREATE TABLE table_name_98 (netflix VARCHAR, series_ep VARCHAR)
What is the Netflix episode that has a series episode of 6-02?
SELECT segment_a FROM table_name_80 WHERE segment_d = "wigs"
CREATE TABLE table_name_80 (segment_a VARCHAR, segment_d VARCHAR)
Which segment A item that has a Segment D of wigs?
SELECT series_ep FROM table_name_55 WHERE netflix = "s03e16"
CREATE TABLE table_name_55 (series_ep VARCHAR, netflix VARCHAR)
Which series episode has a Netflix episode of S03E16?
SELECT netflix FROM table_name_92 WHERE episode < 69 AND segment_d = "s trombone"
CREATE TABLE table_name_92 (netflix VARCHAR, episode VARCHAR, segment_d VARCHAR)
Which Netflix episode has an overall episode number under 69 and a Segment D of S Trombone?
SELECT species_specific FROM table_name_29 WHERE comparative = "no" AND intra_molecular_structure = "no" AND link = "sourcecode"
CREATE TABLE table_name_29 (species_specific VARCHAR, link VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR)
Which Species Specific has a Comparative of no, and an Intra-molecular structure of no, and a Link of sourcecode?
SELECT intra_molecular_structure FROM table_name_76 WHERE comparative = "no" AND name = "mitarget"
CREATE TABLE table_name_76 (intra_molecular_structure VARCHAR, comparative VARCHAR, name VARCHAR)
Which Intra-molecular structure has a Comparative of no, and a Name of mitarget?
SELECT comparative FROM table_name_71 WHERE name = "pictar"
CREATE TABLE table_name_71 (comparative VARCHAR, name VARCHAR)
Which Comparative has a Name of pictar?
SELECT name FROM table_name_63 WHERE intra_molecular_structure = "no" AND link = "webserver" AND comparative = "no"
CREATE TABLE table_name_63 (name VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR, link VARCHAR)
Which Name has an Intra-molecular structure of no, and a Link of webserver, and a Comparative of no?
SELECT comparative FROM table_name_43 WHERE link = "sourcecode webserver"
CREATE TABLE table_name_43 (comparative VARCHAR, link VARCHAR)
Which Comparative has a Link of sourcecode webserver?
SELECT species_specific FROM table_name_53 WHERE link = "server/sourcecode"
CREATE TABLE table_name_53 (species_specific VARCHAR, link VARCHAR)
Which Species Specific has a Link of server/sourcecode?
SELECT 1 AS st_leg FROM table_name_45 WHERE home__2nd_leg_ = "instituto"
CREATE TABLE table_name_45 (home__2nd_leg_ VARCHAR)
What is the 1st leg for Instituto?
SELECT home__2nd_leg_ FROM table_name_87 WHERE aggregate = "3-4"
CREATE TABLE table_name_87 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
What is the home of aggregate's 3-4?
SELECT round FROM table_name_74 WHERE opponent = "sofia bagherdai"
CREATE TABLE table_name_74 (round VARCHAR, opponent VARCHAR)
What round did the fight against Sofia Bagherdai go to?
SELECT method FROM table_name_4 WHERE event = "mars: attack 1"
CREATE TABLE table_name_4 (method VARCHAR, event VARCHAR)
What was the method of fight completion for the Mars: Attack 1 event?
SELECT country FROM table_name_88 WHERE score = 70 - 71 - 68 - 72 = 281
CREATE TABLE table_name_88 (country VARCHAR, score VARCHAR)
what had a score of 70-71-68-72=281?
SELECT score FROM table_name_97 WHERE player = "roberto devicenzo"
CREATE TABLE table_name_97 (score VARCHAR, player VARCHAR)
what had a score like roberto devicenzo
SELECT COUNT(attendance) FROM table_name_98 WHERE week = 11
CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR)
What was the total number who attended during week 11?
SELECT COUNT(week) FROM table_name_33 WHERE result = "l 31-21"
CREATE TABLE table_name_33 (week VARCHAR, result VARCHAR)
What was the total number of weeks with a result of l 31-21?
SELECT 2003 FROM table_name_24 WHERE 2012 = "1–4"
CREATE TABLE table_name_24 (Id VARCHAR)
Which 2003 has a 2012 of 1–4?
SELECT 2007 FROM table_name_90 WHERE 2008 = "0 / 4"
CREATE TABLE table_name_90 (Id VARCHAR)
Which 2007 has a 2008 of 0 / 4?
SELECT 2007 FROM table_name_7 WHERE 2003 = "2r" AND 2004 = "1r"
CREATE TABLE table_name_7 (Id VARCHAR)
Which 2007 has a 2003 of 2r, and a 2004 of 1r?
SELECT 2010 FROM table_name_86 WHERE 2009 = "0 / 4"
CREATE TABLE table_name_86 (Id VARCHAR)
Which 2010 has a 2009 of 0 / 4?
SELECT 2011 FROM table_name_96 WHERE 1999 = "a" AND 2004 = "2r" AND career_sr = "0 / 10"
CREATE TABLE table_name_96 (career_sr VARCHAR)
Which 2011 has a 1999 of A, and a 2004 of 2r, and a Career SR of 0 / 10?
SELECT 2005 FROM table_name_37 WHERE 1999 = "0–0"
CREATE TABLE table_name_37 (Id VARCHAR)
Which 2005 has a 1999 of 0–0?
SELECT date FROM table_name_92 WHERE week = 7
CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR)
what is the date of week 7
SELECT visitor FROM table_name_96 WHERE record = "39-20-6"
CREATE TABLE table_name_96 (visitor VARCHAR, record VARCHAR)
Who was the visitor in the game that led to a 39-20-6 record?
SELECT date FROM table_name_33 WHERE record = "48-21-6"
CREATE TABLE table_name_33 (date VARCHAR, record VARCHAR)
What was the date of the game that led to a 48-21-6 record?
SELECT AVG(attendance) FROM table_name_50 WHERE date = "june 11"
CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)
Name the average attendance from june 11
SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa"
CREATE TABLE table_name_29 (margin_of_victory VARCHAR, country VARCHAR)
What is south africa's margin of victory?
SELECT score FROM table_name_68 WHERE year > 1980 AND margin_of_victory = "2 strokes" AND country = "united states" AND player = "jim furyk"
CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR)
Which Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk?
SELECT founded FROM table_name_95 WHERE suburb = "beaudesert"
CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR)
What year was the Beaudesert suburb club founded
SELECT COUNT(founded) FROM table_name_96 WHERE suburb = "nerang"
CREATE TABLE table_name_96 (founded VARCHAR, suburb VARCHAR)
What year did the Nerang Suburb get founded?
SELECT opponent FROM table_name_77 WHERE date = "april 28"
CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)
Who was the opponent when the Phillies played on April 28?
SELECT MAX(run_rate) FROM table_name_61 WHERE rank = 4
CREATE TABLE table_name_61 (run_rate INTEGER, rank VARCHAR)
What is the run rate for rank 4?
SELECT released FROM table_name_44 WHERE chinese_title = "反正 卓文萱"
CREATE TABLE table_name_44 (released VARCHAR, chinese_title VARCHAR)
Chinese title of 反正 卓文萱 had what released?
SELECT chinese_title FROM table_name_94 WHERE album_number = "5th"
CREATE TABLE table_name_94 (chinese_title VARCHAR, album_number VARCHAR)
Album # of 5th is what chinese title?
SELECT released FROM table_name_6 WHERE album_number = "1st"
CREATE TABLE table_name_6 (released VARCHAR, album_number VARCHAR)
Album # of 1st was released on what date?
SELECT chinese_title FROM table_name_57 WHERE album_number = "3rd"
CREATE TABLE table_name_57 (chinese_title VARCHAR, album_number VARCHAR)
Album # of 3rd is what chinese title?
SELECT released FROM table_name_41 WHERE english_title = "oxygenie of happiness"
CREATE TABLE table_name_41 (released VARCHAR, english_title VARCHAR)
English title of oxygenie of happiness has what release date?
SELECT score FROM table_name_83 WHERE home = "quebec nordiques" AND date = "april 16"
CREATE TABLE table_name_83 (score VARCHAR, home VARCHAR, date VARCHAR)
Which Score has a Home of quebec nordiques on april 16?
SELECT record FROM table_name_37 WHERE visitor = "quebec nordiques" AND score = "7–5"
CREATE TABLE table_name_37 (record VARCHAR, visitor VARCHAR, score VARCHAR)
WHich Record has a Visitor of quebec nordiques with a Score of 7–5?
SELECT visitor FROM table_name_94 WHERE date = "april 8"
CREATE TABLE table_name_94 (visitor VARCHAR, date VARCHAR)
Who is the Visitor on april 8?
SELECT date FROM table_name_92 WHERE score = "4–5" AND visitor = "quebec nordiques"
CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR, visitor VARCHAR)
When has Score of 4–5 and quebec nordiques as Visitor?
SELECT visitor FROM table_name_78 WHERE date = "april 14"
CREATE TABLE table_name_78 (visitor VARCHAR, date VARCHAR)
WHo is the Visitor on april 14?
SELECT record FROM table_name_58 WHERE visitor = "quebec nordiques" AND score = "4–5"
CREATE TABLE table_name_58 (record VARCHAR, visitor VARCHAR, score VARCHAR)
Which Record has a Visitor of quebec nordiques with a Score of 4–5?
SELECT MAX(december) FROM table_name_61 WHERE game > 27 AND opponent = "pittsburgh penguins" AND points < 41
CREATE TABLE table_name_61 (december INTEGER, points VARCHAR, game VARCHAR, opponent VARCHAR)
What's the highest December against the Pittsburgh Penguins in a game larger than 27, with less than 41 points?
SELECT score FROM table_name_48 WHERE december = 30
CREATE TABLE table_name_48 (score VARCHAR, december VARCHAR)
What's the score for December of 30?