question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Pinyin has a County of changhua?
CREATE TABLE table_name_44 (pinyin VARCHAR, county VARCHAR)
SELECT pinyin FROM table_name_44 WHERE county = "changhua"
Which County has a Chinese of ζ–°η«Ή?
CREATE TABLE table_name_2 (county VARCHAR, chinese VARCHAR)
SELECT county FROM table_name_2 WHERE chinese = "ζ–°η«Ή"
Which Pinyin has a Chinese of 臺南?
CREATE TABLE table_name_89 (pinyin VARCHAR, chinese VARCHAR)
SELECT pinyin FROM table_name_89 WHERE chinese = "臺南"
Which County has a City of changhua?
CREATE TABLE table_name_61 (county VARCHAR, city VARCHAR)
SELECT county FROM table_name_61 WHERE city = "changhua"
What is taipei's lowest 2010 population?
CREATE TABLE table_name_99 (population__2010_ INTEGER, city VARCHAR)
SELECT MIN(population__2010_) FROM table_name_99 WHERE city = "taipei"
What was Diego Saraiva's record when he fought for 3 rounds against danny suarez?
CREATE TABLE table_name_75 (record VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_75 WHERE round = "3" AND opponent = "danny suarez"
What event did Diego Saraiva fight jorge gurgel?
CREATE TABLE table_name_98 (event VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_98 WHERE opponent = "jorge gurgel"
How many games had Montreal Canadiens as an opponent?
CREATE TABLE table_name_24 (game INTEGER, opponent VARCHAR)
SELECT SUM(game) FROM table_name_24 WHERE opponent = "montreal canadiens"
What was the time when the method was TKO?
CREATE TABLE table_name_61 (time VARCHAR, method VARCHAR)
SELECT time FROM table_name_61 WHERE method = "tko"
How many rounds was the fight when the record was 4-0?
CREATE TABLE table_name_74 (round VARCHAR, record VARCHAR)
SELECT COUNT(round) FROM table_name_74 WHERE record = "4-0"
Who was the opponent when the round was more than 2?
CREATE TABLE table_name_30 (opponent VARCHAR, round INTEGER)
SELECT opponent FROM table_name_30 WHERE round > 2
Can you tell me the average Game that has the Team of @ boston?
CREATE TABLE table_name_30 (game INTEGER, team VARCHAR)
SELECT AVG(game) FROM table_name_30 WHERE team = "@ boston"
Can you tell me the Team that has the Date of march 17?
CREATE TABLE table_name_77 (team VARCHAR, date VARCHAR)
SELECT team FROM table_name_77 WHERE date = "march 17"
What is the record with the opponent as Carlton Jones?
CREATE TABLE table_name_85 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_85 WHERE opponent = "carlton jones"
What is the percentage of votes received by the party of family rights?
CREATE TABLE table_name_88 (_percentage_of_votes VARCHAR, party VARCHAR)
SELECT _percentage_of_votes FROM table_name_88 WHERE party = "family rights"
What is the % of seats where the difference is 0.25?
CREATE TABLE table_name_86 (_percentage_of_seats VARCHAR, difference VARCHAR)
SELECT _percentage_of_seats FROM table_name_86 WHERE difference = "0.25"
What is the % of seats where the difference is 0.19?
CREATE TABLE table_name_92 (_percentage_of_seats VARCHAR, difference VARCHAR)
SELECT _percentage_of_seats FROM table_name_92 WHERE difference = "0.19"
Who was No. 8 when No. 10 Jackson and No. 5 Mason?
CREATE TABLE table_name_51 (no_8 VARCHAR, no_10 VARCHAR, no_5 VARCHAR)
SELECT no_8 FROM table_name_51 WHERE no_10 = "jackson" AND no_5 = "mason"
Who was No. 5 when No. 6 Mason and No. 10 Jackson?
CREATE TABLE table_name_17 (no_5 VARCHAR, no_6 VARCHAR, no_10 VARCHAR)
SELECT no_5 FROM table_name_17 WHERE no_6 = "mason" AND no_10 = "jackson"
Who was No. 8 when No. 1 Michael and No. 4 Logan?
CREATE TABLE table_name_48 (no_8 VARCHAR, no_1 VARCHAR, no_4 VARCHAR)
SELECT no_8 FROM table_name_48 WHERE no_1 = "michael" AND no_4 = "logan"
Who was No. 9 when No. 5 Mason and No. 3 Aiden?
CREATE TABLE table_name_65 (no_9 VARCHAR, no_5 VARCHAR, no_3 VARCHAR)
SELECT no_9 FROM table_name_65 WHERE no_5 = "mason" AND no_3 = "aiden"
Who was No. 3 when No. 5 James and No. 6 Mason?
CREATE TABLE table_name_35 (no_3 VARCHAR, no_5 VARCHAR, no_6 VARCHAR)
SELECT no_3 FROM table_name_35 WHERE no_5 = "james" AND no_6 = "mason"
Smaller than 37, the highest year for Ford?
CREATE TABLE table_name_18 (year INTEGER, manufacturer VARCHAR, finish VARCHAR)
SELECT MAX(year) FROM table_name_18 WHERE manufacturer = "ford" AND finish < 37
Lowest finish for ganassi at smaller than 19 start for smaller than 2004 year?
CREATE TABLE table_name_13 (finish INTEGER, year VARCHAR, team VARCHAR, start VARCHAR)
SELECT MIN(finish) FROM table_name_13 WHERE team = "ganassi" AND start < 19 AND year < 2004
What is Method, when Event is "Reality Submission Fighting 2"?
CREATE TABLE table_name_49 (method VARCHAR, event VARCHAR)
SELECT method FROM table_name_49 WHERE event = "reality submission fighting 2"
Which Votes has a Governorate of hewler?
CREATE TABLE table_name_15 (votes INTEGER, governorate VARCHAR)
SELECT AVG(votes) FROM table_name_15 WHERE governorate = "hewler"
What is the average draws with less than 3 wins and more than 5 points?
CREATE TABLE table_name_69 (draws INTEGER, wins VARCHAR, points VARCHAR)
SELECT AVG(draws) FROM table_name_69 WHERE wins < 3 AND points > 5
What is the average number of goals with more than 9 points, less than 14 goals against, and a goal difference less than 17?
CREATE TABLE table_name_81 (goals_for INTEGER, goal_difference VARCHAR, points VARCHAR, goals_against VARCHAR)
SELECT AVG(goals_for) FROM table_name_81 WHERE points > 9 AND goals_against < 14 AND goal_difference < 17
What is the average number of wins with less than 10 goals?
CREATE TABLE table_name_76 (wins INTEGER, goals_against INTEGER)
SELECT AVG(wins) FROM table_name_76 WHERE goals_against < 10
What is the lowest position with a -22 goal difference and more than 5 points?
CREATE TABLE table_name_51 (position INTEGER, goal_difference VARCHAR, points VARCHAR)
SELECT MIN(position) FROM table_name_51 WHERE goal_difference = -22 AND points > 5
What is the Title, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitrakorn Mongkoltham?
CREATE TABLE table_name_79 (title VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR)
SELECT title FROM table_name_79 WHERE composer_s_ = "sakdatorn" AND arranger_s_ = "jitrakorn mongkoltham"
What is the Title, when the Lyricist(s) is Yarosake, and when the Composer(s) is Yarosake?
CREATE TABLE table_name_69 (title VARCHAR, lyricist_s_ VARCHAR, composer_s_ VARCHAR)
SELECT title FROM table_name_69 WHERE lyricist_s_ = "yarosake" AND composer_s_ = "yarosake"
What is the Length, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitrakorn Mongkoltham?
CREATE TABLE table_name_4 (length VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR)
SELECT length FROM table_name_4 WHERE composer_s_ = "sakdatorn" AND arranger_s_ = "jitrakorn mongkoltham"
Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25?
CREATE TABLE table_name_44 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR)
SELECT composer_s_ FROM table_name_44 WHERE arranger_s_ = "banana boat" AND length = "4:25"
Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25?
CREATE TABLE table_name_96 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR)
SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = "banana boat" AND length = "4:25"
What i the try bonus with 12 losses?
CREATE TABLE table_name_78 (try_bonus VARCHAR, lost VARCHAR)
SELECT try_bonus FROM table_name_78 WHERE lost = "12"
What was the losing bonus for the 20 played, and 353 points?
CREATE TABLE table_name_89 (losing_bonus VARCHAR, played VARCHAR, points_for VARCHAR)
SELECT losing_bonus FROM table_name_89 WHERE played = "20" AND points_for = "353"
What was the played with 38 tries?
CREATE TABLE table_name_55 (played VARCHAR, tries_for VARCHAR)
SELECT played FROM table_name_55 WHERE tries_for = "38"
What are the tries for a club of a club?
CREATE TABLE table_name_58 (tries_for VARCHAR)
SELECT tries_for FROM table_name_58 WHERE "club" = "club"
What is the loss with 319 points?
CREATE TABLE table_name_66 (lost VARCHAR, points_for VARCHAR)
SELECT lost FROM table_name_66 WHERE points_for = "319"
Who was the runner(s)-Up to winner Sarah Brice?
CREATE TABLE table_name_23 (runner_s__up VARCHAR, winner VARCHAR)
SELECT runner_s__up FROM table_name_23 WHERE winner = "sarah brice"
What season had bachelor Byron Velvick?
CREATE TABLE table_name_19 (season INTEGER, bachelor VARCHAR)
SELECT MIN(season) FROM table_name_19 WHERE bachelor = "byron velvick"
What was the season that the runner -up was Tenley Molzahn?
CREATE TABLE table_name_34 (season INTEGER, runner_s__up VARCHAR)
SELECT SUM(season) FROM table_name_34 WHERE runner_s__up = "tenley molzahn"
Who was the runner-up for the show that premiered on March 25, 2002?
CREATE TABLE table_name_50 (runner_s__up VARCHAR, premiered VARCHAR)
SELECT runner_s__up FROM table_name_50 WHERE premiered = "march 25, 2002"
Who was the leading scorer on the game played on February 25?
CREATE TABLE table_name_28 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_28 WHERE date = "february 25"
What was the visiting team that had a record of 26-18?
CREATE TABLE table_name_82 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_82 WHERE record = "26-18"
What was the score for the game played between Cleveland and Orlando at Cleveland?
CREATE TABLE table_name_26 (score VARCHAR, home VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_26 WHERE home = "cleveland" AND visitor = "orlando"
What was the visiting team for the game that ended 82-75?
CREATE TABLE table_name_51 (visitor VARCHAR, score VARCHAR)
SELECT visitor FROM table_name_51 WHERE score = "82-75"
who were the semifinalists for the tournament in montreal?
CREATE TABLE table_name_95 (semifinalists VARCHAR, tournament VARCHAR)
SELECT semifinalists FROM table_name_95 WHERE tournament = "montreal"
Who was the finalist for the tournament in berlin?
CREATE TABLE table_name_14 (finalist VARCHAR, tournament VARCHAR)
SELECT finalist FROM table_name_14 WHERE tournament = "berlin"
What type of surface was played at the tournament in berlin?
CREATE TABLE table_name_16 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_16 WHERE tournament = "berlin"
Where was the tournament where monica seles was the finalist who played on a hard surface?
CREATE TABLE table_name_60 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR)
SELECT tournament FROM table_name_60 WHERE surface = "hard" AND finalist = "monica seles"
Who is the away team against the home team Hartlepools United?
CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_61 WHERE home_team = "hartlepools united"
Who is the away team against the home team Ashington?
CREATE TABLE table_name_76 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_76 WHERE home_team = "ashington"
What is the score for the away team, Ipswich Town?
CREATE TABLE table_name_6 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_6 WHERE away_team = "ipswich town"
What date did the away team Mansfield Town play?
CREATE TABLE table_name_56 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_56 WHERE away_team = "mansfield town"
What was the score fore the away team Dartford?
CREATE TABLE table_name_88 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_88 WHERE away_team = "dartford"
What date did the away team Bristol Rovers play?
CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_63 WHERE away_team = "bristol rovers"
What is the Brigade, when the Type is Rural, and when the value for Tankers is 1?
CREATE TABLE table_name_10 (brigade VARCHAR, type VARCHAR, tankers VARCHAR)
SELECT brigade FROM table_name_10 WHERE type = "rural" AND tankers = 1
What is the Hazmat, when the Type is Rural, and when the number of Tankers is 1?
CREATE TABLE table_name_98 (hazmat VARCHAR, type VARCHAR, tankers VARCHAR)
SELECT hazmat FROM table_name_98 WHERE type = "rural" AND tankers = 1
Which country had the first store in the year 2007?
CREATE TABLE table_name_15 (country VARCHAR, first_store VARCHAR)
SELECT country FROM table_name_15 WHERE first_store = "2007"
What year was the first store that had a hypermarket of 3?
CREATE TABLE table_name_2 (first_store VARCHAR, hypermarkets VARCHAR)
SELECT first_store FROM table_name_2 WHERE hypermarkets = 3
What year was the first store in India?
CREATE TABLE table_name_20 (first_store VARCHAR, country VARCHAR)
SELECT first_store FROM table_name_20 WHERE country = "india"
Can you tell me the average Attendance rhat has the Opponent of dunfermline athletic?
CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_85 WHERE opponent = "dunfermline athletic"
Can you tell me the average Attendance that has the Scorers of steven, johnston, walters, mccoist, i.ferguson?
CREATE TABLE table_name_10 (attendance INTEGER, scorers VARCHAR)
SELECT AVG(attendance) FROM table_name_10 WHERE scorers = "steven, johnston, walters, mccoist, i.ferguson"
What number has 0 steals and less than 32 points?
CREATE TABLE table_name_46 (number VARCHAR, points VARCHAR, steals VARCHAR)
SELECT number FROM table_name_46 WHERE points < 32 AND steals = 0
What was the overall score when the score for set 3 is 21–25?
CREATE TABLE table_name_55 (score VARCHAR, set_3 VARCHAR)
SELECT score FROM table_name_55 WHERE set_3 = "21–25"
What is the set 1 score when the total is 85–101?
CREATE TABLE table_name_92 (set_1 VARCHAR, total VARCHAR)
SELECT set_1 FROM table_name_92 WHERE total = "85–101"
On what date was the score for set 3 22–25?
CREATE TABLE table_name_32 (date VARCHAR, set_3 VARCHAR)
SELECT date FROM table_name_32 WHERE set_3 = "22–25"
What is the overall score when the set 2 score is 25–18?
CREATE TABLE table_name_57 (score VARCHAR, set_2 VARCHAR)
SELECT score FROM table_name_57 WHERE set_2 = "25–18"
What is the score for set 1 when the score for set 3 is 22–25?
CREATE TABLE table_name_10 (set_1 VARCHAR, set_3 VARCHAR)
SELECT set_1 FROM table_name_10 WHERE set_3 = "22–25"
What Player had a Score of 70-69-75=214?
CREATE TABLE table_name_11 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_11 WHERE score = 70 - 69 - 75 = 214
With a To par of +4, what is Andy Bean's Score?
CREATE TABLE table_name_21 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_21 WHERE to_par = "+4" AND player = "andy bean"
What is the To par of the T5 Place Player with a Score of 71-68-76=215?
CREATE TABLE table_name_33 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_33 WHERE place = "t5" AND score = 71 - 68 - 76 = 215
What is the Place of the Player with a To par of +4 and Score of 70-76-71=217?
CREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_67 WHERE to_par = "+4" AND score = 70 - 76 - 71 = 217
What is the Score of the T3 Place Player?
CREATE TABLE table_name_33 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_33 WHERE place = "t3"
What is the Country of the Player with a To par of –1?
CREATE TABLE table_name_35 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_35 WHERE to_par = "–1"
In what year was Luxembourg Host?
CREATE TABLE table_name_77 (year INTEGER, host VARCHAR)
SELECT MIN(year) FROM table_name_77 WHERE host = "luxembourg"
When Iceland gets the Silver, who gets the Bronze?
CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR)
SELECT bronze FROM table_name_67 WHERE silver = "iceland"
What is the maximum rank when there is 0 gold, and the bronze is less than 4, and the silver is greater than 1, and 2 as the total?
CREATE TABLE table_name_76 (rank INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_76 WHERE gold = 0 AND bronze < 4 AND total = 2 AND silver > 1
Rank 14 with a total greater than 1 has what as the average bronze?
CREATE TABLE table_name_41 (bronze INTEGER, rank VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_41 WHERE rank = 14 AND total > 1
How many medals under total when silver is less than 2, gold is 3, and bronze is less than 0?
CREATE TABLE table_name_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_53 WHERE silver < 2 AND gold = 3 AND bronze < 0
What is the fewest total when silver is 0, and gold is less than 1, and rank is less than 13?
CREATE TABLE table_name_16 (total INTEGER, rank VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT MIN(total) FROM table_name_16 WHERE silver = 0 AND gold < 1 AND rank < 13
What is the total rank where the total is less than 5, and bronze is less than 0?
CREATE TABLE table_name_18 (rank VARCHAR, total VARCHAR, bronze VARCHAR)
SELECT COUNT(rank) FROM table_name_18 WHERE total < 5 AND bronze < 0
What place was the player hailing from Zimbabwe in?
CREATE TABLE table_name_86 (place VARCHAR, country VARCHAR)
SELECT place FROM table_name_86 WHERE country = "zimbabwe"
What was the score of Bernhard Langer after 3 rounds?
CREATE TABLE table_name_88 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_88 WHERE player = "bernhard langer"
How many Goals for were recorded when there was a percentage smaller than 0.519 and points greater than 65?
CREATE TABLE table_name_62 (goals_for VARCHAR, pct__percentage VARCHAR, points VARCHAR)
SELECT COUNT(goals_for) FROM table_name_62 WHERE pct__percentage < 0.519 AND points > 65
How many games were recorded with Goals for number of 215?
CREATE TABLE table_name_34 (games VARCHAR, goals_for VARCHAR)
SELECT COUNT(games) FROM table_name_34 WHERE goals_for = 215
what is the to par when the player is jack nicklaus?
CREATE TABLE table_name_29 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_29 WHERE player = "jack nicklaus"
what is the lowest money ($) when the place is t2 for player johnny miller?
CREATE TABLE table_name_81 (money___ INTEGER, place VARCHAR, player VARCHAR)
SELECT MIN(money___) AS $__ FROM table_name_81 WHERE place = "t2" AND player = "johnny miller"
what is the to par when the score is 69-70-72-72=283?
CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 - 72 = 283
What was the venue when the result was 3-2?
CREATE TABLE table_name_50 (venue VARCHAR, result VARCHAR)
SELECT venue FROM table_name_50 WHERE result = "3-2"
What competition had a score of 3-0, and a result of 4-1?
CREATE TABLE table_name_8 (competition VARCHAR, score VARCHAR, result VARCHAR)
SELECT competition FROM table_name_8 WHERE score = "3-0" AND result = "4-1"
Which Tie no that has an Away team of altrincham?
CREATE TABLE table_name_28 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_28 WHERE away_team = "altrincham"
When has a Score of 0–1, and a Tie no of 3?
CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_12 WHERE score = "0–1" AND tie_no = "3"
When has a Tie no of 15?
CREATE TABLE table_name_17 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_17 WHERE tie_no = "15"
Which Away has a Tie no of replay, and a Score of 2–0?
CREATE TABLE table_name_93 (away_team VARCHAR, tie_no VARCHAR, score VARCHAR)
SELECT away_team FROM table_name_93 WHERE tie_no = "replay" AND score = "2–0"
Name the Score on 17 december 1979?
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_80 WHERE date = "17 december 1979"
Name the Home team of tranmere rovers?
CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_14 WHERE home_team = "tranmere rovers"
what is the area when the census ranking is 2,290 of 5,008?
CREATE TABLE table_name_49 (area_km_2 VARCHAR, census_ranking VARCHAR)
SELECT area_km_2 FROM table_name_49 WHERE census_ranking = "2,290 of 5,008"