question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the Opponent of the game after October 28?
CREATE TABLE table_name_56 (opponent VARCHAR, october INTEGER)
SELECT opponent FROM table_name_56 WHERE october > 28
What is the Opponent before October 31 with a Record of 2-3-1 after Game 5?
CREATE TABLE table_name_52 (opponent VARCHAR, record VARCHAR, october VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_52 WHERE october < 31 AND game > 5 AND record = "2-3-1"
What opponent had a record of 37-27?
CREATE TABLE table_name_19 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_19 WHERE record = "37-27"
What date was the game played at the Delta Center?
CREATE TABLE table_name_9 (date VARCHAR, location VARCHAR)
SELECT date FROM table_name_9 WHERE location = "delta center"
What was the total games played at the Staples Center?
CREATE TABLE table_name_56 (game INTEGER, location VARCHAR)
SELECT SUM(game) FROM table_name_56 WHERE location = "staples center"
What's the score if the record was 38-30?
CREATE TABLE table_name_52 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_52 WHERE record = "38-30"
Can you tell me the lowest Long that has the Yards 293, and the Returns smaller than 16?
CREATE TABLE table_name_56 (long INTEGER, yards VARCHAR, returns VARCHAR)
SELECT MIN(long) FROM table_name_56 WHERE yards = 293 AND returns < 16
Can you tell me the Player that has the Long larger than 28, and the Yards of 222?
CREATE TABLE table_name_92 (player VARCHAR, long VARCHAR, yards VARCHAR)
SELECT player FROM table_name_92 WHERE long > 28 AND yards = 222
What was the date of the match against western province?
CREATE TABLE table_name_52 (date VARCHAR, opposing_team VARCHAR)
SELECT date FROM table_name_52 WHERE opposing_team = "western province"
Which Rank has a Total larger than 30, and a Bronze of 14?
CREATE TABLE table_name_61 (rank INTEGER, total VARCHAR, bronze VARCHAR)
SELECT AVG(rank) FROM table_name_61 WHERE total > 30 AND bronze = 14
How much Gold has a Silver smaller than 3, and a Total of 9, and a Bronze smaller than 1?
CREATE TABLE table_name_26 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR)
SELECT COUNT(gold) FROM table_name_26 WHERE silver < 3 AND total = 9 AND bronze < 1
How much Gold has a Silver smaller than 14, and a Rank larger than 8, and a Bronze of 3?
CREATE TABLE table_name_80 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT COUNT(gold) FROM table_name_80 WHERE silver < 14 AND rank > 8 AND bronze = 3
How much Bronze has a Silver larger than 2, and a Nation of mixed team, and a Rank larger than 4?
CREATE TABLE table_name_70 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT COUNT(bronze) FROM table_name_70 WHERE silver > 2 AND nation = "mixed team" AND rank > 4
What is Attendance, when Date is "26 December 2004"?
CREATE TABLE table_name_56 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_56 WHERE date = "26 december 2004"
What is the average Attendance, when Venue is "A", and when Date is "5 January 2005"?
CREATE TABLE table_name_65 (attendance INTEGER, venue VARCHAR, date VARCHAR)
SELECT AVG(attendance) FROM table_name_65 WHERE venue = "a" AND date = "5 january 2005"
What is Venue, when Result is "0-0"?
CREATE TABLE table_name_65 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_65 WHERE result = "0-0"
What is Attendance, when Result is "2-4"?
CREATE TABLE table_name_62 (attendance VARCHAR, result VARCHAR)
SELECT attendance FROM table_name_62 WHERE result = "2-4"
What's the total attendance of games against the New York Giants after week 13?
CREATE TABLE table_name_51 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT COUNT(attendance) FROM table_name_51 WHERE week > 13 AND opponent = "new york giants"
What is the largest number of innings with less than 342 runs and more than 4 matches?
CREATE TABLE table_name_86 (innings INTEGER, runs VARCHAR, matches VARCHAR)
SELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 4
What is the average value in the 100s category when the high score is 196?
CREATE TABLE table_name_86 (highest_score VARCHAR)
SELECT AVG(100 AS s) FROM table_name_86 WHERE highest_score = "196"
A Round larger than 1, a College of Oklahoma state, and a average Pick # that has a Position of tight end is what?
CREATE TABLE table_name_44 (pick__number INTEGER, round VARCHAR, position VARCHAR, college VARCHAR)
SELECT AVG(pick__number) FROM table_name_44 WHERE position = "tight end" AND college = "oklahoma state" AND round > 1
A Pick # larger than 339 and the College that has a Round of 14 is what?
CREATE TABLE table_name_52 (college VARCHAR, round VARCHAR, pick__number VARCHAR)
SELECT college FROM table_name_52 WHERE round = 14 AND pick__number > 339
Pick # of 331 went to which college?
CREATE TABLE table_name_36 (college VARCHAR, pick__number VARCHAR)
SELECT college FROM table_name_36 WHERE pick__number = 331
Pick # of 203 went to which college?
CREATE TABLE table_name_16 (college VARCHAR, pick__number VARCHAR)
SELECT college FROM table_name_16 WHERE pick__number = 203
What is the width feet in meeters for the truss with a source of nbi (2009)?
CREATE TABLE table_name_63 (width_feet__m_ VARCHAR, source__year_ VARCHAR)
SELECT width_feet__m_ FROM table_name_63 WHERE source__year_ = "nbi (2009)"
What is the width for hte truss with a source of zacher (1994)?
CREATE TABLE table_name_8 (width_feet__m_ VARCHAR, source__year_ VARCHAR)
SELECT width_feet__m_ FROM table_name_8 WHERE source__year_ = "zacher (1994)"
Which Articulatory class has and Aspirated stop of ㅍ?
CREATE TABLE table_name_34 (articulatory_class VARCHAR, aspirated_stop VARCHAR)
SELECT articulatory_class FROM table_name_34 WHERE aspirated_stop = "ㅍ"
Which Non- stop has an Aspirated stop of γ…Ž?
CREATE TABLE table_name_60 (non__stop VARCHAR, aspirated_stop VARCHAR)
SELECT non__stop FROM table_name_60 WHERE aspirated_stop = "γ…Ž"
If the Non- stop is (ㆁ), what is the Articulatory Class?
CREATE TABLE table_name_27 (articulatory_class VARCHAR, non__stop VARCHAR)
SELECT articulatory_class FROM table_name_27 WHERE non__stop = "(ㆁ)"
If the Plain stop is γ„·, what is the Non- stop?
CREATE TABLE table_name_92 (non__stop VARCHAR, plain_stop VARCHAR)
SELECT non__stop FROM table_name_92 WHERE plain_stop = "γ„·"
What round was Joe Sims picked?
CREATE TABLE table_name_24 (round INTEGER, player VARCHAR)
SELECT AVG(round) FROM table_name_24 WHERE player = "joe sims"
What was Moe Gardner's pick?
CREATE TABLE table_name_36 (pick VARCHAR, player VARCHAR)
SELECT pick FROM table_name_36 WHERE player = "moe gardner"
What was the highest round that had northwestern?
CREATE TABLE table_name_18 (round INTEGER, school VARCHAR)
SELECT MAX(round) FROM table_name_18 WHERE school = "northwestern"
Which Total population (2010 census) has an Area (km 2) smaller than 147,307.00?
CREATE TABLE table_name_11 (total_population__2010_census_ INTEGER, area__km_2__ INTEGER)
SELECT MAX(total_population__2010_census_) FROM table_name_11 WHERE area__km_2__ < 147 OFFSET 307.00
Which Total population (2005 estimate) has a Province of west kalimantan (kalimantan barat), and an Area (km 2) smaller than 147,307.00?
CREATE TABLE table_name_78 (total_population__2005_estimate_ INTEGER, province VARCHAR, area__km_2__ VARCHAR)
SELECT AVG(total_population__2005_estimate_) FROM table_name_78 WHERE province = "west kalimantan (kalimantan barat)" AND area__km_2__ < 147 OFFSET 307.00
who is the opponent after march 21 and the game is 75?
CREATE TABLE table_name_93 (opponent VARCHAR, march VARCHAR, game VARCHAR)
SELECT opponent FROM table_name_93 WHERE march > 21 AND game = 75
what is the game when march is 15?
CREATE TABLE table_name_12 (game INTEGER, march VARCHAR)
SELECT SUM(game) FROM table_name_12 WHERE march = 15
what is the score when the game is higher than 66 on march 28?
CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR, march VARCHAR)
SELECT score FROM table_name_82 WHERE game > 66 AND march = 28
What was the report for an away team of Sydney Spirit and score of 96-87?
CREATE TABLE table_name_16 (report VARCHAR, away_team VARCHAR, score VARCHAR)
SELECT report FROM table_name_16 WHERE away_team = "sydney spirit" AND score = "96-87"
Who was the home team with a score of 101-93?
CREATE TABLE table_name_92 (home_team VARCHAR, score VARCHAR)
SELECT home_team FROM table_name_92 WHERE score = "101-93"
What was the score for the Perth Wildcats as away team?
CREATE TABLE table_name_38 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_38 WHERE away_team = "perth wildcats"
On what date were the Melbourne Tigers the home team?
CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_83 WHERE home_team = "melbourne tigers"
Which challenge loser has a Challenge Winner of roseny?
CREATE TABLE table_name_81 (challenge_loser VARCHAR, challenge_winner VARCHAR)
SELECT challenge_loser FROM table_name_81 WHERE challenge_winner = "roseny"
Which episode has a Challenge Winner of berto?
CREATE TABLE table_name_50 (episode VARCHAR, challenge_winner VARCHAR)
SELECT episode FROM table_name_50 WHERE challenge_winner = "berto"
Which winner has a Challenge Loser of alexcy?
CREATE TABLE table_name_44 (challenge_winner VARCHAR, challenge_loser VARCHAR)
SELECT challenge_winner FROM table_name_44 WHERE challenge_loser = "alexcy"
Which winner has a Challenge Loser of gisel?
CREATE TABLE table_name_19 (challenge_winner VARCHAR, challenge_loser VARCHAR)
SELECT challenge_winner FROM table_name_19 WHERE challenge_loser = "gisel"
What was the result for the 2007 WCC when Sun Yue was the alternate?
CREATE TABLE table_name_33 (result VARCHAR, alternate VARCHAR, event VARCHAR)
SELECT result FROM table_name_33 WHERE alternate = "sun yue" AND event = "2007 wcc"
What event has the result of 7th (5-6)?
CREATE TABLE table_name_82 (event VARCHAR, result VARCHAR)
SELECT event FROM table_name_82 WHERE result = "7th (5-6)"
Who was the lead for the 2008 WCC?
CREATE TABLE table_name_5 (lead VARCHAR, event VARCHAR)
SELECT lead FROM table_name_5 WHERE event = "2008 wcc"
What was the Lead for the 2009 WCC when Wang Bingyu news was the skip?
CREATE TABLE table_name_39 (lead VARCHAR, skip VARCHAR, event VARCHAR)
SELECT lead FROM table_name_39 WHERE skip = "wang bingyu" AND event = "2009 wcc"
What event had Wang Bingyu for the skip?
CREATE TABLE table_name_14 (event VARCHAR, skip VARCHAR)
SELECT event FROM table_name_14 WHERE skip = "wang bingyu"
What event was Sun Yue the alternate and wang bingyu(3rd) the skip?
CREATE TABLE table_name_75 (event VARCHAR, alternate VARCHAR, skip VARCHAR)
SELECT event FROM table_name_75 WHERE alternate = "sun yue" AND skip = "wang bingyu(3rd)"
WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
CREATE TABLE table_name_27 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_27 WHERE team_2 = "haro"
WHAT IS THE FIRST LEG OF TUILLA?
CREATE TABLE table_name_79 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "tuilla"
Which team has a Game of 49?
CREATE TABLE table_name_18 (team VARCHAR, game VARCHAR)
SELECT team FROM table_name_18 WHERE game = 49
What are the High points for Team @ portland?
CREATE TABLE table_name_75 (high_points VARCHAR, team VARCHAR)
SELECT high_points FROM table_name_75 WHERE team = "@ portland"
What are the High assists for Team houston?
CREATE TABLE table_name_40 (high_assists VARCHAR, team VARCHAR)
SELECT high_assists FROM table_name_40 WHERE team = "houston"
What are the High assists for February 2?
CREATE TABLE table_name_12 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_12 WHERE date = "february 2"
What game did the Buffalo Bills' opponents earn more than 28 points?
CREATE TABLE table_name_59 (game VARCHAR, opponents INTEGER)
SELECT game FROM table_name_59 WHERE opponents > 28
What was the year that China will have a building completed?
CREATE TABLE table_name_79 (year_completion_expected VARCHAR, country VARCHAR)
SELECT year_completion_expected FROM table_name_79 WHERE country = "china"
What is the name of the buildings for China?
CREATE TABLE table_name_15 (name VARCHAR, country VARCHAR)
SELECT name FROM table_name_15 WHERE country = "china"
What are the names for projects that will be completed after 2016?
CREATE TABLE table_name_65 (name VARCHAR, year_completion_expected INTEGER)
SELECT name FROM table_name_65 WHERE year_completion_expected > 2016
How high is the Goldin Finance 117 building currently being build in China?
CREATE TABLE table_name_4 (pinnacle_height_planned VARCHAR, country VARCHAR, name VARCHAR)
SELECT pinnacle_height_planned FROM table_name_4 WHERE country = "china" AND name = "goldin finance 117"
What is the City / State, when Series is ATCC Round 3?
CREATE TABLE table_name_56 (city___state VARCHAR, series VARCHAR)
SELECT city___state FROM table_name_56 WHERE series = "atcc round 3"
What is Date, when Series is Amscar Round 3?
CREATE TABLE table_name_36 (date VARCHAR, series VARCHAR)
SELECT date FROM table_name_36 WHERE series = "amscar round 3"
What is Winner, when Circuit is Mallala Motor Sport Park, and when Series is ASTC Round 6?
CREATE TABLE table_name_95 (winner VARCHAR, circuit VARCHAR, series VARCHAR)
SELECT winner FROM table_name_95 WHERE circuit = "mallala motor sport park" AND series = "astc round 6"
What is City / State, when Winner is Mal Rose, and when Date is 20 Jul?
CREATE TABLE table_name_93 (city___state VARCHAR, winner VARCHAR, date VARCHAR)
SELECT city___state FROM table_name_93 WHERE winner = "mal rose" AND date = "20 jul"
What is City / State, when Circuit is Eastern Creek Raceway, and when Winner is Michael Donaher?
CREATE TABLE table_name_83 (city___state VARCHAR, circuit VARCHAR, winner VARCHAR)
SELECT city___state FROM table_name_83 WHERE circuit = "eastern creek raceway" AND winner = "michael donaher"
What is Date, when Series is ATCC Round 5?
CREATE TABLE table_name_1 (date VARCHAR, series VARCHAR)
SELECT date FROM table_name_1 WHERE series = "atcc round 5"
What is the sum of wins for casey mears when the player ranked 22nd and was in teh top fives 3 times?
CREATE TABLE table_name_35 (wins INTEGER, rank VARCHAR, top_fives VARCHAR)
SELECT SUM(wins) FROM table_name_35 WHERE rank = "22nd" AND top_fives = 3
What is the total number of top fives in 2010 when casey mears had more than 0 wins?
CREATE TABLE table_name_29 (top_fives VARCHAR, year VARCHAR, wins VARCHAR)
SELECT COUNT(top_fives) FROM table_name_29 WHERE year = "2010" AND wins > 0
What is the total number of wins when casey mears ranked 36th and had more than 0 top fives?
CREATE TABLE table_name_62 (wins VARCHAR, rank VARCHAR, top_fives VARCHAR)
SELECT COUNT(wins) FROM table_name_62 WHERE rank = "36th" AND top_fives > 0
What is the total number of top fives when casey mears had more than 1 poles and top tens less than 9?
CREATE TABLE table_name_54 (top_fives INTEGER, poles VARCHAR, top_tens VARCHAR)
SELECT SUM(top_fives) FROM table_name_54 WHERE poles > 1 AND top_tens < 9
What's k. j. choi's to par?
CREATE TABLE table_name_2 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_2 WHERE player = "k. j. choi"
Which Player has a Score smaller than 69, and a Place of t1?
CREATE TABLE table_name_33 (player VARCHAR, score VARCHAR, place VARCHAR)
SELECT player FROM table_name_33 WHERE score < 69 AND place = "t1"
Which To par has a Player of emlyn aubrey?
CREATE TABLE table_name_22 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_22 WHERE player = "emlyn aubrey"
Which Score has a Place of t1, and a Player of scott simpson?
CREATE TABLE table_name_30 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT COUNT(score) FROM table_name_30 WHERE place = "t1" AND player = "scott simpson"
Which To par has a Score larger than 68?
CREATE TABLE table_name_42 (to_par VARCHAR, score INTEGER)
SELECT to_par FROM table_name_42 WHERE score > 68
How many games were on December 5?
CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)
SELECT SUM(game) FROM table_name_80 WHERE date = "december 5"
What day did Phoenix play?
CREATE TABLE table_name_32 (date VARCHAR, team VARCHAR)
SELECT date FROM table_name_32 WHERE team = "phoenix"
What is Site, when Date is "November 13"?
CREATE TABLE table_name_15 (site VARCHAR, date VARCHAR)
SELECT site FROM table_name_15 WHERE date = "november 13"
What is SIte, when Date is "September 13"?
CREATE TABLE table_name_67 (site VARCHAR, date VARCHAR)
SELECT site FROM table_name_67 WHERE date = "september 13"
What is Attendance, when Opponent is "At Syracuse"?
CREATE TABLE table_name_79 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_79 WHERE opponent = "at syracuse"
What is Site, when Opponent is "All times are in eastern."?
CREATE TABLE table_name_13 (site VARCHAR, opponent VARCHAR)
SELECT site FROM table_name_13 WHERE opponent = "all times are in eastern."
What is Date, when Site is "Louisiana Superdome β€’ New Orleans, LA"?
CREATE TABLE table_name_65 (date VARCHAR, site VARCHAR)
SELECT date FROM table_name_65 WHERE site = "louisiana superdome β€’ new orleans, la"
What is the lowest January, when Game is less than 46, when Score is "5 - 3", and when Record is "15-22-8"?
CREATE TABLE table_name_94 (january INTEGER, record VARCHAR, game VARCHAR, score VARCHAR)
SELECT MIN(january) FROM table_name_94 WHERE game < 46 AND score = "5 - 3" AND record = "15-22-8"
What is the total number of Game, when Record is "11-17-7"?
CREATE TABLE table_name_34 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_name_34 WHERE record = "11-17-7"
What is Opponent, when January is greater than 19, and when Score is "7 - 2"?
CREATE TABLE table_name_94 (opponent VARCHAR, january VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_94 WHERE january > 19 AND score = "7 - 2"
What are the notes with a less than 3 rank at Yuvileiny Stadium (sumy)?
CREATE TABLE table_name_9 (notes VARCHAR, rank VARCHAR, stadium VARCHAR)
SELECT notes FROM table_name_9 WHERE rank < 3 AND stadium = "yuvileiny stadium (sumy)"
Which player has a total of 160?
CREATE TABLE table_name_19 (player VARCHAR, total VARCHAR)
SELECT player FROM table_name_19 WHERE total = 160
What country does charles coody play for?
CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_21 WHERE player = "charles coody"
How many division titles does the team with 23 playoff appearances and more than 1 conference titles have?
CREATE TABLE table_name_87 (division_titles INTEGER, playoff_appearances VARCHAR, conference_titles VARCHAR)
SELECT SUM(division_titles) FROM table_name_87 WHERE playoff_appearances = 23 AND conference_titles > 1
What is the average number of seasons completed of the team with less than 1 division titles, 0 playoff appearances, and more than 0 finals appearances?
CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR)
SELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 0
What hame has points larger than 81?
CREATE TABLE table_name_44 (game INTEGER, points INTEGER)
SELECT SUM(game) FROM table_name_44 WHERE points > 81
How many round values are associated with Cleveland McCrae?
CREATE TABLE table_name_91 (round VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_91 WHERE player = "cleveland mccrae"
What team is after 1998 with a start of dnq?
CREATE TABLE table_name_87 (team VARCHAR, year VARCHAR, start VARCHAR)
SELECT team FROM table_name_87 WHERE year > 1998 AND start = "dnq"
What's the start when the finish is 1?
CREATE TABLE table_name_63 (start VARCHAR, finish VARCHAR)
SELECT start FROM table_name_63 WHERE finish = "1"
What's the latest year with a start of 3 and a finish of 40 for the morgan-mcclure team?
CREATE TABLE table_name_1 (year INTEGER, finish VARCHAR, start VARCHAR, team VARCHAR)
SELECT MAX(year) FROM table_name_1 WHERE start = "3" AND team = "morgan-mcclure" AND finish = "40"
How many goals were scored on the goalkeeper with fewer than 37 matches and an average of 1.5?
CREATE TABLE table_name_24 (goals VARCHAR, matches VARCHAR, average VARCHAR)
SELECT goals FROM table_name_24 WHERE matches < 37 AND average = 1.5
How many matches did Carlos Kameni play in, who had an average larger than 1.27?
CREATE TABLE table_name_58 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR)
SELECT SUM(matches) FROM table_name_58 WHERE goalkeeper = "carlos kameni" AND average > 1.27