answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT others FROM table_name_10 WHERE szdsz = "4%" AND fidesz = "60%"
CREATE TABLE table_name_10 (others VARCHAR, szdsz VARCHAR, fidesz VARCHAR)
What percentage of others have an SZDSZ of 4% and a Fidesz of 60%?
SELECT others FROM table_name_93 WHERE fidesz = "62%" AND jobbik = "4%"
CREATE TABLE table_name_93 (others VARCHAR, fidesz VARCHAR, jobbik VARCHAR)
What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%?
SELECT date FROM table_name_14 WHERE others = "5%" AND szdsz = "5%"
CREATE TABLE table_name_14 (date VARCHAR, others VARCHAR, szdsz VARCHAR)
On what date do others have 5% with an SZDSZ of 5%?
SELECT szdsz FROM table_name_60 WHERE jobbik = "5%" AND fidesz = "68%"
CREATE TABLE table_name_60 (szdsz VARCHAR, jobbik VARCHAR, fidesz VARCHAR)
What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?
SELECT jobbik FROM table_name_41 WHERE fidesz = "61%" AND others = "2%"
CREATE TABLE table_name_41 (jobbik VARCHAR, fidesz VARCHAR, others VARCHAR)
What is the Jobbik percentage with a Fidesz of 61% and others of 2%?
SELECT turnout__percentage FROM table_name_11 WHERE ngilu = "3,429"
CREATE TABLE table_name_11 (turnout__percentage VARCHAR, ngilu VARCHAR)
What's listed for the Turnout % with a Ngilu of 3,429?
SELECT turnout__percentage FROM table_name_70 WHERE raila = "519,180"
CREATE TABLE table_name_70 (turnout__percentage VARCHAR, raila VARCHAR)
What's listed for the Turnout % with a Raila of 519,180?
SELECT turnout__percentage FROM table_name_32 WHERE ngilu = "30,535"
CREATE TABLE table_name_32 (turnout__percentage VARCHAR, ngilu VARCHAR)
What's listed for the Turnout % with a Ngilu of 30,535?
SELECT registered_voters FROM table_name_68 WHERE ngilu = "3,429"
CREATE TABLE table_name_68 (registered_voters VARCHAR, ngilu VARCHAR)
What's listed for the Registered Voters with a Ngilu of 3,429?
SELECT province FROM table_name_82 WHERE wamalwa = "4,431"
CREATE TABLE table_name_82 (province VARCHAR, wamalwa VARCHAR)
What is listed for the Province with a Wamalwa of 4,431?
SELECT wamalwa FROM table_name_32 WHERE turnout__percentage = "55.9%"
CREATE TABLE table_name_32 (wamalwa VARCHAR, turnout__percentage VARCHAR)
What's listed for the Wamalwa that has a Turnout % of 55.9%?
SELECT AVG(partial_failures) FROM table_name_87 WHERE rocket = "ariane 5"
CREATE TABLE table_name_87 (partial_failures INTEGER, rocket VARCHAR)
What were the average partial failures when the rocket was Ariane 5?
SELECT AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = "soyuz" AND successes < 12
CREATE TABLE table_name_3 (launches INTEGER, successes VARCHAR, failures VARCHAR, rocket VARCHAR)
What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes?
SELECT SUM(launches) FROM table_name_4 WHERE rocket = "long march 3" AND failures > 0
CREATE TABLE table_name_4 (launches INTEGER, rocket VARCHAR, failures VARCHAR)
What is the sum of launches with Long March 3 and 0 failures?
SELECT MIN(failures) FROM table_name_28 WHERE launches = 1 AND partial_failures < 0
CREATE TABLE table_name_28 (failures INTEGER, launches VARCHAR, partial_failures VARCHAR)
What is the least amount of failures with 1 launch and 0 partial failures?
SELECT AVG(launches) FROM table_name_63 WHERE rocket = "ariane 5" AND partial_failures < 0
CREATE TABLE table_name_63 (launches INTEGER, rocket VARCHAR, partial_failures VARCHAR)
What were the average launches for Ariane 5 and 0 partial failures?
SELECT race FROM table_name_15 WHERE group = "na" AND result = "4th"
CREATE TABLE table_name_15 (race VARCHAR, group VARCHAR, result VARCHAR)
What was the race of the jockey in na group in 4th place?
SELECT distance FROM table_name_67 WHERE jockey = "p. carbery" AND result = "2nd"
CREATE TABLE table_name_67 (distance VARCHAR, jockey VARCHAR, result VARCHAR)
How far did p. carbery run to get 2nd?
SELECT transmission FROM table_name_32 WHERE trim = "xe (2009)"
CREATE TABLE table_name_32 (transmission VARCHAR, trim VARCHAR)
What is the Removal that has a Trim of xe (2009)?
SELECT torque FROM table_name_18 WHERE power = "hp (kw)" AND trim = "xr (2009)"
CREATE TABLE table_name_18 (torque VARCHAR, power VARCHAR, trim VARCHAR)
What is the Torque that has a Power of hp (kw), and a Trim of xr (2009)? Question 6
SELECT MIN(round) FROM table_name_83 WHERE college_junior_club_team__league_ = "oshawa generals (oha)" AND player = "bob kelly"
CREATE TABLE table_name_83 (round INTEGER, college_junior_club_team__league_ VARCHAR, player VARCHAR)
Which Round is the lowest one that has a College/Junior/Club Team (League) of oshawa generals (oha), and a Player of bob kelly?
SELECT surface FROM table_name_76 WHERE partner = "remi tezuka"
CREATE TABLE table_name_76 (surface VARCHAR, partner VARCHAR)
What surface was used when she played with Remi Tezuka?
SELECT results FROM table_name_94 WHERE record = "28-12"
CREATE TABLE table_name_94 (results VARCHAR, record VARCHAR)
What Results has the Record of 28-12?
SELECT results FROM table_name_36 WHERE seed = "#12" AND year < 1996
CREATE TABLE table_name_36 (results VARCHAR, seed VARCHAR, year VARCHAR)
What Results has a Seed #12 and a Year that's smaller than 1996
SELECT MAX(year) FROM table_name_23 WHERE record = "18-12"
CREATE TABLE table_name_23 (year INTEGER, record VARCHAR)
What's the highest Year with the Record of 18-12?
SELECT MAX(year) FROM table_name_11 WHERE region = "southeast"
CREATE TABLE table_name_11 (year INTEGER, region VARCHAR)
What's the highest Year with the Region of Southeast?
SELECT record FROM table_name_11 WHERE year > 2012
CREATE TABLE table_name_11 (record VARCHAR, year INTEGER)
What Record has a Year that's larger than 2012?
SELECT record FROM table_name_84 WHERE opponent = "kansas city kings"
CREATE TABLE table_name_84 (record VARCHAR, opponent VARCHAR)
What is the Laker's record when they played against Kansas City Kings?
SELECT pronunciation_a FROM table_name_83 WHERE word = "傳"
CREATE TABLE table_name_83 (pronunciation_a VARCHAR, word VARCHAR)
Name the pronunciation for 傳
SELECT pronunciation_a FROM table_name_85 WHERE meaning_a = "king"
CREATE TABLE table_name_85 (pronunciation_a VARCHAR, meaning_a VARCHAR)
Name the pronunciation for meaning of king
SELECT word FROM table_name_55 WHERE pronunciation_b = "*sɨks"
CREATE TABLE table_name_55 (word VARCHAR, pronunciation_b VARCHAR)
Name the word with pronunciation b of *sɨks
SELECT pronunciation_b FROM table_name_64 WHERE meaning_b = "border, frontier"
CREATE TABLE table_name_64 (pronunciation_b VARCHAR, meaning_b VARCHAR)
Name the pronunciation for meaning b of border, frontier
SELECT pronunciation_b FROM table_name_56 WHERE meaning_a = "grind"
CREATE TABLE table_name_56 (pronunciation_b VARCHAR, meaning_a VARCHAR)
Name the pronunciation b for meaning of grind
SELECT 2008 FROM table_name_87 WHERE 2006 = "2nd"
CREATE TABLE table_name_87 (Id VARCHAR)
What is the 2008 value that was 2nd in 2006?
SELECT AVG(total) FROM table_name_8 WHERE 2010 = "1st"
CREATE TABLE table_name_8 (total INTEGER)
What is the average total that is 1st in 2010?
SELECT 2008 FROM table_name_94 WHERE 2010 = "7"
CREATE TABLE table_name_94 (Id VARCHAR)
What is the 2008 value with a 7 in 2010?
SELECT location FROM table_name_12 WHERE name = "woodburn dragstrip"
CREATE TABLE table_name_12 (location VARCHAR, name VARCHAR)
What is the Location for the woodburn dragstrip?
SELECT state FROM table_name_28 WHERE opened__closing_date_if_defunct_ = "1960"
CREATE TABLE table_name_28 (state VARCHAR, opened__closing_date_if_defunct_ VARCHAR)
What State has an Opened (closing date if defunct) that shows 1960?
SELECT location FROM table_name_70 WHERE name = "route 66 raceway"
CREATE TABLE table_name_70 (location VARCHAR, name VARCHAR)
What is the Location for the route 66 raceway?
SELECT location FROM table_name_6 WHERE name = "newington international airport"
CREATE TABLE table_name_6 (location VARCHAR, name VARCHAR)
What is the Location for the newington international airport?
SELECT name FROM table_name_9 WHERE opened__closing_date_if_defunct_ = "1995" AND length = "miles (m)" AND state = "illinois"
CREATE TABLE table_name_9 (name VARCHAR, state VARCHAR, opened__closing_date_if_defunct_ VARCHAR, length VARCHAR)
What is the Name with an Opened (closing date if defunct) of 1995 and has a Length of miles (m), in Illinois?
SELECT score FROM table_name_45 WHERE opponents = "amanda brown brenda remilton"
CREATE TABLE table_name_45 (score VARCHAR, opponents VARCHAR)
What is the Score with an Opponent that is amanda brown brenda remilton?
SELECT score FROM table_name_1 WHERE outcome = "runner-up" AND partner = "elizabeth little"
CREATE TABLE table_name_1 (score VARCHAR, outcome VARCHAR, partner VARCHAR)
What is the Score with an Outcome of runner-up, and a Partner that is elizabeth little?
SELECT pitcher FROM table_name_88 WHERE date = "june 8, 1961"
CREATE TABLE table_name_88 (pitcher VARCHAR, date VARCHAR)
Who was the pitcher on June 8, 1961?
SELECT team FROM table_name_54 WHERE inn = "9th"
CREATE TABLE table_name_54 (team VARCHAR, inn VARCHAR)
What team had the record asscoiated with the 9th inning?
SELECT venue FROM table_name_49 WHERE team = "boston red sox"
CREATE TABLE table_name_49 (venue VARCHAR, team VARCHAR)
In what venue did the Boston Red Sox play in?
SELECT pitcher FROM table_name_55 WHERE inn = "7th"
CREATE TABLE table_name_55 (pitcher VARCHAR, inn VARCHAR)
Who was the pitcher with the record recorded in the 7th inning?
SELECT result FROM table_name_8 WHERE incumbent = "david e. finley"
CREATE TABLE table_name_8 (result VARCHAR, incumbent VARCHAR)
When David E. Finley was the incumbent what was the result?
SELECT result FROM table_name_53 WHERE first_elected = "1898"
CREATE TABLE table_name_53 (result VARCHAR, first_elected VARCHAR)
When someone was first elected in 1898 what was the result?
SELECT party FROM table_name_86 WHERE incumbent = "stanyarne wilson"
CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR)
What party has an incumbent of Stanyarne Wilson?
SELECT result FROM table_name_75 WHERE incumbent = "william elliott"
CREATE TABLE table_name_75 (result VARCHAR, incumbent VARCHAR)
When the incumbent was William Elliott, what was the result?
SELECT opponents FROM table_name_84 WHERE score = "2-1" AND competition = "pl" AND date = "december 22, 2006"
CREATE TABLE table_name_84 (opponents VARCHAR, date VARCHAR, score VARCHAR, competition VARCHAR)
Score of 2-1, and a Competition of pl, and a Date of december 22, 2006 had what opponents?
SELECT score FROM table_name_2 WHERE date = "april 3, 2007"
CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR)
Date of april 3, 2007 had what score?
SELECT date FROM table_name_5 WHERE competition = "pl" AND score = "1-1" AND opponents = "kelantan"
CREATE TABLE table_name_5 (date VARCHAR, opponents VARCHAR, competition VARCHAR, score VARCHAR)
Competition of pl, and a Score of 1-1, and a Opponents of kelantan had what date?
SELECT competition FROM table_name_71 WHERE venue = "klfa stadium, cheras" AND score = "3-3"
CREATE TABLE table_name_71 (competition VARCHAR, venue VARCHAR, score VARCHAR)
Venue of klfa stadium, cheras, and a Score of 3-3 had what competition?
SELECT date FROM table_name_35 WHERE opponents = "police" AND venue = "selayang municipal council stadium"
CREATE TABLE table_name_35 (date VARCHAR, opponents VARCHAR, venue VARCHAR)
Opponents of police, and a Venue of selayang municipal council stadium had what date?
SELECT venue FROM table_name_69 WHERE competition = "fa cup rd 1"
CREATE TABLE table_name_69 (venue VARCHAR, competition VARCHAR)
Competition of fa cup rd 1 had what venue?
SELECT visitor FROM table_name_24 WHERE date = "january 27"
CREATE TABLE table_name_24 (visitor VARCHAR, date VARCHAR)
Who was the visiting team on January 27?
SELECT home FROM table_name_43 WHERE date = "february 25"
CREATE TABLE table_name_43 (home VARCHAR, date VARCHAR)
What is the home team that played on February 25?
SELECT date FROM table_name_64 WHERE visitor = "chicago"
CREATE TABLE table_name_64 (date VARCHAR, visitor VARCHAR)
Name the date with chicago visiting
SELECT home FROM table_name_76 WHERE visitor = "chicago"
CREATE TABLE table_name_76 (home VARCHAR, visitor VARCHAR)
Name the home with chicago visiting
SELECT MAX(apps) FROM table_name_55 WHERE goals > 63 AND avge = 0.45
CREATE TABLE table_name_55 (apps INTEGER, goals VARCHAR, avge VARCHAR)
What is the highest number of apps of the player with more than 63 goals and an avge of 0.45?
SELECT COUNT(avge) FROM table_name_25 WHERE name = "john hall" AND goals < 63
CREATE TABLE table_name_25 (avge VARCHAR, name VARCHAR, goals VARCHAR)
What is the total avge of John Hall, who has less than 63 goals?
SELECT SUM(year) FROM table_name_87 WHERE score = "278" AND champion = "kim thompson"
CREATE TABLE table_name_87 (year INTEGER, score VARCHAR, champion VARCHAR)
When did Kim Thompson win with 278 score?
SELECT venue FROM table_name_26 WHERE champion = "steve gotsche"
CREATE TABLE table_name_26 (venue VARCHAR, champion VARCHAR)
Where did Steve Gotsche win?
SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest"
CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)
What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
SELECT height__m_ft_ FROM table_name_47 WHERE city = "bucharest" AND built = 2009 AND rank = 13
CREATE TABLE table_name_47 (height__m_ft_ VARCHAR, rank VARCHAR, city VARCHAR, built VARCHAR)
What is the Height (m/ft) for bucharest Built in 2009, and a Rank of 13?
SELECT city FROM table_name_47 WHERE building = "bucharest tower center (btc)"
CREATE TABLE table_name_47 (city VARCHAR, building VARCHAR)
What city is the bucharest tower center (btc) located in?
SELECT building FROM table_name_90 WHERE city = "bucharest" AND rank < 12
CREATE TABLE table_name_90 (building VARCHAR, city VARCHAR, rank VARCHAR)
What is the name of the building in Bucharest with a rank of less than 12?
SELECT city FROM table_name_93 WHERE built = 1988
CREATE TABLE table_name_93 (city VARCHAR, built VARCHAR)
What city was the building built in 1988?
SELECT score FROM table_name_39 WHERE home = "boston bruins" AND date = "april 11"
CREATE TABLE table_name_39 (score VARCHAR, home VARCHAR, date VARCHAR)
What is the score of the Boston Bruins game from April 11?
SELECT record FROM table_name_7 WHERE home = "hartford whalers" AND date = "april 13"
CREATE TABLE table_name_7 (record VARCHAR, home VARCHAR, date VARCHAR)
What is the record of the Hartford Whalers home team with the April 13 game date?
SELECT score FROM table_name_8 WHERE visitor = "hartford whalers" AND date = "april 11"
CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR)
What is the score of the visiting Hartford Whalers game from April 11?
SELECT passengers FROM table_name_65 WHERE carriers = "air canada"
CREATE TABLE table_name_65 (passengers VARCHAR, carriers VARCHAR)
Which Passengers have Carriers of air canada?
SELECT metropolitan_area FROM table_name_94 WHERE airport = "toronto pearson international airport"
CREATE TABLE table_name_94 (metropolitan_area VARCHAR, airport VARCHAR)
Which Metropolitan area has an Airport of toronto pearson international airport?
SELECT link FROM table_name_64 WHERE date_of_polling = "january 31 – february 3, 2011"
CREATE TABLE table_name_64 (link VARCHAR, date_of_polling VARCHAR)
What is the link for january 31 – february 3, 2011?
SELECT date_of_polling FROM table_name_2 WHERE polling_firm = "forum research" AND green = 7 AND liberal < 30
CREATE TABLE table_name_2 (date_of_polling VARCHAR, liberal VARCHAR, polling_firm VARCHAR, green VARCHAR)
On what date of polling was the Polling Firm forum research with 7 green and less than 30 liberals?
SELECT polling_firm FROM table_name_96 WHERE link = "html" AND liberal < 36 AND green < 8 AND date_of_polling = "september 26–28, 2011"
CREATE TABLE table_name_96 (polling_firm VARCHAR, date_of_polling VARCHAR, green VARCHAR, link VARCHAR, liberal VARCHAR)
Which september 26–28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green?
SELECT polling_firm FROM table_name_89 WHERE green < 13 AND date_of_polling = "june 21–22, 2011"
CREATE TABLE table_name_89 (polling_firm VARCHAR, green VARCHAR, date_of_polling VARCHAR)
What june 21–22, 2011 polling has green smaller than 13?
SELECT years_as_tallest FROM table_name_83 WHERE floors = 31
CREATE TABLE table_name_83 (years_as_tallest VARCHAR, floors VARCHAR)
What is listed under the Years as tallest, that has Floors of 31?
SELECT MIN(floors) FROM table_name_29 WHERE feet > 262 AND name = "standard bank building" AND metres > 138.8
CREATE TABLE table_name_29 (floors INTEGER, metres VARCHAR, feet VARCHAR, name VARCHAR)
What's the lowest Floors with Feet that's larger htan 262, has a Name of Standard Bank Building, and Metres that's larger htan 138.8?
SELECT COUNT(metres) FROM table_name_51 WHERE feet < 196
CREATE TABLE table_name_51 (metres VARCHAR, feet INTEGER)
What is the sum of Metres wiht a Feet that's smaller than 196?
SELECT MAX(weight__kg_) FROM table_name_24 WHERE position = "scrum half"
CREATE TABLE table_name_24 (weight__kg_ INTEGER, position VARCHAR)
What is the highest weight of the position scrum half?
SELECT power FROM table_name_15 WHERE torque = "n·m (lb·ft) at1,500rpm"
CREATE TABLE table_name_15 (power VARCHAR, torque VARCHAR)
What is the power of the engine with a torque of n·m (lb·ft) at1,500rpm?
SELECT torque FROM table_name_86 WHERE engine = "1.3 16v multijet"
CREATE TABLE table_name_86 (torque VARCHAR, engine VARCHAR)
Which torque value is associated with the 1.3 16V multijet engine?
SELECT MIN(against) FROM table_name_17 WHERE drawn < 2 AND points = 10 AND lost < 4
CREATE TABLE table_name_17 (against INTEGER, lost VARCHAR, drawn VARCHAR, points VARCHAR)
What is the lowest against value with less than 2 draws, 10 points, and less than 4 lost?
SELECT AVG(position) FROM table_name_76 WHERE against < 11
CREATE TABLE table_name_76 (position INTEGER, against INTEGER)
What is the average position with an against value less than 11?
SELECT MAX(lost) FROM table_name_89 WHERE position > 10
CREATE TABLE table_name_89 (lost INTEGER, position INTEGER)
What is the largest value for lost with a position greater than 10?
SELECT COUNT(against) FROM table_name_4 WHERE team = "corinthians" AND lost < 3
CREATE TABLE table_name_4 (against VARCHAR, team VARCHAR, lost VARCHAR)
What is the total of all against values for the Corinthians with less than 3 lost?
SELECT MIN(against) FROM table_name_29 WHERE points < 9 AND lost > 6
CREATE TABLE table_name_29 (against INTEGER, points VARCHAR, lost VARCHAR)
What is the lowest against value with less than 9 points and more than 6 lost?
SELECT tournament FROM table_name_83 WHERE date = "nov 5" AND location = "mississippi"
CREATE TABLE table_name_83 (tournament VARCHAR, date VARCHAR, location VARCHAR)
What tournament located is mississippi was nov 5
SELECT SUM(1 AS st_prize___) AS $__ FROM table_name_19 WHERE date = "may 21"
CREATE TABLE table_name_19 (date VARCHAR)
what is the 1st prize for may 21
SELECT director FROM table_name_41 WHERE producer = "hiroshi sato" AND platform_s_ = "gba"
CREATE TABLE table_name_41 (director VARCHAR, producer VARCHAR, platform_s_ VARCHAR)
Who is the director of the game with HIroshi Sato as the producer on the GBA platform?
SELECT director FROM table_name_93 WHERE title = "last window: the secret of cape west 3"
CREATE TABLE table_name_93 (director VARCHAR, title VARCHAR)
Who is the director of Last Window: The Secret of Cape West 3?
SELECT platform_s_ FROM table_name_5 WHERE year = 2010 AND director = "shuichiro nishiya"
CREATE TABLE table_name_5 (platform_s_ VARCHAR, year VARCHAR, director VARCHAR)
What is the platform of the 2010 game with Shuichiro Nishiya as director?
SELECT opponent FROM table_name_66 WHERE october = 29
CREATE TABLE table_name_66 (opponent VARCHAR, october VARCHAR)
Which Opponent is on October of 29?
SELECT MIN(october) FROM table_name_50 WHERE record = "1–0–0"
CREATE TABLE table_name_50 (october INTEGER, record VARCHAR)
WHich October has a Record of 1–0–0?
SELECT opponent FROM table_name_42 WHERE october > 20 AND score = "2–2"
CREATE TABLE table_name_42 (opponent VARCHAR, october VARCHAR, score VARCHAR)
Which Opponent has a October larger than 20 with a Score of 2–2?
SELECT COUNT(year) FROM table_name_34 WHERE score = 269
CREATE TABLE table_name_34 (year VARCHAR, score VARCHAR)
What year was the score 269?
SELECT AVG(points) FROM table_name_96 WHERE class = "250cc" AND wins < 0
CREATE TABLE table_name_96 (points INTEGER, class VARCHAR, wins VARCHAR)
What is the average number of points for a team in the 250cc class with fewer than 0 wins?