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