answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MIN(game) FROM table_23486853_6 WHERE opponent = "Buffalo Sabres"
CREATE TABLE table_23486853_6 (game INTEGER, opponent VARCHAR)
What was the game number when the opposing team was the Buffalo Sabres?
SELECT directed_by FROM table_234886_3 WHERE no_in_series = 44
CREATE TABLE table_234886_3 (directed_by VARCHAR, no_in_series VARCHAR)
Who directed episode no. 44 in the series?
SELECT COUNT(no_in_season) FROM table_234886_3 WHERE prod_code = "2-05"
CREATE TABLE table_234886_3 (no_in_season VARCHAR, prod_code VARCHAR)
What is the number in the season of the episode with a production code of 2-05?
SELECT title FROM table_234886_3 WHERE prod_code = "2-19"
CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)
What is the title of the episode with the production code 2-19?
SELECT COUNT(title) FROM table_234886_3 WHERE no_in_series = 29
CREATE TABLE table_234886_3 (title VARCHAR, no_in_series VARCHAR)
What is the total number of titles for the episode numbered 29 in the series?
SELECT title FROM table_23492454_1 WHERE directed_by = "Jessica Yu"
CREATE TABLE table_23492454_1 (title VARCHAR, directed_by VARCHAR)
What was the name of the episode directed by Jessica Yu?
SELECT directed_by FROM table_23492454_1 WHERE written_by = "Shonda Rhimes"
CREATE TABLE table_23492454_1 (directed_by VARCHAR, written_by VARCHAR)
who directed the episode written by Shonda Rhimes?
SELECT COUNT(no_in_series) FROM table_23492454_1 WHERE no_in_season = 18
CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR)
How many episodes in the series are also episode 18 in the season?
SELECT opponent FROM table_23486853_8 WHERE date = "March 16"
CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR)
Who is every opponent on the date of March 16?
SELECT score FROM table_23486853_8 WHERE opponent = "Atlanta Thrashers"
CREATE TABLE table_23486853_8 (score VARCHAR, opponent VARCHAR)
What is every score for the opponent of Atlanta Thrashers?
SELECT location FROM table_23486853_8 WHERE date = "March 20"
CREATE TABLE table_23486853_8 (location VARCHAR, date VARCHAR)
What is every location for the date of March 20?
SELECT score FROM table_23486853_8 WHERE location = "Verizon Center" AND points = 68
CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)
What is every score at the location of Verizon Center and points of 68?
SELECT date FROM table_23486853_8 WHERE record = "30–34–12"
CREATE TABLE table_23486853_8 (date VARCHAR, record VARCHAR)
What is every date with a record of 30–34–12?
SELECT MAX(officers_o_s) FROM table_23508196_2 WHERE total_usaaf = 2373882
CREATE TABLE table_23508196_2 (officers_o_s INTEGER, total_usaaf VARCHAR)
How many officers o/s were there on the day when the number of USAAF was 2373882?
SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471
CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)
How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?
SELECT tot_officers FROM table_23508196_2 WHERE tot_enlisted = 329640
CREATE TABLE table_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR)
How many tot officers were there on the date when the number of tot enlisted was 329640?
SELECT MAX(tot_enlisted) FROM table_23508196_2 WHERE total_usaaf = 2329534
CREATE TABLE table_23508196_2 (tot_enlisted INTEGER, total_usaaf VARCHAR)
How many Tot enlisted were there on the day when the number of total USAAF was 2329534?
SELECT COUNT(age) FROM table_23495048_2 WHERE represent = "Mitteldeutschland"
CREATE TABLE table_23495048_2 (age VARCHAR, represent VARCHAR)
How many contestants where from mitteldeutschland?
SELECT height__mtr_ FROM table_23495048_2 WHERE contestant = "Ulrike Wolful"
CREATE TABLE table_23495048_2 (height__mtr_ VARCHAR, contestant VARCHAR)
How many meters tall is Ulrike Wolful?
SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.76"
CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)
Which country had a contestant that was 1.76 meters tall?
SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.70"
CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)
What country had a contestant that was 1.70 meters tall?
SELECT MAX(points) FROM table_23501776_18 WHERE seed = 2
CREATE TABLE table_23501776_18 (points INTEGER, seed VARCHAR)
If seed number is 2, what is the maximum amount of points?
SELECT status FROM table_23501776_18 WHERE new_points = 1720
CREATE TABLE table_23501776_18 (status VARCHAR, new_points VARCHAR)
If new points is 1720, what is the status?
SELECT winning_party_coalition FROM table_23512864_4 WHERE election_year = 1980
CREATE TABLE table_23512864_4 (winning_party_coalition VARCHAR, election_year VARCHAR)
Who is the winning party/coalition name in election year 1980?
SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "Munu Adhi (2) K. Rajaram"
CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)
If the speaker is Munu Adhi (2) K. Rajaram, what is the election year maximum?
SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "R. Muthiah"
CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)
If the speaker is R. Muthiah, what is the election year maximum?
SELECT speaker FROM table_23512864_4 WHERE chief_minister = "M.G. Ramachandran"
CREATE TABLE table_23512864_4 (speaker VARCHAR, chief_minister VARCHAR)
What is the name of the speaker if the chief minister is M.G. Ramachandran?
SELECT MAX(election_year) FROM table_23512864_4 WHERE assembly = "Sixth assembly"
CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR)
If the assembly is the sixth assembly, what is the maximum election year?
SELECT number_of_crews FROM table_23508196_5 WHERE type_of_unit = "Light bombardment group"
CREATE TABLE table_23508196_5 (number_of_crews VARCHAR, type_of_unit VARCHAR)
Name the number of crews for light bombardment group
SELECT type_of_aircraft FROM table_23508196_5 WHERE number_of_crews = "21"
CREATE TABLE table_23508196_5 (type_of_aircraft VARCHAR, number_of_crews VARCHAR)
What is the aircraft for 21 crews?
SELECT enlisted FROM table_23508196_5 WHERE type_of_unit = "Troop carrier group"
CREATE TABLE table_23508196_5 (enlisted VARCHAR, type_of_unit VARCHAR)
Nam ethe enlisted for troop carrier group
SELECT title FROM table_23513241_5 WHERE us_viewers__millions_ = "1.121"
CREATE TABLE table_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)
What was the title when 1.121 million US people watched it?
SELECT MIN(series_episode) FROM table_23513241_5 WHERE prod_code = 406
CREATE TABLE table_23513241_5 (series_episode INTEGER, prod_code VARCHAR)
What is the lowest series episode with a production code of 406?
SELECT title FROM table_23513241_5 WHERE series_episode = 38
CREATE TABLE table_23513241_5 (title VARCHAR, series_episode VARCHAR)
List the title of series episode 38.
SELECT formula FROM table_23548160_1 WHERE driver = "Stirling Moss"
CREATE TABLE table_23548160_1 (formula VARCHAR, driver VARCHAR)
What type of formula did Stirling Moss drive?
SELECT year FROM table_23548160_1 WHERE driver = "Randy Lewis"
CREATE TABLE table_23548160_1 (year VARCHAR, driver VARCHAR)
What year did Randy Lewis drive?
SELECT constructor FROM table_23548160_1 WHERE year = 1975
CREATE TABLE table_23548160_1 (constructor VARCHAR, year VARCHAR)
What was the constructor in 1975?
SELECT weight FROM table WHERE market_name = "Xperia U"
CREATE TABLE table (weight VARCHAR, market_name VARCHAR)
If the market name is Xperia U, what is the weight?
SELECT release_date FROM table WHERE code_name = "Aoba"
CREATE TABLE table (release_date VARCHAR, code_name VARCHAR)
What is the release date if the code name is Aoba?
SELECT battery___mah__ FROM table WHERE nfc = "Yes" AND weight = "126g"
CREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)
If the weight is 126g and the NFC is yes, what is the battery (MAH)?
SELECT platform FROM table WHERE weight = "131.5g"
CREATE TABLE table (platform VARCHAR, weight VARCHAR)
What is the platform if the weight is 131.5g?
SELECT android_version FROM table WHERE code_name = "Lotus"
CREATE TABLE table (android_version VARCHAR, code_name VARCHAR)
What is the Android version is the code name is Lotus?
SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Middle Assyrian Empire"
CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
When middle assyrian empire is the ubaid period in mesopotamia what is the copper age?
SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Old Kingdom , Minoan eruption"
CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what is the copper age?
SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Middle Kingdom , New Kingdom of Egypt"
CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
When hittite middle kingdom , new kingdom of egypt is the ubaid period in mesopotamia how many early chalcolithics are there?
SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Second Intermediate Period of Egypt"
CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there?
SELECT result FROM table_23563375_11 WHERE opponent = "Loic Didavi"
CREATE TABLE table_23563375_11 (result VARCHAR, opponent VARCHAR)
What was the score against Loic Didavi?
SELECT against FROM table_23563375_11 WHERE w_l = "Loss" AND round = "GI PO"
CREATE TABLE table_23563375_11 (against VARCHAR, w_l VARCHAR, round VARCHAR)
Who was played against when there was a loss and in the gi po round?
SELECT w_l FROM table_23563375_11 WHERE result = "2–6, 5–7, 7–6 (11–9) , 1–6"
CREATE TABLE table_23563375_11 (w_l VARCHAR, result VARCHAR)
What were the w/l when the final score was 2–6, 5–7, 7–6 (11–9) , 1–6?
SELECT playoffs FROM table_2357201_1 WHERE regular_season = "2nd, Great Lakes"
CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR)
When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs?
SELECT MIN(division) FROM table_2357201_1
CREATE TABLE table_2357201_1 (division INTEGER)
What is the lowest numbered division Cleveland played in?
SELECT regular_season FROM table_2357201_1 WHERE year = 2006
CREATE TABLE table_2357201_1 (regular_season VARCHAR, year VARCHAR)
How did Cleveland do in the regular season in 2006?
SELECT open_cup FROM table_2357201_1 WHERE year = 2009
CREATE TABLE table_2357201_1 (open_cup VARCHAR, year VARCHAR)
How did Cleveland do in the Open Cup in 2009?
SELECT scores FROM table_23575917_6 WHERE lees_team = "Victoria Coren and Rhod Gilbert"
CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)
When victoria coren and rhod gilbert are both on the lees team what is the score?
SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson"
CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)
When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?
SELECT episode FROM table_23575917_6 WHERE davids_team = "Bill Oddie and Frank Skinner"
CREATE TABLE table_23575917_6 (episode VARCHAR, davids_team VARCHAR)
When bill oddie and frank skinner are both on the davids team what is the episode?
SELECT scores FROM table_23575917_6 WHERE lees_team = "Kevin Bridges and Katy Wix"
CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)
When kevin bridges and katy wix are both on the less team what is the score?
SELECT COUNT(episode) FROM table_23575917_8 WHERE davids_team = "Vernon Kay and Dara Γ“ Briain"
CREATE TABLE table_23575917_8 (episode VARCHAR, davids_team VARCHAR)
How many shows did team David consist of vernon kay and dara Γ³ briain
SELECT represented FROM table_23576576_2 WHERE hometown = "Windhoek"
CREATE TABLE table_23576576_2 (represented VARCHAR, hometown VARCHAR)
If the hometown is Windhoek, what is the represented?
SELECT contestant FROM table_23576576_2 WHERE hometown = "Omuthiya"
CREATE TABLE table_23576576_2 (contestant VARCHAR, hometown VARCHAR)
If the hometown is Omuthiya, what is the contestant name?
SELECT height__in_ FROM table_23576576_2 WHERE represented = "Erongo"
CREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR)
What is the height in inches if the represented is Erongo?
SELECT COUNT(week) FROM table_23601267_2 WHERE date = "September 29"
CREATE TABLE table_23601267_2 (week VARCHAR, date VARCHAR)
What week did September 29 fall in?
SELECT final_score FROM table_23601267_2 WHERE date = "October 28"
CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)
What was the score on the October 28 game?
SELECT final_score FROM table_23601267_2 WHERE date = "September 20"
CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)
What was the score on September 20?
SELECT main_artillery FROM table_23614702_1 WHERE warship = "Blanco Encalada"
CREATE TABLE table_23614702_1 (main_artillery VARCHAR, warship VARCHAR)
What's Blanco Encalada's main artillery?
SELECT COUNT(horse__power) FROM table_23614702_1 WHERE warship = "Cochrane"
CREATE TABLE table_23614702_1 (horse__power VARCHAR, warship VARCHAR)
How many different horse-powers does the Cochrane have?
SELECT warship FROM table_23614702_1 WHERE horse__power = 1500
CREATE TABLE table_23614702_1 (warship VARCHAR, horse__power VARCHAR)
What warship has horse-power of 1500?
SELECT MIN(tons___lton__) FROM table_23614702_1 WHERE warship = "Independencia"
CREATE TABLE table_23614702_1 (tons___lton__ INTEGER, warship VARCHAR)
How much does the Independencia weight?
SELECT COUNT(built_year) FROM table_23614702_1 WHERE tons___lton__ = 1130
CREATE TABLE table_23614702_1 (built_year VARCHAR, tons___lton__ VARCHAR)
In how many different years was the warship that weights 1130 tons built?
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_60_74 = "10,46%"
CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_60_74 VARCHAR)
What is every value for % 20-39 if % 60-74 is 10,46%?
SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,42%"
CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)
What is every value for % 40-59 if % 60-74 is 12,42%?
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_0_19 = "21,11%"
CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_0_19 VARCHAR)
What is every value for % 20-39 if % 0-19 is 21,11%?
SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,40%"
CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)
What is every value for % 40-59 if % 60-74 is 12,40%?
SELECT horse__power FROM table_23614702_2 WHERE warship = "Covadonga"
CREATE TABLE table_23614702_2 (horse__power VARCHAR, warship VARCHAR)
How man horse power did the ship covadonga have?
SELECT main_artillery FROM table_23614702_2 WHERE tons___lton__ = "1,051"
CREATE TABLE table_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR)
What is the primary artillery for the 1,051 ships?
SELECT speed___knots__ FROM table_23614702_2 WHERE tons___lton__ = "1.150"
CREATE TABLE table_23614702_2 (speed___knots__ VARCHAR, tons___lton__ VARCHAR)
List the maximum speed for the 1.150 ton ships?
SELECT warship FROM table_23614702_2 WHERE main_artillery = "1x115-2x70-2x12-pounders"
CREATE TABLE table_23614702_2 (warship VARCHAR, main_artillery VARCHAR)
List the ship with 1x115-2x70-2x12-pounders for primary artillery.
SELECT location FROM table_23612439_2 WHERE date = "October 28"
CREATE TABLE table_23612439_2 (location VARCHAR, date VARCHAR)
Which location has the date of October 28?
SELECT final_score FROM table_23612439_2 WHERE attendance = 22210
CREATE TABLE table_23612439_2 (final_score VARCHAR, attendance VARCHAR)
What is the final score when 22210 is the attendance?
SELECT opponent FROM table_23612439_2 WHERE date = "July 22"
CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR)
Which opponents are on the date July 22?
SELECT opponent FROM table_23612439_2 WHERE date = "September 5"
CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR)
Which opponents are on the date September 5?
SELECT final_score FROM table_23612439_2 WHERE date = "July 16"
CREATE TABLE table_23612439_2 (final_score VARCHAR, date VARCHAR)
What is the final score when July 16 is the date?
SELECT date FROM table_23612439_2 WHERE location = "Taylor Field"
CREATE TABLE table_23612439_2 (date VARCHAR, location VARCHAR)
On which date is Taylor Field the location?
SELECT COUNT(regular_season) FROM table_2361788_1 WHERE year = 2007
CREATE TABLE table_2361788_1 (regular_season VARCHAR, year VARCHAR)
Name the number of regular season for 2007
SELECT MAX(year) FROM table_2361788_1 WHERE playoffs = "Conference Finals"
CREATE TABLE table_2361788_1 (year INTEGER, playoffs VARCHAR)
Name the most year for conference finals
SELECT regular_season FROM table_2361911_2 WHERE playoffs = "Final"
CREATE TABLE table_2361911_2 (regular_season VARCHAR, playoffs VARCHAR)
Name the regular season for final playoffs
SELECT MIN(division) FROM table_2361911_2
CREATE TABLE table_2361911_2 (division INTEGER)
Name the least division
SELECT regular_season FROM table_2361911_2 WHERE league = "USISL D-3 Pro league" AND playoffs = "Did not qualify"
CREATE TABLE table_2361911_2 (regular_season VARCHAR, league VARCHAR, playoffs VARCHAR)
Name the regular season for usisl d-3 pro league did not qualify
SELECT position FROM table_23619005_3 WHERE cfl_team = "Saskatchewan Roughriders"
CREATE TABLE table_23619005_3 (position VARCHAR, cfl_team VARCHAR)
What was the position of the player from Saskatchewan Roughriders?
SELECT cfl_team FROM table_23619005_3 WHERE position = "SB"
CREATE TABLE table_23619005_3 (cfl_team VARCHAR, position VARCHAR)
What CFL team was the player playing on SB position drafted for?
SELECT position FROM table_23619005_3 WHERE player = "Michael Shaver"
CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR)
What was Michael Shaver's position?
SELECT COUNT(player) FROM table_23619005_3 WHERE cfl_team = "Ottawa Renegades"
CREATE TABLE table_23619005_3 (player VARCHAR, cfl_team VARCHAR)
How many different players got drafted for the Ottawa Renegades?
SELECT position FROM table_23619005_3 WHERE player = "Doug Borden"
CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR)
What's Doug Borden's position?
SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2008 = "1.7%"
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2008 VARCHAR)
What's the percentage of all immigrants in 2007 in the country with 1.7% of all immigrants in 2008?
SELECT COUNT(_percentage_of_all_immigrants_2006) FROM table_23619212_1 WHERE country = "Morocco"
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2006 VARCHAR, country VARCHAR)
How many different percentages of immigrants in 2006 can there be for Morocco?
SELECT _percentage_of_all_immigrants_2004 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2006 = "2.1%"
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006?
SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2006 = "14.1%"
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006?
SELECT COUNT(_percentage_of_all_immigrants_2007) FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2005 = "1.2%"
CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2005 VARCHAR)
How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005?
SELECT outcome FROM table_2362486_1 WHERE score_in_the_final = "6–7(1), 2–6, 6–4, 7–5, 6–7(2)"
CREATE TABLE table_2362486_1 (outcome VARCHAR, score_in_the_final VARCHAR)
What was the outcome in the championship where the final score was 6–7(1), 2–6, 6–4, 7–5, 6–7(2)?
SELECT opponents_in_the_final FROM table_2362486_1 WHERE score_in_the_final = "6–4, 2–6, 6–4, 7–6(3)"
CREATE TABLE table_2362486_1 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
Who were the opponents in the final where the score was 6–4, 2–6, 6–4, 7–6(3)?