answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT location FROM table_name_13 WHERE result = "3-3"
What was the location of the match that had a result of 3-3?
CREATE TABLE table_name_13 (location VARCHAR, result VARCHAR)
SELECT building FROM table_name_81 WHERE floors > 15 AND year = "2013"
For the Year 2013 what building(s) had more than 15 Floors?
CREATE TABLE table_name_81 (building VARCHAR, floors VARCHAR, year VARCHAR)
SELECT company_or_product_name FROM table_name_25 WHERE money_requested__£_ = "75,000" AND entrepreneur_s_ = "geoff and colette bell"
What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000?
CREATE TABLE table_name_25 (company_or_product_name VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
SELECT MAX(overall_pick) FROM table_name_27 WHERE position = "c" AND nfl_draft > 1977
What is the highest overall pick that has c as the position, with an NFL Draft greater than 1977?
CREATE TABLE table_name_27 (overall_pick INTEGER, position VARCHAR, nfl_draft VARCHAR)
SELECT COUNT(pick__number) FROM table_name_4 WHERE round > 8 AND college = "fresno state"
How many Picks have a Round larger than 8, and a College of fresno state?
CREATE TABLE table_name_4 (pick__number VARCHAR, round VARCHAR, college VARCHAR)
SELECT COUNT(overall_record) FROM table_28744929_2 WHERE head_coach = "Frank Beamer"
How many values reflect the overall record of the team coached by Frank Beamer?
CREATE TABLE table_28744929_2 (overall_record VARCHAR, head_coach VARCHAR)
SELECT home_team FROM table_name_38 WHERE crowd > 22 OFFSET 449
Which home team has a crowd that is bigger than 22,449?
CREATE TABLE table_name_38 (home_team VARCHAR, crowd INTEGER)
SELECT date FROM table_23308178_5 WHERE record = "13-5-6"
When was the game with 13-5-6 record played?
CREATE TABLE table_23308178_5 (date VARCHAR, record VARCHAR)
SELECT SUM(population__2008_) FROM table_name_55 WHERE korean = "함흥"
What is the 2008 population in 함흥 (Ham Hyung)?
CREATE TABLE table_name_55 (population__2008_ INTEGER, korean VARCHAR)
SELECT team FROM table_name_36 WHERE time = "1:11.19.89"
What is the team when the time is 1:11.19.89?
CREATE TABLE table_name_36 (team VARCHAR, time VARCHAR)
SELECT MAX(draw) FROM table_name_36 WHERE points = 23
What is the highest draw number when 23 points are scored?
CREATE TABLE table_name_36 (draw INTEGER, points VARCHAR)
SELECT league FROM table_name_11 WHERE number < 1
What league has a number less than 1?
CREATE TABLE table_name_11 (league VARCHAR, number INTEGER)
SELECT change__2009_to_2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "9.4 million"
Name the change 2009 to 2010 where international tourist arrivals is 9.4 million
CREATE TABLE table_14752049_3 (change__2009_to_2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
SELECT COUNT(wd_no) FROM table_20236726_2 WHERE lms_no = 7638
Name the total number of wd number for lms number being 7638
CREATE TABLE table_20236726_2 (wd_no VARCHAR, lms_no VARCHAR)
SELECT flno FROM Flight WHERE origin = "Los Angeles"
Show all flight number from Los Angeles.
CREATE TABLE Flight (flno VARCHAR, origin VARCHAR)
SELECT host_team FROM table_name_31 WHERE date = "october 4"
Who was the host team on October 4?
CREATE TABLE table_name_31 (host_team VARCHAR, date VARCHAR)
SELECT broadcast_date FROM table_2102782_1 WHERE viewers__in_millions_ = "7.4"
Name the broadcast date for 7.4 viewers
CREATE TABLE table_2102782_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR)
SELECT eliminated_contestant FROM table_name_25 WHERE date_premiered__2009_ = "october 10"
What eliminated contestant has October 10, 2009 as the date premiered?
CREATE TABLE table_name_25 (eliminated_contestant VARCHAR, date_premiered__2009_ VARCHAR)
SELECT nationality FROM table_name_44 WHERE position = "g" AND pick > 26
What is Nationality, when Position is "G", and when Pick is greater than 26?
CREATE TABLE table_name_44 (nationality VARCHAR, position VARCHAR, pick VARCHAR)
SELECT fall_05 FROM table_15055594_6 WHERE states = "Maryland"
How man students were from Maryland in Fall 05?
CREATE TABLE table_15055594_6 (fall_05 VARCHAR, states VARCHAR)
SELECT date FROM table_name_20 WHERE sample_size < 472 AND republican = "ron paul"
What was the date for Ron Paul as republican and a sample sized less than 472?
CREATE TABLE table_name_20 (date VARCHAR, sample_size VARCHAR, republican VARCHAR)
SELECT best FROM table_name_12 WHERE name = "rodolfo lavín"
Name the the Best of rodolfo lavín
CREATE TABLE table_name_12 (best VARCHAR, name VARCHAR)
SELECT home_team AS score FROM table_name_56 WHERE home_team = "essendon"
When essendon was the home team, how much did they score?
CREATE TABLE table_name_56 (home_team VARCHAR)
SELECT attendance FROM table_name_34 WHERE date = "december 14, 2003"
what is the attendance on december 14, 2003?
CREATE TABLE table_name_34 (attendance VARCHAR, date VARCHAR)
SELECT city FROM table_name_5 WHERE home_team_s_ = "tigre"
What city was the home team Tigre?
CREATE TABLE table_name_5 (city VARCHAR, home_team_s_ VARCHAR)
SELECT title FROM table_name_67 WHERE track < 7 AND translation = "an island"
Which title has tracks smaller than 7 with translation of an island?
CREATE TABLE table_name_67 (title VARCHAR, track VARCHAR, translation VARCHAR)
SELECT special_guest FROM table_name_28 WHERE category = "vocal groups" AND name = "romantic"
Who was the special guest when the category was vocal groups and the name was Romantic?
CREATE TABLE table_name_28 (special_guest VARCHAR, category VARCHAR, name VARCHAR)
SELECT is_3_m1945 FROM table_name_11 WHERE kv_85_m1943 = "40"
What's the IS-3 when the KV-85 is 40?
CREATE TABLE table_name_11 (is_3_m1945 VARCHAR, kv_85_m1943 VARCHAR)
SELECT visitor FROM table_name_77 WHERE home = "vancouver"
Who was the visitor when vancouver was at home?
CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR)
SELECT AVG(gold) FROM table_name_53 WHERE total > 32 AND silver > 128
What is the gold medal count for the country with a total greater than 32 and more than 128 silvers?
CREATE TABLE table_name_53 (gold INTEGER, total VARCHAR, silver VARCHAR)
SELECT manner_of_departure FROM table_17275810_7 WHERE replaced_by = "Elvio Selighini"
Name the manner of departure for elvio selighini
CREATE TABLE table_17275810_7 (manner_of_departure VARCHAR, replaced_by VARCHAR)
SELECT category FROM table_name_60 WHERE film = "(a) torzija"
(A) Torzija was nominated in which category?
CREATE TABLE table_name_60 (category VARCHAR, film VARCHAR)
SELECT new_entries_this_round FROM table_1281200_1 WHERE round = "Third round"
From the round name of third round; what would the new entries this round that would be found?
CREATE TABLE table_1281200_1 (new_entries_this_round VARCHAR, round VARCHAR)
SELECT home_team AS score FROM table_name_31 WHERE venue = "glenferrie oval"
What is the Home team score for the Venue named Glenferrie Oval?
CREATE TABLE table_name_31 (home_team VARCHAR, venue VARCHAR)
SELECT COUNT(runners_up) FROM table_name_92 WHERE winning_years = "2010"
What is the total number of runners-up for a club with winning years of 2010?
CREATE TABLE table_name_92 (runners_up VARCHAR, winning_years VARCHAR)
SELECT COUNT(year) FROM table_name_8 WHERE time = 14.26 AND avg_run < 4.75
What is the total years with average runs less than 4.75 and a time of 14.26?
CREATE TABLE table_name_8 (year VARCHAR, time VARCHAR, avg_run VARCHAR)
SELECT MAX(points_for_higher) FROM table_name_66 WHERE points_for_foundation < 0
What is the maximum points for higher when the points for foundation is less than 0?
CREATE TABLE table_name_66 (points_for_higher INTEGER, points_for_foundation INTEGER)
SELECT played FROM table_2208838_4 WHERE points = 927
How many games were played by the player with 927 points?
CREATE TABLE table_2208838_4 (played VARCHAR, points VARCHAR)
SELECT original_air_date FROM table_name_35 WHERE directed_by = "lev l. spiro" AND production_code = "07-00-109"
What is the Original air date for the episode directed by lev l. spiro, with a Production code of 07-00-109?
CREATE TABLE table_name_35 (original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR)
SELECT no_in_series FROM table_11562149_1 WHERE featured_character_s_ = "Jack & Locke"
What are the episode numbers where the episode features Jack & Locke?
CREATE TABLE table_11562149_1 (no_in_series VARCHAR, featured_character_s_ VARCHAR)
SELECT silver FROM table_name_74 WHERE gold > 4 AND rank = 1
Which silver has a Gold larger than 4, and a Rank of 1?
CREATE TABLE table_name_74 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT COUNT(yards) FROM table_name_6 WHERE player = "james macpherson" AND long < 1
How many yards have a Player of james macpherson, and a Long smaller than 1?
CREATE TABLE table_name_6 (yards VARCHAR, player VARCHAR, long VARCHAR)
SELECT engine FROM table_name_12 WHERE driver = "riccardo patrese"
What engine did Riccardo Patrese use?
CREATE TABLE table_name_12 (engine VARCHAR, driver VARCHAR)
SELECT decision FROM table_name_22 WHERE visitor = "phoenix"
What is the decision when they're at phoenix?
CREATE TABLE table_name_22 (decision VARCHAR, visitor VARCHAR)
SELECT english FROM table_name_43 WHERE DUTCH(Limburgish) = twie
What is the English word for twie?
CREATE TABLE table_name_43 (english VARCHAR, twie VARCHAR, Limburgish VARCHAR)
SELECT points FROM table_12807904_5 WHERE lost = "13"
what amount of points were lost by 13?
CREATE TABLE table_12807904_5 (points VARCHAR, lost VARCHAR)
SELECT mobile FROM table_name_28 WHERE chrome = "9.00%"
What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome?
CREATE TABLE table_name_28 (mobile VARCHAR, chrome VARCHAR)
SELECT media_type FROM table_23829490_1 WHERE genre = "Dub"
What is every media type for the Dub genre?
CREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)
SELECT team FROM table_name_68 WHERE season = "2003-04"
What team did the 2003-04 winner play for?
CREATE TABLE table_name_68 (team VARCHAR, season VARCHAR)
SELECT score FROM table_name_97 WHERE opponent = "at edmonton oilers"
Can you tell me the Score that has the Opponent of at edmonton oilers?
CREATE TABLE table_name_97 (score VARCHAR, opponent VARCHAR)
SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = "Frankfurt" AND year < 1993.0
Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0?
CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR)
SELECT driver FROM table_name_98 WHERE grid = 18
What driver has grid number 18?
CREATE TABLE table_name_98 (driver VARCHAR, grid VARCHAR)
SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons"
What is the highest year with field reporter Steve Lyons?
CREATE TABLE table_2941848_2 (year INTEGER, s_field_reporter VARCHAR)
SELECT province FROM table_2251578_4 WHERE district = "Condoroma"
What province is in the district of Condoroma?
CREATE TABLE table_2251578_4 (province VARCHAR, district VARCHAR)
SELECT status FROM table_1341522_50 WHERE opponent = "Doc Hastings (R) 53.3% Jay Inslee (D) 46.7%"
What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%
CREATE TABLE table_1341522_50 (status VARCHAR, opponent VARCHAR)
SELECT title FROM table_27969432_2 WHERE written_by = "Alison Cross"
What is the name of the episode written by alison cross?
CREATE TABLE table_27969432_2 (title VARCHAR, written_by VARCHAR)
SELECT MAX(officers_o_s) FROM table_23508196_2 WHERE total_usaaf = 2373882
How many officers o/s were there on the day when the number of USAAF was 2373882?
CREATE TABLE table_23508196_2 (officers_o_s INTEGER, total_usaaf VARCHAR)
SELECT high_rebounds FROM table_22822559_8 WHERE record = "23-47"
Who had the highest rebounds during the game with a record of 23-47?
CREATE TABLE table_22822559_8 (high_rebounds VARCHAR, record VARCHAR)
SELECT date FROM table_name_53 WHERE race = "golden slipper"
When was the golden slipper race?
CREATE TABLE table_name_53 (date VARCHAR, race VARCHAR)
SELECT kickoff_time FROM table_name_82 WHERE date = "december 14, 2003"
What was the kickoff time for the December 14, 2003 game?
CREATE TABLE table_name_82 (kickoff_time VARCHAR, date VARCHAR)
SELECT MIN(block) FROM table_name_5 WHERE height < 202 AND date_of_birth = "19.06.1980" AND weight > 76
What is the lowest block that has a height less than 202, 19.06.1980 as the date of birth, and a weight greater than 76?
CREATE TABLE table_name_5 (block INTEGER, weight VARCHAR, height VARCHAR, date_of_birth VARCHAR)
SELECT MIN(silver) FROM table_name_93 WHERE gold < 0
what is the least silver when gold is 0?
CREATE TABLE table_name_93 (silver INTEGER, gold INTEGER)
SELECT MIN(2007) FROM table_name_96 WHERE country_or_territory = "china" AND 2002 < 670 OFFSET 099
Which 2007 has a Country or territory of china, and a 2002 smaller than 670,099?
CREATE TABLE table_name_96 (country_or_territory VARCHAR)
SELECT country_with_flag FROM table_298550_1 WHERE population__1_july_2005_est_ = 11346670
What is every country with a flag with population of 11346670?
CREATE TABLE table_298550_1 (country_with_flag VARCHAR, population__1_july_2005_est_ VARCHAR)
SELECT ground FROM table_name_42 WHERE date = "2008-06-20"
What is the Ground with a Date that is 2008-06-20?
CREATE TABLE table_name_42 (ground VARCHAR, date VARCHAR)
SELECT town FROM table_name_29 WHERE structural_type = "guyed mast" AND country = "belgium"
Which Town has a Structural type of guyed mast and a Country of belgium?
CREATE TABLE table_name_29 (town VARCHAR, structural_type VARCHAR, country VARCHAR)
SELECT COUNT(total_apps) FROM table_name_6 WHERE fa_cup_goals < 4 AND fa_cup_apps > 7
It has a FA Cup Goals smaller than 4, and a FA Cup Apps larger than 7, what is the total number of total apps?
CREATE TABLE table_name_6 (total_apps VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
SELECT range__m_ FROM table_21538523_1 WHERE type = "FJ/PB/SCP"
What range does type FJ/PB/SCP work at?
CREATE TABLE table_21538523_1 (range__m_ VARCHAR, type VARCHAR)
SELECT party FROM table_1341577_36 WHERE incumbent = "Del Latta"
Which party does Del Latta belong to?
CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR)
SELECT address FROM table_name_42 WHERE year = "1974"
What was the address in 1974?
CREATE TABLE table_name_42 (address VARCHAR, year VARCHAR)
SELECT laps FROM table_name_71 WHERE driver = "luca badoer"
How many laps does luca badoer have?
CREATE TABLE table_name_71 (laps VARCHAR, driver VARCHAR)
SELECT percentage_republicans FROM table_name_62 WHERE democratic__republican = "7/6"
What is the percent of republicans with 7/6 democrat/republican?
CREATE TABLE table_name_62 (percentage_republicans VARCHAR, democratic__republican VARCHAR)
SELECT SUM(bronze) FROM table_name_67 WHERE rank = "10" AND gold < 0
What is the sum of bronzes associated with 0 golds and a rank of 10?
CREATE TABLE table_name_67 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT COUNT(round) FROM table_2214582_3 WHERE opponents = "FC St. Gallen"
What round did they face fc st. gallen?
CREATE TABLE table_2214582_3 (round VARCHAR, opponents VARCHAR)
SELECT score FROM table_name_88 WHERE opponent = "@ braves" AND loss = "pelfrey (2–5)"
Opponent of @ braves, and a Loss of pelfrey (2–5) had what score?
CREATE TABLE table_name_88 (score VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT civil_parish FROM table_30120664_1 WHERE townland = "Garryduff"
name the civil parish for garryduff
CREATE TABLE table_30120664_1 (civil_parish VARCHAR, townland VARCHAR)
SELECT eccentricity FROM table_name_75 WHERE semimajor_axis___au__ = "20 au"
What is the eccentricity when the semimajor axis is 20 au?
CREATE TABLE table_name_75 (eccentricity VARCHAR, semimajor_axis___au__ VARCHAR)
SELECT MIN(run_3) FROM table_name_30 WHERE run_2 < 53.72 AND run_1 = 53.1
What is the lowest run 3 an athlete with a run 2 less than 53.72 and a run 1 of 53.1 has?
CREATE TABLE table_name_30 (run_3 INTEGER, run_2 VARCHAR, run_1 VARCHAR)
SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = "osella fa1c"
What entrant has osella fa1c chassis after 1981?
CREATE TABLE table_name_60 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT length FROM table_name_52 WHERE year = "2003" AND make_ & _model = "nabi 35-lfw"
What is the lenth of a 2003 Make & Model of nabi 35-lfw?
CREATE TABLE table_name_52 (length VARCHAR, year VARCHAR, make_ VARCHAR, _model VARCHAR)
SELECT stadium FROM table_15190346_2 WHERE attendance = "75,406"
What is the stadium where the attendance was 75,406?
CREATE TABLE table_15190346_2 (stadium VARCHAR, attendance VARCHAR)
SELECT fis_nordic_world_ski_championships FROM table_174491_2 WHERE holmenkollen = "1976"
What is the FIS Nordic World Ski Championships when holmenkollen is 1976?
CREATE TABLE table_174491_2 (fis_nordic_world_ski_championships VARCHAR, holmenkollen VARCHAR)
SELECT chassis FROM table_name_41 WHERE year > 1990 AND entrant = "minardi scuderia italia" AND points = 4
What is the Chassis having a year later than 1990, and Minardi Scuderia Italia as an entrant, and 4 points?
CREATE TABLE table_name_41 (chassis VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR)
SELECT weight FROM table_name_41 WHERE denomination = "three paise"
What is the weight with a denomination that is three paise?
CREATE TABLE table_name_41 (weight VARCHAR, denomination VARCHAR)
SELECT visitor FROM table_name_29 WHERE score = "121–85"
Who was the visiting team at the Cavaliers game that had a score of 121–85?
CREATE TABLE table_name_29 (visitor VARCHAR, score VARCHAR)
SELECT qual FROM table_name_1 WHERE year = "1957"
Name the qual for 1957
CREATE TABLE table_name_1 (qual VARCHAR, year VARCHAR)
SELECT COUNT(grid) FROM table_name_10 WHERE driver = "heinz-harald frentzen"
I want the total number of Grids for heinz-harald frentzen
CREATE TABLE table_name_10 (grid VARCHAR, driver VARCHAR)
SELECT date FROM table_name_92 WHERE result = "8-1" AND score = "8-1"
When was there a result of 8-1 and a score of 8-1?
CREATE TABLE table_name_92 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT AVG(area__km_2__) FROM table_name_46 WHERE population = 311
What is the km2 area for the population of 311?
CREATE TABLE table_name_46 (area__km_2__ INTEGER, population VARCHAR)
SELECT commissioned__decommissioned FROM table_name_17 WHERE nvr_page = "aor-7"
Name the commissioned-decommissioned for NVR page of aor-7
CREATE TABLE table_name_17 (commissioned__decommissioned VARCHAR, nvr_page VARCHAR)
SELECT against FROM table_name_12 WHERE opposing_teams = "australia" AND date = "27/07/1991"
What is Against, when Opposing Teams is "Australia", and when Date is "27/07/1991"?
CREATE TABLE table_name_12 (against VARCHAR, opposing_teams VARCHAR, date VARCHAR)
SELECT MAX(_number) FROM table_197638_7 WHERE french_open = 1974
What is the number for the french open 1974?
CREATE TABLE table_197638_7 (_number INTEGER, french_open VARCHAR)
SELECT player FROM table_name_33 WHERE round < 3
Which player was selected in rounds under 3?
CREATE TABLE table_name_33 (player VARCHAR, round INTEGER)
SELECT home_team AS score FROM table_name_26 WHERE home_team = "south melbourne"
How many points did South Melbourne score as the home team?
CREATE TABLE table_name_26 (home_team VARCHAR)
SELECT producer FROM table_name_71 WHERE production_cost = "$1,000,000"
What is the name of the producer that produced a film with a production cost of $1,000,000?
CREATE TABLE table_name_71 (producer VARCHAR, production_cost VARCHAR)
SELECT game FROM table_17340355_6 WHERE team = "Milwaukee"
Which game was played by team milwaukee
CREATE TABLE table_17340355_6 (game VARCHAR, team VARCHAR)
SELECT sprint_classification FROM table_29332810_14 WHERE winner = "Francisco Ventoso"
Who is the sprint classification where Francisco Ventoso wins?
CREATE TABLE table_29332810_14 (sprint_classification VARCHAR, winner VARCHAR)
SELECT record FROM table_name_99 WHERE opponent = "vs washington wizards"
What Record has an Opponent of vs washington wizards?
CREATE TABLE table_name_99 (record VARCHAR, opponent VARCHAR)
SELECT COUNT(points) FROM table_name_43 WHERE entrant = "martini racing" AND engine = "alfa romeo flat-12" AND chassis = "brabham bt45" AND year = 1976
How many points does an entrant of Martini Racing, the engine of an Alfa Romeo flat-12 a chassis of brabham bt45, and the year 1976 have?
CREATE TABLE table_name_43 (points VARCHAR, year VARCHAR, chassis VARCHAR, entrant VARCHAR, engine VARCHAR)
SELECT AVG(losses) FROM table_name_8 WHERE club = "warrnambool" AND draws < 19
What are the losses of Warrnambool with a draw less than 19?
CREATE TABLE table_name_8 (losses INTEGER, club VARCHAR, draws VARCHAR)