answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT opponent FROM table_name_18 WHERE record = "84-69"
Who was the Blue Jays opponent when their record was 84-69?
CREATE TABLE table_name_18 (opponent VARCHAR, record VARCHAR)
SELECT label FROM table_1893815_1 WHERE english_title = "Grown Up Overnight"
Name the label for grown up overnight
CREATE TABLE table_1893815_1 (label VARCHAR, english_title VARCHAR)
SELECT launched FROM table_name_36 WHERE commissioned = "6 june 1935"
Which Launched has Commissioned 6 june 1935?
CREATE TABLE table_name_36 (launched VARCHAR, commissioned VARCHAR)
SELECT MIN(year) FROM table_name_16 WHERE gold = "park jung-ah"
What was the earliest year that Park Jung-Ah won the gold?
CREATE TABLE table_name_16 (year INTEGER, gold VARCHAR)
SELECT MAX(round) FROM table_name_54 WHERE school_club_team = "michigan"
In what round was a player from Michigan selected?
CREATE TABLE table_name_54 (round INTEGER, school_club_team VARCHAR)
SELECT COUNT(year) FROM table_name_97 WHERE driver = "wilson fittipaldi"
How many years did Wilson Fittipaldi race?
CREATE TABLE table_name_97 (year VARCHAR, driver VARCHAR)
SELECT dates_administered FROM table_name_19 WHERE poll_source = "rasmussen reports" AND lead_margin > 32
What was the date administered from a source of Rasmussen Reports and a lead margin over 32?
CREATE TABLE table_name_19 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR)
SELECT SUM(attendance) FROM table_name_49 WHERE game_site = "miami orange bowl"
How many people attended the game at the miami orange bowl?
CREATE TABLE table_name_49 (attendance INTEGER, game_site VARCHAR)
SELECT race_4 FROM table_name_61 WHERE driver = "kevin heffernan"
What's the value for race 4 for driver kevin heffernan?
CREATE TABLE table_name_61 (race_4 VARCHAR, driver VARCHAR)
SELECT flattening_ratio FROM table_name_27 WHERE equatorial_diameter = "12,756.28km"
What is the Flattening ratio associated with the Equatorial diameter of 12,756.28km?
CREATE TABLE table_name_27 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR)
SELECT school FROM table_name_35 WHERE enrollment > 441 AND mascot = "chargers"
What's the school that has an enrollment more than 441 with chargers as their mascot?
CREATE TABLE table_name_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR)
SELECT COUNT(no_in_series) FROM table_18734298_1 WHERE directed_by = "Rob Renzetti"
How many series were directed by Rob Renzetti?
CREATE TABLE table_18734298_1 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT third_place FROM table_name_59 WHERE winning_mentor = "guy sebastian" AND runner_up = "andrew wishart"
Who was in third place when Guy Sebastian was the winning mentor and Andrew Wishart was the runner-up?
CREATE TABLE table_name_59 (third_place VARCHAR, winning_mentor VARCHAR, runner_up VARCHAR)
SELECT state FROM table_name_76 WHERE region = "mideast" AND city = "knoxville"
What state is Knoxville and the mideast region located in?
CREATE TABLE table_name_76 (state VARCHAR, region VARCHAR, city VARCHAR)
SELECT AVG(games) FROM table_name_99 WHERE player = "nick rimando"
How many average games did Nick Rimando have?
CREATE TABLE table_name_99 (games INTEGER, player VARCHAR)
SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1"
What is the total number of points of the honda hr-1 engine?
CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR)
SELECT score FROM table_name_66 WHERE opponent = "fabrice martin"
What was the score against fabrice martin?
CREATE TABLE table_name_66 (score VARCHAR, opponent VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_14 WHERE country = "united states" AND to_par = "+3"
What is the average Money ( $ ), when Country is "United States", and when To par is "+3"?
CREATE TABLE table_name_14 (money___ INTEGER, country VARCHAR, to_par VARCHAR)
SELECT MAX(overall) FROM table_name_19 WHERE college = "oklahoma" AND pick__number < 4
Which Overall is the highest one that has a College of oklahoma, and a Pick # smaller than 4?
CREATE TABLE table_name_19 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
SELECT name FROM table_name_86 WHERE opened = "2004" AND park = "bobbejaanland"
What is the name of the rollercoaster that opened in 2004 in bobbejaanland?
CREATE TABLE table_name_86 (name VARCHAR, opened VARCHAR, park VARCHAR)
SELECT SUM(rank) FROM table_name_61 WHERE athlete = "solomon bayoh" AND time < 22.16
What is the sum rank of Solomon Bayoh when his time was smaller than 22.16?
CREATE TABLE table_name_61 (rank INTEGER, athlete VARCHAR, time VARCHAR)
SELECT player FROM table_name_24 WHERE position = "forward" AND school_club_team = "grambling state"
Who is the forward from Grambling State?
CREATE TABLE table_name_24 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT enrollment FROM table_28243691_1 WHERE affiliation = "Private/ Disciples of Christ"
What is the total enrollment for private/ disciples of christ?
CREATE TABLE table_28243691_1 (enrollment VARCHAR, affiliation VARCHAR)
SELECT record FROM table_name_65 WHERE date = "november 7"
what team scored on november 7
CREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)
SELECT local_networked FROM table_name_99 WHERE show_name = "nightline"
What Local/Networked has a Show Name of nightline?
CREATE TABLE table_name_99 (local_networked VARCHAR, show_name VARCHAR)
SELECT third_place FROM table_25214321_1 WHERE winner = "Karina Bacchi"
Who finished in third place when the winner was Karina Bacchi?
CREATE TABLE table_25214321_1 (third_place VARCHAR, winner VARCHAR)
SELECT kilgore__r_ FROM table_name_47 WHERE potts__i_ = "4%" AND kaine__d_ = "47%" AND date = "october 30, 2005"
What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47%, in the poll from October 30, 2005?
CREATE TABLE table_name_47 (kilgore__r_ VARCHAR, date VARCHAR, potts__i_ VARCHAR, kaine__d_ VARCHAR)
SELECT _percentage_same_sex_marriages FROM table_19614212_1 WHERE year = "2011"
What is the % of same-sex marriages for the year of 2011?
CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, year VARCHAR)
SELECT country FROM table_name_58 WHERE round = "q3"
Which country had a round of Q3?
CREATE TABLE table_name_58 (country VARCHAR, round VARCHAR)
SELECT dominant_religion__2002_ FROM table_2562572_39 WHERE population__2011_ = "2,107"
The population is 2,107's dominant religion is?
CREATE TABLE table_2562572_39 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)
SELECT xenon FROM table_name_25 WHERE neon = "20.1797(6)"
Which Xenon has Neon of 20.1797(6)?
CREATE TABLE table_name_25 (xenon VARCHAR, neon VARCHAR)
SELECT T1.project_details FROM Projects AS T1 JOIN Documents AS T2 ON T1.project_id = T2.project_id WHERE T2.document_name = "King Book"
What is the project detail for the project with document "King Book"?
CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Documents (project_id VARCHAR, document_name VARCHAR)
SELECT country FROM table_name_90 WHERE player = "todd hamilton"
What country has todd hamilton as the player?
CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR)
SELECT time FROM table_name_75 WHERE team = "suzuki" AND rider = "peter berwick"
What was the time for Peter Berwick of Team Suzuki?
CREATE TABLE table_name_75 (time VARCHAR, team VARCHAR, rider VARCHAR)
SELECT lead_tpt FROM table_name_68 WHERE bass = "kevin tomanka" AND alto_1 = "alan moffett"
Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett
CREATE TABLE table_name_68 (lead_tpt VARCHAR, bass VARCHAR, alto_1 VARCHAR)
SELECT SUM(low_estimate) FROM table_name_66 WHERE date = "1978"
What is the sum of low estimate(s) that is listed for the date of 1978?
CREATE TABLE table_name_66 (low_estimate INTEGER, date VARCHAR)
SELECT years_of_appearance FROM table_17751942_4 WHERE team = "Prince Albert Raiders"
What is the year of appearance for the Prince Albert Raiders?
CREATE TABLE table_17751942_4 (years_of_appearance VARCHAR, team VARCHAR)
SELECT SUM(pages) FROM table_name_47 WHERE isbn = "1-40122-328-1"
How many pages does the ISBN 1-40122-328-1 have?
CREATE TABLE table_name_47 (pages INTEGER, isbn VARCHAR)
SELECT director FROM table_12919003_2 WHERE episode = "episode 5"
Who directed Episode 5?
CREATE TABLE table_12919003_2 (director VARCHAR, episode VARCHAR)
SELECT venue FROM table_name_3 WHERE competition = "king's cup 1998"
What was the Venue of the King's Cup 1998?
CREATE TABLE table_name_3 (venue VARCHAR, competition VARCHAR)
SELECT prod_code FROM table_20967430_4 WHERE written_by = "Jack Carrerrow"
What is the production code of the episode written by Jack Carrerrow?
CREATE TABLE table_20967430_4 (prod_code VARCHAR, written_by VARCHAR)
SELECT height FROM table_26916717_1 WHERE home_town = "Farmington, KY"
How tall is the player from farmington, ky?
CREATE TABLE table_26916717_1 (height VARCHAR, home_town VARCHAR)
SELECT time_retired FROM table_name_42 WHERE grid = "19"
What is the time/retired when the grid is 19?
CREATE TABLE table_name_42 (time_retired VARCHAR, grid VARCHAR)
SELECT density FROM table_140297_1 WHERE principal_town = "Brighton"
What is the population density in the Brighton area?
CREATE TABLE table_140297_1 (density VARCHAR, principal_town VARCHAR)
SELECT province FROM table_name_60 WHERE icao = "zbcf"
Name the Province with ICAO of zbcf?
CREATE TABLE table_name_60 (province VARCHAR, icao VARCHAR)
SELECT SUM(attendance) FROM table_name_52 WHERE score = "80-94"
How many attended during the game with a score of 80-94?
CREATE TABLE table_name_52 (attendance INTEGER, score VARCHAR)
SELECT score FROM table_name_81 WHERE competition = "match reports"
which Score has a Competition of match reports?
CREATE TABLE table_name_81 (score VARCHAR, competition VARCHAR)
SELECT time FROM table_26842217_18 WHERE result = "MSST 29–24"
Name the time for result msst 29–24
CREATE TABLE table_26842217_18 (time VARCHAR, result VARCHAR)
SELECT COUNT(population__2011_) FROM table_189598_7 WHERE change___percentage_ = "4.5"
When 4.5 is the percentage of change how many population counts were made for 2011?
CREATE TABLE table_189598_7 (population__2011_ VARCHAR, change___percentage_ VARCHAR)
SELECT home FROM table_name_63 WHERE visitor = "minnesota"
Who was the home team that played against the visiting team Minnesota?
CREATE TABLE table_name_63 (home VARCHAR, visitor VARCHAR)
SELECT land_area FROM table_214920_1 WHERE density__pop_per_km2_ = "21.1"
What is the land area of the RCM having a density of 21.1?
CREATE TABLE table_214920_1 (land_area VARCHAR, density__pop_per_km2_ VARCHAR)
SELECT region FROM table_name_92 WHERE label = "universal music group"
What was the region when the label was the universal music group?
CREATE TABLE table_name_92 (region VARCHAR, label VARCHAR)
SELECT callback_venue FROM table_name_15 WHERE audition_city = "phoenix, arizona"
What was the callback venue for the Phoenix, Arizona auditions?
CREATE TABLE table_name_15 (callback_venue VARCHAR, audition_city VARCHAR)
SELECT record FROM table_name_64 WHERE opponent = "new york"
What is the record when they played New York?
CREATE TABLE table_name_64 (record VARCHAR, opponent VARCHAR)
SELECT MAX(totora_municipality___percentage_) FROM table_name_72 WHERE chimoré_municipality___percentage_ = 5.1 AND pocona_municipality___percentage_ < 0.2
Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2?
CREATE TABLE table_name_72 (totora_municipality___percentage_ INTEGER, chimoré_municipality___percentage_ VARCHAR, pocona_municipality___percentage_ VARCHAR)
SELECT height_feet___m FROM table_name_40 WHERE street_address = "2345 grand avenue"
What is listsed as the Height feet/m and has a Street address of 2345 Grand Avenue?
CREATE TABLE table_name_40 (height_feet___m VARCHAR, street_address VARCHAR)
SELECT COUNT(_number_appearances) FROM table_1463332_2 WHERE most_recent_final = "1999, beat Genk 3-1"
What is the number of appearances where the most recent final result is 1999, beat Genk 3-1?
CREATE TABLE table_1463332_2 (_number_appearances VARCHAR, most_recent_final VARCHAR)
SELECT COUNT(year) FROM table_name_63 WHERE award = "tony award" AND nominee = "terry johnson"
In what year was Terry Johnson nominated for a Tony award?
CREATE TABLE table_name_63 (year VARCHAR, award VARCHAR, nominee VARCHAR)
SELECT COUNT(viewers__in_millions_) FROM table_name_27 WHERE finale = "may 16, 2007"
How many people tuned in to the finale on May 16, 2007?
CREATE TABLE table_name_27 (viewers__in_millions_ VARCHAR, finale VARCHAR)
SELECT height_from_sea_level_in_meters FROM table_1430913_1 WHERE category = "Picturesque and trekking_route"
picturesque and trekking route is the category what is the height from sea level in meters?
CREATE TABLE table_1430913_1 (height_from_sea_level_in_meters VARCHAR, category VARCHAR)
SELECT green FROM table_20217811_1 WHERE electorate = "Otaki"
Name the green for otaki
CREATE TABLE table_20217811_1 (green VARCHAR, electorate VARCHAR)
SELECT venue FROM table_name_61 WHERE score = "8 – 1"
Name the Venue which has a Score of 8 – 1?
CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR)
SELECT score FROM table_name_18 WHERE home = "pittsburgh" AND points = 61 AND date = "march 3"
What is the Score of the Pittsburgh Home game on March 3 with 61 Points?
CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR, home VARCHAR, points VARCHAR)
SELECT blagojevich__d_ FROM table_name_70 WHERE source = "zogby/wsj" AND date = "october 16, 2006"
Which Blagojevich (D) has a Source of zogby/wsj, and a Date of october 16, 2006?
CREATE TABLE table_name_70 (blagojevich__d_ VARCHAR, source VARCHAR, date VARCHAR)
SELECT pronunciation_a FROM table_name_85 WHERE meaning_a = "king"
Name the pronunciation for meaning of king
CREATE TABLE table_name_85 (pronunciation_a VARCHAR, meaning_a VARCHAR)
SELECT MAX(peru_vs_world__percent_) FROM table_11727969_1 WHERE species_in_the_world = 9672
what's the maximum peru vs. world (percent) with 9672 species in the world 
CREATE TABLE table_11727969_1 (peru_vs_world__percent_ INTEGER, species_in_the_world VARCHAR)
SELECT COUNT(position) FROM table_name_86 WHERE points = 29 AND lost < 2
What is the position number when there were 29 points, and less than 2 is lost?
CREATE TABLE table_name_86 (position VARCHAR, points VARCHAR, lost VARCHAR)
SELECT male_population_2001 FROM table_19589113_5 WHERE growth_rate_1991_01 = "36.16"
What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16?
CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, growth_rate_1991_01 VARCHAR)
SELECT name FROM table_name_20 WHERE circuit = "lille"
Which Grand Prix has the Circuit of Lille?
CREATE TABLE table_name_20 (name VARCHAR, circuit VARCHAR)
SELECT country FROM table_name_76 WHERE to_par = "+4"
What is the country for the player who had a To Par of +4?
CREATE TABLE table_name_76 (country VARCHAR, to_par VARCHAR)
SELECT MIN(losses) FROM table_name_56 WHERE wins = 6 AND against < 1741
Which Losses has a Wins of 6, and an Against smaller than 1741?
CREATE TABLE table_name_56 (losses INTEGER, wins VARCHAR, against VARCHAR)
SELECT pitcher FROM table_name_88 WHERE date = "june 8, 1961"
Who was the pitcher on June 8, 1961?
CREATE TABLE table_name_88 (pitcher VARCHAR, date VARCHAR)
SELECT COUNT(DISTINCT incident_type_code) FROM Behavior_Incident
How many distinct incident type codes are there?
CREATE TABLE Behavior_Incident (incident_type_code VARCHAR)
SELECT state FROM table_name_6 WHERE member = "gil duthie"
What is State, when Member is "Gil Duthie"?
CREATE TABLE table_name_6 (state VARCHAR, member VARCHAR)
SELECT date FROM table_name_33 WHERE game = 4
Which Date has a Game of 4?
CREATE TABLE table_name_33 (date VARCHAR, game VARCHAR)
SELECT MAX(year) FROM table_22654139_3 WHERE reporters = "Lesley Visser and Robin Roberts"
What is the latest year with reporters Lesley Visser and Robin Roberts?
CREATE TABLE table_22654139_3 (year INTEGER, reporters VARCHAR)
SELECT ergative FROM table_name_53 WHERE dative = "(i)mas"
What is the ergative for the dative (i)mas?
CREATE TABLE table_name_53 (ergative VARCHAR, dative VARCHAR)
SELECT grantee FROM table_name_34 WHERE concession = "san ysidro"
Tell me the Grantee for san ysidro
CREATE TABLE table_name_34 (grantee VARCHAR, concession VARCHAR)
SELECT series FROM table_name_35 WHERE competition = "uefa cup" AND season = "2006–07" AND round = "group" AND opponent = "az"
What is the Series for the uefa cup, in the 2006–07 season, and a Round of group, and an opponent of az?
CREATE TABLE table_name_35 (series VARCHAR, opponent VARCHAR, round VARCHAR, competition VARCHAR, season VARCHAR)
SELECT status_of_match FROM table_name_70 WHERE fixture = "scotland v northern ireland"
What is the status of the match between Scotland v Northern Ireland?
CREATE TABLE table_name_70 (status_of_match VARCHAR, fixture VARCHAR)
SELECT driver FROM table_name_17 WHERE engine = "era 1.5 l6 s" AND chassis = "era b"
who is the driver with the engine era 1.5 l6 s and the chassis is era b?
CREATE TABLE table_name_17 (driver VARCHAR, engine VARCHAR, chassis VARCHAR)
SELECT team FROM table_2383498_4 WHERE location = "Port Moresby"
What is every team in the location of Port Moresby?
CREATE TABLE table_2383498_4 (team VARCHAR, location VARCHAR)
SELECT score_in_the_final FROM table_name_63 WHERE date = "january 12, 2013"
Name the score in the final for january 12, 2013
CREATE TABLE table_name_63 (score_in_the_final VARCHAR, date VARCHAR)
SELECT won FROM table_15319684_1 WHERE difference = "33"
Name the won for difference being 33
CREATE TABLE table_15319684_1 (won VARCHAR, difference VARCHAR)
SELECT winner FROM table_22050544_1 WHERE dateca = "Apr 2" AND event__number = "1H"
Who is the winner of event # 1h and dateca is Apr 2?
CREATE TABLE table_22050544_1 (winner VARCHAR, dateca VARCHAR, event__number VARCHAR)
SELECT MIN(tied) FROM table_name_57 WHERE points < 100 AND goals_for = 277
What is the lowest tie with less than 100 points and 277 goals?
CREATE TABLE table_name_57 (tied INTEGER, points VARCHAR, goals_for VARCHAR)
SELECT MIN(week) FROM table_name_19 WHERE date = "november 30, 2003"
What is the lowest week that has November 30, 2003 as the date?
CREATE TABLE table_name_19 (week INTEGER, date VARCHAR)
SELECT replaced_by FROM table_name_71 WHERE team = "gimnasia y esgrima (lp)"
What kind of Replaced has a Team of gimnasia y esgrima (lp)?
CREATE TABLE table_name_71 (replaced_by VARCHAR, team VARCHAR)
SELECT state_represented FROM table_10644188_3 WHERE name = "Ted Stevens"
What is the state of Ted Stevens?
CREATE TABLE table_10644188_3 (state_represented VARCHAR, name VARCHAR)
SELECT former_codes FROM table_222666_1 WHERE new_country_names_and_codes = "Merged into Panama ( PA , PAN , 591 )"
Name the former codes for merged into panama ( pa , pan , 591 )
CREATE TABLE table_222666_1 (former_codes VARCHAR, new_country_names_and_codes VARCHAR)
SELECT opponent FROM table_name_21 WHERE result = "l 0-27"
What team was the opponent when the result was l 0-27?
CREATE TABLE table_name_21 (opponent VARCHAR, result VARCHAR)
SELECT AVG(elected) FROM table_name_69 WHERE party = "democrat" AND district > 2 AND incumbent = "nydia velazquez"
What's the elected year of Nydia Velazquez in a district bigger than 2 and a democrat?
CREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR)
SELECT kosal FROM table_name_97 WHERE sitalsasthi_carnival = "balangir town"
What is the Kosal with a balangir town sitalsasthi carnival?
CREATE TABLE table_name_97 (kosal VARCHAR, sitalsasthi_carnival VARCHAR)
SELECT player FROM table_name_67 WHERE money___$__ = "450" AND score = 76 - 74 - 74 - 72 = 296
Which player has $450 and a score of 76-74-74-72=296?
CREATE TABLE table_name_67 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT driver FROM table_name_82 WHERE laps < 53 AND time_retired = "accident"
Which driver had an accident and laps smaller than 53?
CREATE TABLE table_name_82 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT MIN(founded) FROM table_261913_1 WHERE joined = "1977"
What was the earliest date an institution was founded that joined in 1977?
CREATE TABLE table_261913_1 (founded INTEGER, joined VARCHAR)
SELECT COUNT(points_2) FROM table_17358515_1 WHERE team = "Goole Town"
How many points did Goole Town accumulate?
CREATE TABLE table_17358515_1 (points_2 VARCHAR, team VARCHAR)
SELECT written_by FROM table_29219286_1 WHERE directed_by = "Milan Cheylov"
Who wrote the episode that was directed by Milan Cheylov?
CREATE TABLE table_29219286_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT place FROM table_name_85 WHERE to_par = "e"
What is the place number for the player with a To Par score of 'E'?
CREATE TABLE table_name_85 (place VARCHAR, to_par VARCHAR)
SELECT record FROM table_name_58 WHERE time = "4:50"
Which Record has a Time of 4:50?
CREATE TABLE table_name_58 (record VARCHAR, time VARCHAR)