answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT college_junior_club_team FROM table_1473672_4 WHERE pick__number = 63
CREATE TABLE table_1473672_4 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Name the college/junior club team for pick number 63
SELECT COUNT(position) FROM table_1473672_10 WHERE player = "Rene Lambert"
CREATE TABLE table_1473672_10 (position VARCHAR, player VARCHAR)
How many positions did 1972 NHL Draft pick Rene Lambert play?
SELECT college_junior_club_team FROM table_1473672_9 WHERE nhl_team = "California Golden Seals"
CREATE TABLE table_1473672_9 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
what's the college/junior/club team with nhl team being california golden seals
SELECT nhl_team FROM table_1473672_9 WHERE college_junior_club_team = "Brandon Wheat Kings (WCHL)"
CREATE TABLE table_1473672_9 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
what's the nhl team with college/junior/club team being brandon wheat kings (wchl)
SELECT player FROM table_1473672_9 WHERE pick__number = 132
CREATE TABLE table_1473672_9 (player VARCHAR, pick__number VARCHAR)
who is the the player with pick # being 132
SELECT COUNT(player) FROM table_1473672_9 WHERE nhl_team = "Vancouver Canucks"
CREATE TABLE table_1473672_9 (player VARCHAR, nhl_team VARCHAR)
how many player with nhl team being vancouver canucks
SELECT position FROM table_1473672_9 WHERE player = "Ray Boutin"
CREATE TABLE table_1473672_9 (position VARCHAR, player VARCHAR)
what's the position with player being ray boutin
SELECT borough FROM table_14748457_1 WHERE station_users_2008_9 = "28702"
CREATE TABLE table_14748457_1 (borough VARCHAR, station_users_2008_9 VARCHAR)
what is the name of the borough where station uses is 28702?
SELECT lines_served FROM table_14748457_1 WHERE station_users_2008_9 = "210076"
CREATE TABLE table_14748457_1 (lines_served VARCHAR, station_users_2008_9 VARCHAR)
what are the lines served where station users is 210076?
SELECT station__and_code_ FROM table_14748457_1 WHERE station_users_2008_9 = "130368"
CREATE TABLE table_14748457_1 (station__and_code_ VARCHAR, station_users_2008_9 VARCHAR)
whatis hte station code where users are 130368?
SELECT class_a FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND class_aAAA = Brownwood
CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR)
Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA
SELECT class_a FROM table_14747043_1 WHERE class_aA = Marion
CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aA VARCHAR, Marion VARCHAR)
Which is the class A when Marion was the class AA
SELECT class_aA FROM table_14747043_1 WHERE class_a = "Graford"
CREATE TABLE table_14747043_1 (class_aA VARCHAR, class_a VARCHAR)
Which is the class AA when graford was the class A
SELECT COUNT(class_aA) FROM table_14747043_1 WHERE school_year = "2002-03"
CREATE TABLE table_14747043_1 (class_aA VARCHAR, school_year VARCHAR)
How many class AA in the year 2002-03
SELECT class_aAAA FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND school_year = "1994-95"
CREATE TABLE table_14747043_1 (class_aAAA VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, school_year VARCHAR)
Who was the class AAAA when class AAAAA was Weslaco in 1994-95
SELECT change__2009_to_2010_ FROM table_14752049_2 WHERE country = "Tunisia"
CREATE TABLE table_14752049_2 (change__2009_to_2010_ VARCHAR, country VARCHAR)
What are the changes from 2009 to 2010 in Tunisia?
SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+11.2%"
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR)
What are the international tourist arrivals in 2010 where change from 2010 to 2011 is +11.2% ?
SELECT change__2010_to_2011_ FROM table_14752049_2 WHERE international_tourist_arrivals__2011_ = "1.7 million"
CREATE TABLE table_14752049_2 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
What are the changes (2010 to 2011) where the International Tourist Arrivals is 1.7 million?
SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2009_to_2010_ = "+11.1%"
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2009_to_2010_ VARCHAR)
What are the international tourist arrivals(2010) where change from 2009 to 2010 is +11.1%?
SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+15%"
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR)
What are the International tourist arrivals (2010) where change from 2010 to 2011 is +15%
SELECT international_tourist_arrivals__2011_ FROM table_14752049_2 WHERE country = "Senegal"
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2011_ VARCHAR, country VARCHAR)
How many international tourist arrivals were in Senegal in 2011?
SELECT change__2011_to_2012_ FROM table_14752049_6 WHERE change__2010_to_2011_ = "+1.0%"
CREATE TABLE table_14752049_6 (change__2011_to_2012_ VARCHAR, change__2010_to_2011_ VARCHAR)
When the change (2010 to 2011) is +1.0% what is the change (2011 to 2012)?
SELECT country FROM table_14752049_6 WHERE change__2011_to_2012_ = "-0.1%"
CREATE TABLE table_14752049_6 (country VARCHAR, change__2011_to_2012_ VARCHAR)
When the change (2011 to 2012) is -0.1% what is the country?
SELECT country FROM table_14752049_6 WHERE change__2011_to_2012_ = "+13.4%"
CREATE TABLE table_14752049_6 (country VARCHAR, change__2011_to_2012_ VARCHAR)
When the change (2011 to 2012) is +13.4% what is the country?
SELECT change__2010_to_2011_ FROM table_14752049_6 WHERE international_tourist_arrivals__2012_ = "24.1 million"
CREATE TABLE table_14752049_6 (change__2010_to_2011_ VARCHAR, international_tourist_arrivals__2012_ VARCHAR)
When 24.1 million is international tourist arrivals (2012) what is the change (2010 to 2011) ?
SELECT change__2011_to_2012_ FROM table_14752049_6 WHERE country = "United Kingdom"
CREATE TABLE table_14752049_6 (change__2011_to_2012_ VARCHAR, country VARCHAR)
United kingdom is the country what is the change (2011 to 2012)?
SELECT COUNT(international_tourist_arrivals__2012_) FROM table_14752049_6 WHERE rank = 1
CREATE TABLE table_14752049_6 (international_tourist_arrivals__2012_ VARCHAR, rank VARCHAR)
When the 1 is the rank what is the overall amount of international tourist arrivals in 2012?
SELECT enrollment FROM table_14754471_1 WHERE hispanic___percentage_ = "3.6"
CREATE TABLE table_14754471_1 (enrollment VARCHAR, hispanic___percentage_ VARCHAR)
What is the enrollment amount where Hispanic (%) is 3.6?
SELECT asian___percentage_ FROM table_14754471_1 WHERE year = 2009
CREATE TABLE table_14754471_1 (asian___percentage_ VARCHAR, year VARCHAR)
What percentage of Asians are there in the year 2009?
SELECT asian___percentage_ FROM table_14754471_1 WHERE year = 2004
CREATE TABLE table_14754471_1 (asian___percentage_ VARCHAR, year VARCHAR)
What percentage of Asians are there in the year 2004?
SELECT hispanic___percentage_ FROM table_14754471_1 WHERE free_reduced_lunch___percentage_ = "81.4"
CREATE TABLE table_14754471_1 (hispanic___percentage_ VARCHAR, free_reduced_lunch___percentage_ VARCHAR)
What percentage of hispanics are there when the free/reduced lunch percentage is 81.4?
SELECT free_reduced_lunch___percentage_ FROM table_14754471_1 WHERE hispanic___percentage_ = "3.7"
CREATE TABLE table_14754471_1 (free_reduced_lunch___percentage_ VARCHAR, hispanic___percentage_ VARCHAR)
What percentage of free/reduced lunch are there when the hispanic percentage is 3.7?
SELECT arranger FROM table_14778650_1 WHERE writer = "Nizar Francis"
CREATE TABLE table_14778650_1 (arranger VARCHAR, writer VARCHAR)
Who was the arranger for the track written by Nizar Francis ?
SELECT writer FROM table_14778650_1 WHERE length = "4:29"
CREATE TABLE table_14778650_1 (writer VARCHAR, length VARCHAR)
Who was the writer for the song 4:29 in length?
SELECT _number FROM table_14778650_1 WHERE length = "4:29"
CREATE TABLE table_14778650_1 (_number VARCHAR, length VARCHAR)
What track number is 4:29 in length?
SELECT females_rank FROM table_14785903_1 WHERE states = "Karnataka"
CREATE TABLE table_14785903_1 (females_rank VARCHAR, states VARCHAR)
What is the female rank in Karnataka?
SELECT title__english_ FROM table_1481865_1 WHERE title__original_ = "Die Qual der Wahl"
CREATE TABLE table_1481865_1 (title__english_ VARCHAR, title__original_ VARCHAR)
What is the English title when the original title is Die Qual Der Wahl?
SELECT number_of_episode FROM table_1481865_1 WHERE title__english_ = "Pilot"
CREATE TABLE table_1481865_1 (number_of_episode VARCHAR, title__english_ VARCHAR)
What is the episode number where the English title is Pilot?
SELECT original_air_date FROM table_1481865_1 WHERE number_of_episode = 6
CREATE TABLE table_1481865_1 (original_air_date VARCHAR, number_of_episode VARCHAR)
What was the original air date for episode number 6?
SELECT title__original_ FROM table_1481865_1 WHERE number_of_season = 3
CREATE TABLE table_1481865_1 (title__original_ VARCHAR, number_of_season VARCHAR)
What is the original title of season number 3?
SELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = "0.7827"
CREATE TABLE table_1480455_1 (municipality VARCHAR, human_development_index__2000_ VARCHAR)
What municipality where the human development index in the year 2000 was 0.7827?
SELECT COUNT(population__2005_) FROM table_1480455_1 WHERE population_density___km_2__ = "35.9"
CREATE TABLE table_1480455_1 (population__2005_ VARCHAR, population_density___km_2__ VARCHAR)
What is the total number of population in the year 2005 where the population density 35.9 (/km 2)?
SELECT human_development_index__2000_ FROM table_1480455_1 WHERE inegi_code = 10
CREATE TABLE table_1480455_1 (human_development_index__2000_ VARCHAR, inegi_code VARCHAR)
What is the human development index for the year 2000 where the ingei code is 10?
SELECT area__km_2__ FROM table_1480455_1 WHERE population_density___km_2__ = "84.3"
CREATE TABLE table_1480455_1 (area__km_2__ VARCHAR, population_density___km_2__ VARCHAR)
What is the area (km 2) where the population density (/mk2) is 84.3?
SELECT mandate FROM table_14834801_1 WHERE list_pct = "12.39%"
CREATE TABLE table_14834801_1 (mandate VARCHAR, list_pct VARCHAR)
Name the mandate for list pct 12.39%
SELECT COUNT(list_votes) FROM table_14834801_1 WHERE list_pct = "20.95%"
CREATE TABLE table_14834801_1 (list_votes VARCHAR, list_pct VARCHAR)
Name the total number of list votes for 20.95%
SELECT scoring_rank FROM table_14836185_3 WHERE year = 2009
CREATE TABLE table_14836185_3 (scoring_rank VARCHAR, year VARCHAR)
What was the scoring rank for Angela Stanford in 2009?
SELECT MAX(money_list_rank) FROM table_14836185_3
CREATE TABLE table_14836185_3 (money_list_rank INTEGER)
What was the highest number on money list rank for Angela Stanford's career?
SELECT COUNT(2 AS nd) FROM table_14836185_3 WHERE scoring_average = "71.62"
CREATE TABLE table_14836185_3 (scoring_average VARCHAR)
In the year where Angela Stanford had a scoring average of 71.62, how many times did she take second place?
SELECT MIN(production_code) FROM table_14845640_1 WHERE us_viewers__millions_ = "16.04"
CREATE TABLE table_14845640_1 (production_code INTEGER, us_viewers__millions_ VARCHAR)
Namw the minimum production code for 16.04 million viewers
SELECT written_by FROM table_14845640_1 WHERE us_viewers__millions_ = "16.32"
CREATE TABLE table_14845640_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
Name the written by for 16.32 million viewers
SELECT MAX(cuts_made) FROM table_14853156_2 WHERE best_finish = "T4"
CREATE TABLE table_14853156_2 (cuts_made INTEGER, best_finish VARCHAR)
What is the highest number of cuts made when her best finish is t4?
SELECT COUNT(earnings___) AS $__ FROM table_14853156_2 WHERE best_finish = "T2" AND scoring_average = "71.25"
CREATE TABLE table_14853156_2 (earnings___ VARCHAR, best_finish VARCHAR, scoring_average VARCHAR)
How many total earnings are recorded when her best finish is t2 with a 71.25 scoring average?
SELECT MIN(cuts_made) FROM table_14853156_2 WHERE best_finish = "T4"
CREATE TABLE table_14853156_2 (cuts_made INTEGER, best_finish VARCHAR)
What is the lowest number of cuts made when her best finish is t4?
SELECT COUNT(year) FROM table_14853156_2 WHERE money_list_rank = "56"
CREATE TABLE table_14853156_2 (year VARCHAR, money_list_rank VARCHAR)
How many years has she ranked 56 on the money list?
SELECT MIN(wins) FROM table_14853156_2
CREATE TABLE table_14853156_2 (wins INTEGER)
What is the lowest number of wins?
SELECT written_by FROM table_14847258_1 WHERE directed_by = "Steve Gomer"
CREATE TABLE table_14847258_1 (written_by VARCHAR, directed_by VARCHAR)
When steve gomer is the director who is the writer?
SELECT title FROM table_14847258_1 WHERE us_viewers__millions_ = "15.03"
CREATE TABLE table_14847258_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
15.03 million u.s viewers seen what episode?
SELECT MIN(3 AS _credits) FROM table_148535_2
CREATE TABLE table_148535_2 (Id VARCHAR)
Name the most 3 credits
SELECT MIN(2 AS _credits) FROM table_148535_2 WHERE hand = "Straight"
CREATE TABLE table_148535_2 (hand VARCHAR)
Name the least 2 credits for straight hand
SELECT MIN(2 AS _credits) FROM table_148535_2 WHERE hand = "Flush"
CREATE TABLE table_148535_2 (hand VARCHAR)
Name the least 2 credits for flush
SELECT MAX(1 AS _credit) FROM table_148535_2 WHERE hand = "Three of a Kind"
CREATE TABLE table_148535_2 (hand VARCHAR)
Name the most 1 credit for three of a kind
SELECT points_classification FROM table_14856023_18 WHERE general_classification = "Mark Renshaw" AND team_classification = "Team CSC"
CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)
Name the points classification for mark renshaw and team csc
SELECT episodes FROM table_14855908_3 WHERE region_1__us_ = "October 13, 2009"
CREATE TABLE table_14855908_3 (episodes VARCHAR, region_1__us_ VARCHAR)
How many episodes were released on DVD in the US on October 13, 2009?
SELECT MAX(episodes) FROM table_14855908_3 WHERE region_4 = "March 4, 2010"
CREATE TABLE table_14855908_3 (episodes INTEGER, region_4 VARCHAR)
How many episodes were put out in Region 4 on March 4, 2010?
SELECT MIN(episodes) FROM table_14855908_3 WHERE dvd_name = "Season 1"
CREATE TABLE table_14855908_3 (episodes INTEGER, dvd_name VARCHAR)
How many episodes were released in the season 1 DVD?
SELECT altitude__km_ FROM table_148578_1 WHERE explosion = "Hardtack Teak"
CREATE TABLE table_148578_1 (altitude__km_ VARCHAR, explosion VARCHAR)
What was the altitude of the explosion Hardtack Teak?
SELECT altitude__km_ FROM table_148578_1 WHERE date = "1962-07-09"
CREATE TABLE table_148578_1 (altitude__km_ VARCHAR, date VARCHAR)
What was the altitude of the event on 1962-07-09?
SELECT altitude__km_ FROM table_148578_1 WHERE yield__approximate_ = "1.4 megatons"
CREATE TABLE table_148578_1 (altitude__km_ VARCHAR, yield__approximate_ VARCHAR)
What was the altitude of the yield of 1.4 megatons?
SELECT yield__approximate_ FROM table_148578_1 WHERE explosion = "K-4"
CREATE TABLE table_148578_1 (yield__approximate_ VARCHAR, explosion VARCHAR)
What was the yield of the K-4 explosion?
SELECT explosion FROM table_148578_1 WHERE altitude__km_ = "539"
CREATE TABLE table_148578_1 (explosion VARCHAR, altitude__km_ VARCHAR)
What explosion had an altitude of 539 km?
SELECT opponent FROM table_14863869_1 WHERE date = "September 23, 1984"
CREATE TABLE table_14863869_1 (opponent VARCHAR, date VARCHAR)
List all opponents in the September 23, 1984 game?
SELECT record FROM table_14863869_1 WHERE date = "December 2, 1984"
CREATE TABLE table_14863869_1 (record VARCHAR, date VARCHAR)
What was the score in the game played on December 2, 1984?
SELECT COUNT(record) FROM table_14863869_1 WHERE week = 11
CREATE TABLE table_14863869_1 (record VARCHAR, week VARCHAR)
How many scores were there in week 11?
SELECT MAX(wins) FROM table_14871601_1 WHERE team = "Nacional"
CREATE TABLE table_14871601_1 (wins INTEGER, team VARCHAR)
What is the highest win for the team Nacional?
SELECT MIN(conceded) FROM table_14871601_1 WHERE team = "12 de Octubre"
CREATE TABLE table_14871601_1 (conceded INTEGER, team VARCHAR)
What is the smallest conceded value for the team 12 De Octubre?
SELECT MIN(draws) FROM table_14871601_1 WHERE points = 21
CREATE TABLE table_14871601_1 (draws INTEGER, points VARCHAR)
What is the smallest draws value with 21 points?
SELECT MAX(losses) FROM table_14871601_1 WHERE team = "Tacuary"
CREATE TABLE table_14871601_1 (losses INTEGER, team VARCHAR)
What is the largest loss for the Tacuary team?
SELECT venue FROM table_14877831_2 WHERE opponents = 51
CREATE TABLE table_14877831_2 (venue VARCHAR, opponents VARCHAR)
What is the name of the venue where the opponent scored 51?
SELECT MIN(first_downs) FROM table_14877831_2 WHERE attendance = 13196
CREATE TABLE table_14877831_2 (first_downs INTEGER, attendance VARCHAR)
How many first downs were there when the attendance was 13196?
SELECT game_site FROM table_14875671_1 WHERE opponent = "Buffalo Bills"
CREATE TABLE table_14875671_1 (game_site VARCHAR, opponent VARCHAR)
What was the site of the game against Buffalo Bills ?
SELECT MAX(attendance) FROM table_14875671_1 WHERE week = 8
CREATE TABLE table_14875671_1 (attendance INTEGER, week VARCHAR)
What was the attendance in week 8?
SELECT date FROM table_14875671_1 WHERE attendance = 63995
CREATE TABLE table_14875671_1 (date VARCHAR, attendance VARCHAR)
What was the date when the attendance was 63995
SELECT opponent FROM table_14875671_1 WHERE week = 4
CREATE TABLE table_14875671_1 (opponent VARCHAR, week VARCHAR)
Who was the opponent in week 4?
SELECT COUNT(skipper) FROM table_14882588_2 WHERE yacht = "City Index Leopard"
CREATE TABLE table_14882588_2 (skipper VARCHAR, yacht VARCHAR)
How many different skippers of the yacht City Index Leopard?
SELECT race_number FROM table_14882588_2 WHERE sail_number = "AUS 03"
CREATE TABLE table_14882588_2 (race_number VARCHAR, sail_number VARCHAR)
If sail number is AUS 03, what are all associated race numbers?
SELECT location FROM table_14884844_2 WHERE record = "1:37.071s"
CREATE TABLE table_14884844_2 (location VARCHAR, record VARCHAR)
In what location was the fastest time 1:37.071s?
SELECT location FROM table_14884844_2 WHERE athletes = "Birgit Fischer"
CREATE TABLE table_14884844_2 (location VARCHAR, athletes VARCHAR)
What are all the places where Birgit Fischer competed?
SELECT record FROM table_14884844_2 WHERE athletes = "Elzbieta Urbanczik"
CREATE TABLE table_14884844_2 (record VARCHAR, athletes VARCHAR)
What are the records when Elzbieta Urbanczik competed?
SELECT COUNT(wins) FROM table_14889048_1 WHERE points = 17
CREATE TABLE table_14889048_1 (wins VARCHAR, points VARCHAR)
Name the number of wins for when points is 17
SELECT COUNT(draws) FROM table_14889048_1 WHERE conceded = 25
CREATE TABLE table_14889048_1 (draws VARCHAR, conceded VARCHAR)
Name the number of draws for when conceded is 25
SELECT MAX(conceded) FROM table_14889048_1 WHERE draws = 5 AND position = 1
CREATE TABLE table_14889048_1 (conceded INTEGER, draws VARCHAR, position VARCHAR)
Name the most conceded when draws is 5 and position is 1
SELECT original_air_date FROM table_14889988_1 WHERE production_code = 176265
CREATE TABLE table_14889988_1 (original_air_date VARCHAR, production_code VARCHAR)
What date was the episode with production code 176265 aired?
SELECT original_air_date FROM table_14889988_1 WHERE written_by = "Robert Carlock"
CREATE TABLE table_14889988_1 (original_air_date VARCHAR, written_by VARCHAR)
On what dates were episodes written by Robert Carlock aired?
SELECT MAX(production_code) FROM table_14889988_1 WHERE no_in_series = 229
CREATE TABLE table_14889988_1 (production_code INTEGER, no_in_series VARCHAR)
What is the production code for episode 229?
SELECT title FROM table_14889988_1 WHERE written_by = "Robert Carlock & Dana Klein Borkow"
CREATE TABLE table_14889988_1 (title VARCHAR, written_by VARCHAR)
What is the title for the episode written by Robert Carlock & Dana Klein Borkow?
SELECT directed_by FROM table_14889988_1 WHERE production_code = 176252
CREATE TABLE table_14889988_1 (directed_by VARCHAR, production_code VARCHAR)
Who directed the episode with the production code 176252?
SELECT MIN(points) FROM table_14889048_2 WHERE scored = 15
CREATE TABLE table_14889048_2 (points INTEGER, scored VARCHAR)
How many points when 15 is scored is considered the minimum?
SELECT MAX(points) FROM table_14889048_2 WHERE wins = 4
CREATE TABLE table_14889048_2 (points INTEGER, wins VARCHAR)
When a team wins 4, how much is the Maximum amount of points?
SELECT COUNT(draws) FROM table_14889048_2 WHERE team = "Libertad"
CREATE TABLE table_14889048_2 (draws VARCHAR, team VARCHAR)
How may draws did libertad have?