answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT deaths FROM table_2930244_4 WHERE number_of_hurricanes = 10 AND number_of_major_hurricanes = 1
CREATE TABLE table_2930244_4 (deaths VARCHAR, number_of_hurricanes VARCHAR, number_of_major_hurricanes VARCHAR)
How many deaths did the year with 10 hurricanes and exactly 1 major hurricane have?
SELECT COUNT(no) FROM table_29329432_1 WHERE written_by = "Jim Barnes" AND us_viewers__million_ = "1.82"
CREATE TABLE table_29329432_1 (no VARCHAR, written_by VARCHAR, us_viewers__million_ VARCHAR)
Name the number of episodes that jim barnes wrote for 1.82 million viewers
SELECT MIN(no) FROM table_29329432_1 WHERE production_code = "3X6266"
CREATE TABLE table_29329432_1 (no INTEGER, production_code VARCHAR)
Name the least number for production code 3x6266
SELECT COUNT(status) FROM table_2933761_1 WHERE played_by = "Maurice Dean Wint"
CREATE TABLE table_2933761_1 (status VARCHAR, played_by VARCHAR)
How many characters does Maurice Dean Wint play in the movie Cube?
SELECT occupation FROM table_2933761_1 WHERE name = "Joan Leaven"
CREATE TABLE table_2933761_1 (occupation VARCHAR, name VARCHAR)
What is Joan Leaven's occupation?
SELECT gender FROM table_2933761_1 WHERE name = "Quentin"
CREATE TABLE table_2933761_1 (gender VARCHAR, name VARCHAR)
What gender is Quentin?
SELECT played_by FROM table_2933761_1 WHERE occupation = "Mathematics Student"
CREATE TABLE table_2933761_1 (played_by VARCHAR, occupation VARCHAR)
Who played the mathematics student?
SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = "Joan Leaven"
CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR)
How many prisons is Joan Leaven connected with?
SELECT team_classification FROM table_29332810_14 WHERE aggressive_rider = "Richie Porte"
CREATE TABLE table_29332810_14 (team_classification VARCHAR, aggressive_rider VARCHAR)
What is aggressive rider Richie Porte's team classifaction?
SELECT MAX(stage) FROM table_29332810_14 WHERE aggressive_rider = "Thomas De Gendt"
CREATE TABLE table_29332810_14 (stage INTEGER, aggressive_rider VARCHAR)
Thomas de Gendt performed on what stage as aggressive rider?
SELECT young_rider_classification FROM table_29332810_14 WHERE aggressive_rider = "Luke Durbridge"
CREATE TABLE table_29332810_14 (young_rider_classification VARCHAR, aggressive_rider VARCHAR)
Where Luke Durbridge is the aggressive rider who is listed as the young rider classification?
SELECT general_classification FROM table_29332810_14 WHERE winner = "Ben Swift" AND young_rider_classification = "Cameron Meyer"
CREATE TABLE table_29332810_14 (general_classification VARCHAR, winner VARCHAR, young_rider_classification VARCHAR)
Who is listed under the general classifcation where Ben Swift won and Cameron Meyer was listed under the young rider?
SELECT sprint_classification FROM table_29332810_14 WHERE winner = "Francisco Ventoso"
CREATE TABLE table_29332810_14 (sprint_classification VARCHAR, winner VARCHAR)
Who is the sprint classification where Francisco Ventoso wins?
SELECT week_of FROM table_29302781_12 WHERE runner_up = "Pat Du Pré"
CREATE TABLE table_29302781_12 (week_of VARCHAR, runner_up VARCHAR)
In the week of what was the runner-up Pat Du Pré?
SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Peter Feigl"
CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR)
Who were the semifinalists when the runner-up was Peter Feigl?
SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Pat Du Pré"
CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR)
Who were the semifinalists when the runner-up was Pat Du Pré?
SELECT semifinalists FROM table_29302781_12 WHERE week_of = "13 November" AND runner_up = "Pat Du Pré"
CREATE TABLE table_29302781_12 (semifinalists VARCHAR, week_of VARCHAR, runner_up VARCHAR)
Who were the semifinalists in the week of 13 November when the runner-up was Pat Du Pré?
SELECT quarterfinalists FROM table_29302816_8 WHERE runner_up = "Andrew Pattison"
CREATE TABLE table_29302816_8 (quarterfinalists VARCHAR, runner_up VARCHAR)
What are the quarterfinalists when the runner up is andrew pattison?
SELECT rank_2010 FROM table_293465_1 WHERE country = "Indonesia"
CREATE TABLE table_293465_1 (rank_2010 VARCHAR, country VARCHAR)
When indonesia is the country what is the rank of 2010?
SELECT country FROM table_293465_1 WHERE rank_2011 = 5
CREATE TABLE table_293465_1 (country VARCHAR, rank_2011 VARCHAR)
When 5 is the rank of 2011 what is the country?
SELECT MAX(production_in_2010__1), 000 AS _ton_ FROM table_293465_1 WHERE country = "Sweden"
CREATE TABLE table_293465_1 (production_in_2010__1 INTEGER, country VARCHAR)
When sweden is the country what is the highest production in 2010 (1,000 ton)?
SELECT circuit FROM table_29361707_2 WHERE pole_position = "Valmir Benavides"
CREATE TABLE table_29361707_2 (circuit VARCHAR, pole_position VARCHAR)
Valmir Benavides won pole position at which circuit?
SELECT winning_driver FROM table_29361707_2 WHERE pole_position = "Roberval Andrade" AND fastest_lap = "Felipe Giaffone" AND winning_team = "RVR Corinthians Motorsport"
CREATE TABLE table_29361707_2 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team?
SELECT MIN(subscribers__2005___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone"
CREATE TABLE table_29395291_2 (subscribers__2005___thousands_ INTEGER, provider VARCHAR)
What is the fewest number of 2005 subscribers for Vodafone?
SELECT MAX(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Glo Mobile"
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ INTEGER, provider VARCHAR)
What is the maximum number of 2006 subscribers for Glo Mobile?
SELECT MAX(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Mobilis"
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ INTEGER, provider VARCHAR)
What is the maximum number of 2006 subscribers for Mobilis?
SELECT subscribers__2006___thousands_ FROM table_29395291_2 WHERE provider = "Glo Mobile"
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR)
How many subscribers, in 2006, does Glo Mobile have?
SELECT COUNT(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone"
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR)
How many 2006 subscribers are named Vodafone?
SELECT COUNT(captain) FROM table_29398373_2 WHERE team = "Barcelona"
CREATE TABLE table_29398373_2 (captain VARCHAR, team VARCHAR)
Name the number of captains for barcelona
SELECT chairman FROM table_29398373_2 WHERE captain = "Iker Casillas"
CREATE TABLE table_29398373_2 (chairman VARCHAR, captain VARCHAR)
Name the chairman for iker casillas
SELECT team FROM table_29398373_2 WHERE head_coach = "Javier Clemente"
CREATE TABLE table_29398373_2 (team VARCHAR, head_coach VARCHAR)
Name the team for javier clemente
SELECT season__number FROM table_29391888_1 WHERE production_code = "3.89"
CREATE TABLE table_29391888_1 (season__number VARCHAR, production_code VARCHAR)
What is the season # for the production code 3.89?
SELECT written_by FROM table_29391888_1 WHERE directed_by = "Kevin Inch"
CREATE TABLE table_29391888_1 (written_by VARCHAR, directed_by VARCHAR)
Who wrote the episode that was directed by Kevin Inch?
SELECT original_air_date FROM table_29391888_1 WHERE season__number = 2
CREATE TABLE table_29391888_1 (original_air_date VARCHAR, season__number VARCHAR)
What is the original air date for the season# 2?
SELECT production_code FROM table_29391888_1 WHERE original_air_date = "May15,2000"
CREATE TABLE table_29391888_1 (production_code VARCHAR, original_air_date VARCHAR)
What is the production code for the episode whose original air date was May15,2000?
SELECT former_school FROM table_29418619_1 WHERE hometown = "Detroit, MI"
CREATE TABLE table_29418619_1 (former_school VARCHAR, hometown VARCHAR)
What is the former school of the player from Detroit, MI?
SELECT hometown FROM table_29418619_1 WHERE name = "Jarrid Famous"
CREATE TABLE table_29418619_1 (hometown VARCHAR, name VARCHAR)
What is the hometown of Jarrid Famous?
SELECT _number FROM table_29418619_1 WHERE hometown = "Tampa, FL"
CREATE TABLE table_29418619_1 (_number VARCHAR, hometown VARCHAR)
What number is the player whose hometown is Tampa, FL?
SELECT year FROM table_29418619_1 WHERE _number = 31
CREATE TABLE table_29418619_1 (year VARCHAR, _number VARCHAR)
What year is the player whose number is 31?
SELECT height FROM table_29418619_1 WHERE name = "Anthony Crater"
CREATE TABLE table_29418619_1 (height VARCHAR, name VARCHAR)
What is the height of Anthony Crater?
SELECT former_school FROM table_29418619_1 WHERE hometown = "North Port, FL"
CREATE TABLE table_29418619_1 (former_school VARCHAR, hometown VARCHAR)
What is the former school of the player from North Port, FL?
SELECT COUNT(country) FROM table_2941963_1 WHERE remittances_2008 = "9.07"
CREATE TABLE table_2941963_1 (country VARCHAR, remittances_2008 VARCHAR)
how many countries have remittances in 2008 of 9.07?
SELECT COUNT(remittances_2010) FROM table_2941963_1 WHERE remittances_2009 = "19.73"
CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, remittances_2009 VARCHAR)
how many remittances in 2010 where the remittances is 19.73?
SELECT remittances_2010 FROM table_2941963_1 WHERE country = "Nigeria"
CREATE TABLE table_2941963_1 (remittances_2010 VARCHAR, country VARCHAR)
how many remittances in 2010 for nigeria?
SELECT COUNT(country) FROM table_2941963_1 WHERE remittances_2009 = "6.02"
CREATE TABLE table_2941963_1 (country VARCHAR, remittances_2009 VARCHAR)
how many countiers had 2009 remittances of 6.02?
SELECT MAX(year) FROM table_2941848_2 WHERE s_field_reporter = "Steve Lyons"
CREATE TABLE table_2941848_2 (year INTEGER, s_field_reporter VARCHAR)
What is the highest year with field reporter Steve Lyons?
SELECT pregame_analysts FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose"
CREATE TABLE table_2941848_2 (pregame_analysts VARCHAR, trophy_presentation VARCHAR)
What is every pregame analyst with Chris Rose as trophy presenter?
SELECT play_by_play_announcer FROM table_2941848_2 WHERE trophy_presentation = "Chris Rose"
CREATE TABLE table_2941848_2 (play_by_play_announcer VARCHAR, trophy_presentation VARCHAR)
Who is every play-by-play announcer when Chris Rose is the trophy presenter?
SELECT COUNT(fourth_place) FROM table_29446183_2 WHERE winner = "Otsuka Pharmaceuticals"
CREATE TABLE table_29446183_2 (fourth_place VARCHAR, winner VARCHAR)
How many teams came in fourth when Otsuka Pharmaceuticals won?
SELECT runner_up FROM table_29446183_2 WHERE fourth_place = "Sagawa Express"
CREATE TABLE table_29446183_2 (runner_up VARCHAR, fourth_place VARCHAR)
Who was the runner up the season that Sagawa Express came in fourth?
SELECT COUNT(season) FROM table_29446183_2 WHERE third_place = "Otsuka Pharmaceuticals"
CREATE TABLE table_29446183_2 (season VARCHAR, third_place VARCHAR)
How many seasons did Otsuka Pharmaceuticals come in third?
SELECT COUNT(no_in_series) FROM table_29436238_1 WHERE written_by = "Gregg Mettler"
CREATE TABLE table_29436238_1 (no_in_series VARCHAR, written_by VARCHAR)
How many episodes were written by Gregg Mettler?
SELECT original_air_date FROM table_29436238_1 WHERE no_in_season = 4
CREATE TABLE table_29436238_1 (original_air_date VARCHAR, no_in_season VARCHAR)
What date did episode 4 in the season originally air?
SELECT major_users FROM table_29474407_11 WHERE name__designation = "Gordon Close-Support Weapon System"
CREATE TABLE table_29474407_11 (major_users VARCHAR, name__designation VARCHAR)
Who are all the major users of the Gordon Close-Support Weapon System?
SELECT country_of_origin FROM table_29474407_11 WHERE name__designation = "Flieger-Doppelpistole 1919"
CREATE TABLE table_29474407_11 (country_of_origin VARCHAR, name__designation VARCHAR)
What country made the Flieger-Doppelpistole 1919?
SELECT COUNT(year_of_intro) FROM table_29474407_11 WHERE name__designation = "Neal submachine gun"
CREATE TABLE table_29474407_11 (year_of_intro VARCHAR, name__designation VARCHAR)
How many years of introduction does the Neal Submachine Gun have?
SELECT major_users FROM table_29474407_11 WHERE country_of_origin = "Australia"
CREATE TABLE table_29474407_11 (major_users VARCHAR, country_of_origin VARCHAR)
Who are the major users from Australia?
SELECT major_users FROM table_29474407_11 WHERE name__designation = "Saturn machine pistol"
CREATE TABLE table_29474407_11 (major_users VARCHAR, name__designation VARCHAR)
Who are all the major users of the Saturn Machine Pistol?
SELECT COUNT(colonel) FROM table_29458735_5 WHERE county = "Pope"
CREATE TABLE table_29458735_5 (colonel VARCHAR, county VARCHAR)
in how many of the arkansas colomel the county was pope
SELECT colonel FROM table_29458735_5 WHERE regiment = "35th regiment"
CREATE TABLE table_29458735_5 (colonel VARCHAR, regiment VARCHAR)
what is the name of the coloneo of the 35th regiment
SELECT regiment FROM table_29458735_5 WHERE county = "Fulton"
CREATE TABLE table_29458735_5 (regiment VARCHAR, county VARCHAR)
which regiment was in the Fulton County
SELECT county FROM table_29458735_5 WHERE division = "2nd division" AND regiment = "41st regiment"
CREATE TABLE table_29458735_5 (county VARCHAR, division VARCHAR, regiment VARCHAR)
what is he name of the county where the 2nd division and the 41st regiment was
SELECT regiment FROM table_29458735_5 WHERE county = "Arkansas"
CREATE TABLE table_29458735_5 (regiment VARCHAR, county VARCHAR)
which regimen was in the arkansas county
SELECT director FROM table_29475589_3 WHERE writer_s_ = "Nicole Dubuc Duane Capizzi"
CREATE TABLE table_29475589_3 (director VARCHAR, writer_s_ VARCHAR)
When nicole dubuc duane capizzi is the writer who is the director?
SELECT episode_title FROM table_29475589_3 WHERE no = 22
CREATE TABLE table_29475589_3 (episode_title VARCHAR, no VARCHAR)
When 22 is the number what is the episode title?
SELECT us_original_airdate FROM table_29475589_5 WHERE _number = 9
CREATE TABLE table_29475589_5 (us_original_airdate VARCHAR, _number VARCHAR)
When the # is 9 what is the U.S original airdate?
SELECT COUNT(representative) FROM table_29486189_4 WHERE first_elected = "2008" AND residence = "Hanover Twp"
CREATE TABLE table_29486189_4 (representative VARCHAR, first_elected VARCHAR, residence VARCHAR)
how many representatives from hanover twp were first elected in 2008
SELECT first_elected FROM table_29486189_4 WHERE representative = "Al Landis"
CREATE TABLE table_29486189_4 (first_elected VARCHAR, representative VARCHAR)
when was al landis first elected
SELECT representative FROM table_29486189_4 WHERE residence = "Willowick"
CREATE TABLE table_29486189_4 (representative VARCHAR, residence VARCHAR)
which representative is from willowick
SELECT COUNT(district) FROM table_29486189_4 WHERE representative = "Andy Thompson"
CREATE TABLE table_29486189_4 (district VARCHAR, representative VARCHAR)
which district does andy thompson represent
SELECT party FROM table_29486189_4 WHERE residence = "Newark"
CREATE TABLE table_29486189_4 (party VARCHAR, residence VARCHAR)
which party is the newark representative from
SELECT representative FROM table_29486189_4 WHERE residence = "Beavercreek"
CREATE TABLE table_29486189_4 (representative VARCHAR, residence VARCHAR)
who is beavercreek's representative
SELECT MAX(rolex_ranking) FROM table_29506171_2 WHERE money_list_rank = "3"
CREATE TABLE table_29506171_2 (rolex_ranking INTEGER, money_list_rank VARCHAR)
What was Reid's rolex ranking in the year that her money list rank was 3?
SELECT money_list_rank FROM table_29506171_2 WHERE top_10s = 0
CREATE TABLE table_29506171_2 (money_list_rank VARCHAR, top_10s VARCHAR)
What was the money list rank for Reid in the year that she had 0 top 10s?
SELECT MAX(cuts_made) FROM table_29506171_2 WHERE earnings___€__ = "n/a"
CREATE TABLE table_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR)
How many cuts did Reid make in the year when her earnings were n/a?
SELECT MIN(year) FROM table_29506171_2 WHERE earnings___€__ = "4,050 1"
CREATE TABLE table_29506171_2 (year INTEGER, earnings___€__ VARCHAR)
In what year were Reid's earnings €4,050 1?
SELECT best_finish FROM table_29504351_2 WHERE earnings__$_ = 421050
CREATE TABLE table_29504351_2 (best_finish VARCHAR, earnings__$_ VARCHAR)
What is the best finish for the player whose earnings was $421050?
SELECT MAX(starts) FROM table_29504351_2 WHERE player = "Jeff Brehaut"
CREATE TABLE table_29504351_2 (starts INTEGER, player VARCHAR)
What is the maximum start record for player of Jeff Brehaut?
SELECT best_finish FROM table_29504351_2 WHERE player = "Carl Paulson"
CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR)
What is the best finish record for Carl Paulson?
SELECT best_finish FROM table_29504351_2 WHERE player = "Sean O'Hair"
CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR)
What is the best finish record for Sean O'hair?
SELECT MAX(money_list_rank) FROM table_29504351_2 WHERE player = "Doug Barron"
CREATE TABLE table_29504351_2 (money_list_rank INTEGER, player VARCHAR)
What is the money list rank for player Doug Barron?
SELECT COUNT(quarterfinals) FROM table_29521180_35 WHERE athlete = "Federico Muller"
CREATE TABLE table_29521180_35 (quarterfinals VARCHAR, athlete VARCHAR)
How many athletes were named federico muller?
SELECT round_of_16 FROM table_29521180_35 WHERE athlete = "Felipe Saucedo"
CREATE TABLE table_29521180_35 (round_of_16 VARCHAR, athlete VARCHAR)
What was the round of 16 result for felipe saucedo?
SELECT isbn FROM table_2950964_5 WHERE title = "The Ring Of Steel"
CREATE TABLE table_2950964_5 (isbn VARCHAR, title VARCHAR)
The Ring of Steel possesses what ISBN?
SELECT read_by FROM table_2950964_5 WHERE isbn = "isbn 978-1-4084-6879-1"
CREATE TABLE table_2950964_5 (read_by VARCHAR, isbn VARCHAR)
THe audio book with ISBN 978-1-4084-6879-1 is read by whom?
SELECT _number FROM table_2950964_5 WHERE title = "The Empty House"
CREATE TABLE table_2950964_5 (_number VARCHAR, title VARCHAR)
The Empty House audiobook has what #?
SELECT COUNT(directed_by) FROM table_29545336_2 WHERE no = 2
CREATE TABLE table_29545336_2 (directed_by VARCHAR, no VARCHAR)
How many people directed episode 2?
SELECT title FROM table_29545336_2 WHERE featured_character_s_ = "Abbud Siddiqui"
CREATE TABLE table_29545336_2 (title VARCHAR, featured_character_s_ VARCHAR)
What is the title of the episode that featured Abbud Siddiqui?
SELECT us_viewers__millions_ FROM table_29545336_2 WHERE written_by = "Matt Pelfrey"
CREATE TABLE table_29545336_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
How many million U.S. viewers was written by Matt Pelfrey?
SELECT COUNT(tonnes_of_co2_saved) FROM table_29538735_1 WHERE _percentage_electricity_reduction = "8.9%"
CREATE TABLE table_29538735_1 (tonnes_of_co2_saved VARCHAR, _percentage_electricity_reduction VARCHAR)
When 8.9% is the electricity reduction percentage how many sets of tonnes of co2 saved is there?
SELECT year FROM table_29538735_1 WHERE tonnes_of_co2_saved = 1522
CREATE TABLE table_29538735_1 (year VARCHAR, tonnes_of_co2_saved VARCHAR)
When 1522 is the tonnes of co2 saved what is the year?
SELECT _percentage_electricity_reduction FROM table_29538735_1 WHERE £_saved = "£337,000"
CREATE TABLE table_29538735_1 (_percentage_electricity_reduction VARCHAR, £_saved VARCHAR)
When £337,000 is £ saved what is the percentage of electricity reduction?
SELECT £_saved FROM table_29538735_1 WHERE _percentage_electricity_reduction = "8.9%"
CREATE TABLE table_29538735_1 (£_saved VARCHAR, _percentage_electricity_reduction VARCHAR)
When 8.9% is the electricity reduction percentage what is the £ saved?
SELECT COUNT(universities) FROM table_29538735_1 WHERE _percentage_electricity_reduction = "10%"
CREATE TABLE table_29538735_1 (universities VARCHAR, _percentage_electricity_reduction VARCHAR)
When 10% is the percentage of electricity reduction how many sets of universities are there?
SELECT MAX(l) FROM table_29545993_3 WHERE pa = 47
CREATE TABLE table_29545993_3 (l INTEGER, pa VARCHAR)
What is maximum loss record when the pa record is 47?
SELECT MIN(Ends) AS lost FROM table_29545993_3 WHERE stolen_ends = 6 AND l > 5.0
CREATE TABLE table_29545993_3 (Ends INTEGER, stolen_ends VARCHAR, l VARCHAR)
What is the minimum ends lost record when the stolen ends records is 6 and the loss record is bigger than 5.0?
SELECT MIN(stolen_ends) FROM table_29545993_3 WHERE pa = 40
CREATE TABLE table_29545993_3 (stolen_ends INTEGER, pa VARCHAR)
What is the minimum stolen ends record where the pa record is 40?
SELECT MIN(w) FROM table_29542269_2
CREATE TABLE table_29542269_2 (w INTEGER)
What is the lowest overall amount of w's?
SELECT MAX(l) FROM table_29542147_2
CREATE TABLE table_29542147_2 (l INTEGER)
What is the highest L of the tournament?
SELECT MAX(w) FROM table_29542147_2 WHERE l = 0
CREATE TABLE table_29542147_2 (w INTEGER, l VARCHAR)
What is the highest W of the 0 L?