context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_name_52 (name VARCHAR, town_city VARCHAR) | What is the museum name located in Rudyard? | SELECT name FROM table_name_52 WHERE town_city = "rudyard" |
CREATE TABLE table_name_43 (region VARCHAR, name VARCHAR) | What is the region that the Blaine County Museum is located in? | SELECT region FROM table_name_43 WHERE name = "blaine county museum" |
CREATE TABLE table_name_13 (tournament VARCHAR, score VARCHAR) | What Tournament had a Score of 6–3, 2–6, 6–3? | SELECT tournament FROM table_name_13 WHERE score = "6–3, 2–6, 6–3" |
CREATE TABLE table_name_31 (partner VARCHAR, score VARCHAR) | What Partner had a Score of 6–3, 2–6, 6–3? | SELECT partner FROM table_name_31 WHERE score = "6–3, 2–6, 6–3" |
CREATE TABLE table_name_6 (opponents VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR) | Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up? | SELECT opponents FROM table_name_6 WHERE outcome = "runner-up" AND surface = "hard" AND partner = "catherine suire" |
CREATE TABLE table_name_4 (visitor VARCHAR, record VARCHAR) | Who was the visiting team when the record was 6–12–5–1? | SELECT visitor FROM table_name_4 WHERE record = "6–12–5–1" |
CREATE TABLE table_name_56 (home VARCHAR, record VARCHAR) | Who was the home team when the record was 21–45–8–5? | SELECT home FROM table_name_56 WHERE record = "21–45–8–5" |
CREATE TABLE table_name_15 (attribute VARCHAR, cancelable VARCHAR, bubbles VARCHAR) | Which of the attributes has is cancelable and an answer of yes for bubbles? | SELECT attribute FROM table_name_15 WHERE cancelable = "yes" AND bubbles = "yes" |
CREATE TABLE table_name_87 (bubbles VARCHAR, attribute VARCHAR) | Which bubbles has an atribute of onlostpointercapture? | SELECT bubbles FROM table_name_87 WHERE attribute = "onlostpointercapture" |
CREATE TABLE table_name_75 (cancelable VARCHAR, attribute VARCHAR) | For the attribute of onpointerout, what is the cancelable? | SELECT cancelable FROM table_name_75 WHERE attribute = "onpointerout" |
CREATE TABLE table_name_58 (bubbles VARCHAR, cancelable VARCHAR, attribute VARCHAR) | Which bubble have a cancelable of yes and an attribute of onpointerdown? | SELECT bubbles FROM table_name_58 WHERE cancelable = "yes" AND attribute = "onpointerdown" |
CREATE TABLE table_name_91 (grid INTEGER, driver VARCHAR, points VARCHAR) | What's the highest grid of Ronnie Bremer, who had more than 18 points? | SELECT MAX(grid) FROM table_name_91 WHERE driver = "ronnie bremer" AND points > 18 |
CREATE TABLE table_name_71 (points INTEGER, laps VARCHAR, grid VARCHAR) | What are the most points Lap 70 had with a grid larger than 16? | SELECT MAX(points) FROM table_name_71 WHERE laps = 70 AND grid > 16 |
CREATE TABLE table_name_2 (track VARCHAR, city VARCHAR) | What is the name of the track in Holland? | SELECT track FROM table_name_2 WHERE city = "holland" |
CREATE TABLE table_name_83 (track VARCHAR, state VARCHAR) | What is the track in Washington state? | SELECT track FROM table_name_83 WHERE state = "washington" |
CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR) | What is the city the track of manzanita speedway is in? | SELECT city FROM table_name_89 WHERE track = "manzanita speedway" |
CREATE TABLE table_name_2 (surface VARCHAR, track VARCHAR) | What is the surface of the track at the indianapolis speedrome? | SELECT surface FROM table_name_2 WHERE track = "indianapolis speedrome" |
CREATE TABLE table_name_84 (surface VARCHAR, track VARCHAR) | What is the surface for the riverhead raceway? | SELECT surface FROM table_name_84 WHERE track = "riverhead raceway" |
CREATE TABLE table_name_21 (city VARCHAR, track VARCHAR) | What city is the indianapolis speedrome in? | SELECT city FROM table_name_21 WHERE track = "indianapolis speedrome" |
CREATE TABLE table_name_44 (iupac_name VARCHAR, common_name VARCHAR) | What is the IUPAC name for chloroform? | SELECT iupac_name FROM table_name_44 WHERE common_name = "chloroform" |
CREATE TABLE table_name_8 (szdsz VARCHAR, mszp VARCHAR, date VARCHAR) | What is the SZDSZ percentage with an MSZP of 25% on 25/2/2009? | SELECT szdsz FROM table_name_8 WHERE mszp = "25%" AND date = "25/2/2009" |
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_10 WHERE szdsz = "4%" AND fidesz = "60%" |
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 others FROM table_name_93 WHERE fidesz = "62%" AND jobbik = "4%" |
CREATE TABLE table_name_14 (date VARCHAR, others VARCHAR, szdsz VARCHAR) | On what date do others have 5% with an SZDSZ of 5%? | SELECT date FROM table_name_14 WHERE others = "5%" AND szdsz = "5%" |
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 szdsz FROM table_name_60 WHERE jobbik = "5%" AND fidesz = "68%" |
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 jobbik FROM table_name_41 WHERE fidesz = "61%" AND others = "2%" |
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_11 WHERE ngilu = "3,429" |
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_70 WHERE raila = "519,180" |
CREATE TABLE table_name_32 (turnout__percentage VARCHAR, ngilu VARCHAR) | What's listed for the Turnout % with a Ngilu of 30,535? | SELECT turnout__percentage FROM table_name_32 WHERE ngilu = "30,535" |
CREATE TABLE table_name_68 (registered_voters VARCHAR, ngilu VARCHAR) | What's listed for the Registered Voters with a Ngilu of 3,429? | SELECT registered_voters FROM table_name_68 WHERE ngilu = "3,429" |
CREATE TABLE table_name_82 (province VARCHAR, wamalwa VARCHAR) | What is listed for the Province with a Wamalwa of 4,431? | SELECT province FROM table_name_82 WHERE wamalwa = "4,431" |
CREATE TABLE table_name_32 (wamalwa VARCHAR, turnout__percentage VARCHAR) | What's listed for the Wamalwa that has a Turnout % of 55.9%? | SELECT wamalwa FROM table_name_32 WHERE turnout__percentage = "55.9%" |
CREATE TABLE table_name_87 (partial_failures INTEGER, rocket VARCHAR) | What were the average partial failures when the rocket was Ariane 5? | SELECT AVG(partial_failures) FROM table_name_87 WHERE rocket = "ariane 5" |
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 AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = "soyuz" AND successes < 12 |
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 SUM(launches) FROM table_name_4 WHERE rocket = "long march 3" AND 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 MIN(failures) FROM table_name_28 WHERE launches = 1 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 AVG(launches) FROM table_name_63 WHERE rocket = "ariane 5" AND partial_failures < 0 |
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 race FROM table_name_15 WHERE group = "na" AND result = "4th" |
CREATE TABLE table_name_67 (distance VARCHAR, jockey VARCHAR, result VARCHAR) | How far did p. carbery run to get 2nd? | SELECT distance FROM table_name_67 WHERE jockey = "p. carbery" AND result = "2nd" |
CREATE TABLE table_name_32 (transmission VARCHAR, trim VARCHAR) | What is the Removal that has a Trim of xe (2009)? | SELECT transmission FROM table_name_32 WHERE trim = "xe (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 torque FROM table_name_18 WHERE power = "hp (kw)" AND trim = "xr (2009)" |
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 MIN(round) FROM table_name_83 WHERE college_junior_club_team__league_ = "oshawa generals (oha)" AND player = "bob kelly" |
CREATE TABLE table_name_76 (surface VARCHAR, partner VARCHAR) | What surface was used when she played with Remi Tezuka? | SELECT surface FROM table_name_76 WHERE partner = "remi tezuka" |
CREATE TABLE table_name_94 (results VARCHAR, record VARCHAR) | What Results has the Record of 28-12? | SELECT results FROM table_name_94 WHERE record = "28-12" |
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 results FROM table_name_36 WHERE seed = "#12" AND year < 1996 |
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_23 WHERE record = "18-12" |
CREATE TABLE table_name_11 (year INTEGER, region VARCHAR) | What's the highest Year with the Region of Southeast? | SELECT MAX(year) FROM table_name_11 WHERE region = "southeast" |
CREATE TABLE table_name_11 (record VARCHAR, year INTEGER) | What Record has a Year that's larger than 2012? | SELECT record FROM table_name_11 WHERE year > 2012 |
CREATE TABLE table_name_84 (record VARCHAR, opponent VARCHAR) | What is the Laker's record when they played against Kansas City Kings? | SELECT record FROM table_name_84 WHERE opponent = "kansas city kings" |
CREATE TABLE table_name_83 (pronunciation_a VARCHAR, word VARCHAR) | Name the pronunciation for 傳 | SELECT pronunciation_a FROM table_name_83 WHERE word = "傳" |
CREATE TABLE table_name_85 (pronunciation_a VARCHAR, meaning_a VARCHAR) | Name the pronunciation for meaning of king | SELECT pronunciation_a FROM table_name_85 WHERE meaning_a = "king" |
CREATE TABLE table_name_55 (word VARCHAR, pronunciation_b VARCHAR) | Name the word with pronunciation b of *sɨks | SELECT word FROM table_name_55 WHERE pronunciation_b = "*sɨks" |
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_64 WHERE meaning_b = "border, frontier" |
CREATE TABLE table_name_56 (pronunciation_b VARCHAR, meaning_a VARCHAR) | Name the pronunciation b for meaning of grind | SELECT pronunciation_b FROM table_name_56 WHERE meaning_a = "grind" |
CREATE TABLE table_name_87 (Id VARCHAR) | What is the 2008 value that was 2nd in 2006? | SELECT 2008 FROM table_name_87 WHERE 2006 = "2nd" |
CREATE TABLE table_name_8 (total INTEGER) | What is the average total that is 1st in 2010? | SELECT AVG(total) FROM table_name_8 WHERE 2010 = "1st" |
CREATE TABLE table_name_94 (Id VARCHAR) | What is the 2008 value with a 7 in 2010? | SELECT 2008 FROM table_name_94 WHERE 2010 = "7" |
CREATE TABLE table_name_12 (location VARCHAR, name VARCHAR) | What is the Location for the woodburn dragstrip? | SELECT location FROM table_name_12 WHERE name = "woodburn dragstrip" |
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 state FROM table_name_28 WHERE opened__closing_date_if_defunct_ = "1960" |
CREATE TABLE table_name_70 (location VARCHAR, name VARCHAR) | What is the Location for the route 66 raceway? | SELECT location FROM table_name_70 WHERE name = "route 66 raceway" |
CREATE TABLE table_name_6 (location VARCHAR, name VARCHAR) | What is the Location for the newington international airport? | SELECT location FROM table_name_6 WHERE name = "newington international airport" |
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 name FROM table_name_9 WHERE opened__closing_date_if_defunct_ = "1995" AND length = "miles (m)" AND state = "illinois" |
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_45 WHERE opponents = "amanda brown brenda remilton" |
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 score FROM table_name_1 WHERE outcome = "runner-up" AND partner = "elizabeth little" |
CREATE TABLE table_name_88 (pitcher VARCHAR, date VARCHAR) | Who was the pitcher on June 8, 1961? | SELECT pitcher FROM table_name_88 WHERE date = "june 8, 1961" |
CREATE TABLE table_name_54 (team VARCHAR, inn VARCHAR) | What team had the record asscoiated with the 9th inning? | SELECT team FROM table_name_54 WHERE inn = "9th" |
CREATE TABLE table_name_49 (venue VARCHAR, team VARCHAR) | In what venue did the Boston Red Sox play in? | SELECT venue FROM table_name_49 WHERE team = "boston red sox" |
CREATE TABLE table_name_55 (pitcher VARCHAR, inn VARCHAR) | Who was the pitcher with the record recorded in the 7th inning? | SELECT pitcher FROM table_name_55 WHERE inn = "7th" |
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_8 WHERE incumbent = "david e. finley" |
CREATE TABLE table_name_53 (result VARCHAR, first_elected VARCHAR) | When someone was first elected in 1898 what was the result? | SELECT result FROM table_name_53 WHERE first_elected = "1898" |
CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR) | What party has an incumbent of Stanyarne Wilson? | SELECT party FROM table_name_86 WHERE incumbent = "stanyarne wilson" |
CREATE TABLE table_name_75 (result VARCHAR, incumbent VARCHAR) | When the incumbent was William Elliott, what was the result? | SELECT result FROM table_name_75 WHERE incumbent = "william elliott" |
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 opponents FROM table_name_84 WHERE score = "2-1" AND competition = "pl" AND date = "december 22, 2006" |
CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR) | Date of april 3, 2007 had what score? | SELECT score FROM table_name_2 WHERE date = "april 3, 2007" |
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 date FROM table_name_5 WHERE competition = "pl" AND score = "1-1" AND opponents = "kelantan" |
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 competition FROM table_name_71 WHERE venue = "klfa stadium, cheras" AND score = "3-3" |
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 date FROM table_name_35 WHERE opponents = "police" AND venue = "selayang municipal council stadium" |
CREATE TABLE table_name_69 (venue VARCHAR, competition VARCHAR) | Competition of fa cup rd 1 had what venue? | SELECT venue FROM table_name_69 WHERE competition = "fa cup rd 1" |
CREATE TABLE table_name_24 (visitor VARCHAR, date VARCHAR) | Who was the visiting team on January 27? | SELECT visitor FROM table_name_24 WHERE date = "january 27" |
CREATE TABLE table_name_43 (home VARCHAR, date VARCHAR) | What is the home team that played on February 25? | SELECT home FROM table_name_43 WHERE date = "february 25" |
CREATE TABLE table_name_64 (date VARCHAR, visitor VARCHAR) | Name the date with chicago visiting | SELECT date FROM table_name_64 WHERE visitor = "chicago" |
CREATE TABLE table_name_76 (home VARCHAR, visitor VARCHAR) | Name the home with chicago visiting | SELECT home FROM table_name_76 WHERE visitor = "chicago" |
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 MAX(apps) FROM table_name_55 WHERE goals > 63 AND avge = 0.45 |
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 COUNT(avge) FROM table_name_25 WHERE name = "john hall" AND goals < 63 |
CREATE TABLE table_name_87 (year INTEGER, score VARCHAR, champion VARCHAR) | When did Kim Thompson win with 278 score? | SELECT SUM(year) FROM table_name_87 WHERE score = "278" AND champion = "kim thompson" |
CREATE TABLE table_name_26 (venue VARCHAR, champion VARCHAR) | Where did Steve Gotsche win? | SELECT venue FROM table_name_26 WHERE champion = "steve gotsche" |
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 SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest" |
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 height__m_ft_ FROM table_name_47 WHERE city = "bucharest" AND built = 2009 AND rank = 13 |
CREATE TABLE table_name_47 (city VARCHAR, building VARCHAR) | What city is the bucharest tower center (btc) located in? | SELECT city FROM table_name_47 WHERE building = "bucharest tower center (btc)" |
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 building FROM table_name_90 WHERE city = "bucharest" AND rank < 12 |
CREATE TABLE table_name_93 (city VARCHAR, built VARCHAR) | What city was the building built in 1988? | SELECT city FROM table_name_93 WHERE built = 1988 |
CREATE TABLE table_name_39 (score VARCHAR, home VARCHAR, date VARCHAR) | What is the score of the Boston Bruins game from April 11? | SELECT score FROM table_name_39 WHERE home = "boston bruins" AND date = "april 11" |
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 record FROM table_name_7 WHERE home = "hartford whalers" AND date = "april 13" |
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 score FROM table_name_8 WHERE visitor = "hartford whalers" AND date = "april 11" |
CREATE TABLE table_name_65 (passengers VARCHAR, carriers VARCHAR) | Which Passengers have Carriers of air canada? | SELECT passengers FROM table_name_65 WHERE carriers = "air canada" |
CREATE TABLE table_name_94 (metropolitan_area VARCHAR, airport VARCHAR) | Which Metropolitan area has an Airport of toronto pearson international airport? | SELECT metropolitan_area FROM table_name_94 WHERE airport = "toronto pearson international airport" |
CREATE TABLE table_name_64 (link VARCHAR, date_of_polling VARCHAR) | What is the link for january 31 – february 3, 2011? | SELECT link FROM table_name_64 WHERE date_of_polling = "january 31 – february 3, 2011" |
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 date_of_polling FROM table_name_2 WHERE polling_firm = "forum research" AND green = 7 AND liberal < 30 |
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_96 WHERE link = "html" AND liberal < 36 AND green < 8 AND date_of_polling = "september 26–28, 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 polling_firm FROM table_name_89 WHERE green < 13 AND date_of_polling = "june 21–22, 2011" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.