answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT COUNT(video_out) FROM table_24384861_1 WHERE version = "SoundDock Portable"
|
CREATE TABLE table_24384861_1 (video_out VARCHAR, version VARCHAR)
|
how many video out connections does the sounddock portable have?
|
SELECT dual_voltage FROM table_24384861_1 WHERE version = "SoundDock series I v2"
|
CREATE TABLE table_24384861_1 (dual_voltage VARCHAR, version VARCHAR)
|
Does the sounddock series I v2 have dual voltage?
|
SELECT dock_connection FROM table_24384861_1 WHERE version = "SoundDock series III"
|
CREATE TABLE table_24384861_1 (dock_connection VARCHAR, version VARCHAR)
|
What type of dock connection does the sounddock series III have?
|
SELECT game_site FROM table_24396664_2 WHERE kickoff = "7:00 p.m."
|
CREATE TABLE table_24396664_2 (game_site VARCHAR, kickoff VARCHAR)
|
Where was the game played that started at 7:00 p.m.?
|
SELECT MAX(varsity_teams) FROM table_2439728_1 WHERE location = "West Roxbury, MA"
|
CREATE TABLE table_2439728_1 (varsity_teams INTEGER, location VARCHAR)
|
how many varsity teams are in west roxbury, ma?
|
SELECT mascot FROM table_2439728_1 WHERE school = "St. Paul's school"
|
CREATE TABLE table_2439728_1 (mascot VARCHAR, school VARCHAR)
|
what is the mascot of st. paul's school?
|
SELECT location FROM table_2439728_1 WHERE mascot = "Dragons"
|
CREATE TABLE table_2439728_1 (location VARCHAR, mascot VARCHAR)
|
where are dragons used as mascots?
|
SELECT MIN(founded) FROM table_2439728_1 WHERE school = "Lawrence Academy at Groton"
|
CREATE TABLE table_2439728_1 (founded INTEGER, school VARCHAR)
|
when was lawrence academy at groton established?
|
SELECT school FROM table_2439728_1 WHERE location = "Milton, MA"
|
CREATE TABLE table_2439728_1 (school VARCHAR, location VARCHAR)
|
name the school located at Milton, ma.
|
SELECT COUNT(location) FROM table_2439728_1 WHERE varsity_teams = 17
|
CREATE TABLE table_2439728_1 (location VARCHAR, varsity_teams VARCHAR)
|
how many places have 17 varsity teams?
|
SELECT COUNT(episode_no) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "N/A" AND cable_rank = "N/A"
|
CREATE TABLE table_24399615_10 (episode_no VARCHAR, bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR)
|
Which episode had bbc ranking and canle ranking of n/a?
|
SELECT bbc_three_weekly_ranking FROM table_24399615_10 WHERE cable_rank = "6"
|
CREATE TABLE table_24399615_10 (bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR)
|
List the number of bbc rankings with cable rankings of 6.
|
SELECT viewers FROM table_24399615_10 WHERE cable_rank = "5"
|
CREATE TABLE table_24399615_10 (viewers VARCHAR, cable_rank VARCHAR)
|
List the number of viewers when the cable rank for Russell Howard's Good New was 5.
|
SELECT COUNT(viewers) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "6"
|
CREATE TABLE table_24399615_10 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR)
|
How many individuals watched the show that had a bbc ranking of 6?
|
SELECT COUNT(cable_rank) FROM table_24399615_5 WHERE episode_no = 8
|
CREATE TABLE table_24399615_5 (cable_rank VARCHAR, episode_no VARCHAR)
|
How many times did episode number 8 air?
|
SELECT airdate FROM table_24399615_5 WHERE episode_no = 6
|
CREATE TABLE table_24399615_5 (airdate VARCHAR, episode_no VARCHAR)
|
When did episode number 6 air?
|
SELECT COUNT(viewers) FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "1"
|
CREATE TABLE table_24399615_4 (viewers VARCHAR, bbc_three_weekly_ranking VARCHAR)
|
How many items are listed under viewers column when the bbd three weekly ranking was 1?
|
SELECT MIN(episode_no) FROM table_24399615_4 WHERE cable_rank = "8"
|
CREATE TABLE table_24399615_4 (episode_no INTEGER, cable_rank VARCHAR)
|
What episode number had a cable ranking of 8?
|
SELECT airdate FROM table_24399615_4 WHERE bbc_three_weekly_ranking = "N/A"
|
CREATE TABLE table_24399615_4 (airdate VARCHAR, bbc_three_weekly_ranking VARCHAR)
|
What date did the episode air that had n/a for it's bbc three weekly ranking?
|
SELECT airdate FROM table_24399615_4 WHERE cable_rank = "17"
|
CREATE TABLE table_24399615_4 (airdate VARCHAR, cable_rank VARCHAR)
|
What date did the episode air that had a ranking of 17 for cable?
|
SELECT airdate FROM table_24399615_8 WHERE bbc_three_weekly_ranking = "3"
|
CREATE TABLE table_24399615_8 (airdate VARCHAR, bbc_three_weekly_ranking VARCHAR)
|
When 3 is the bbc three weekly ranking what is the airdate?
|
SELECT airdate FROM table_24399615_8 WHERE cable_rank = "N/A" AND viewers = 656000
|
CREATE TABLE table_24399615_8 (airdate VARCHAR, cable_rank VARCHAR, viewers VARCHAR)
|
When 656000 is the amount of viewers and n/a is the cable rank what is the airdate?
|
SELECT state_served FROM table_24415627_2 WHERE time_since_entry = "49years, 29days"
|
CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)
|
List the states that have entry times of 49years, 29days
|
SELECT party FROM table_24415627_2 WHERE senator = "Dick Clark"
|
CREATE TABLE table_24415627_2 (party VARCHAR, senator VARCHAR)
|
Of which part does congressman dick clark belong to?
|
SELECT entered_senate FROM table_24415627_2 WHERE senator = "Joseph Tydings"
|
CREATE TABLE table_24415627_2 (entered_senate VARCHAR, senator VARCHAR)
|
On what date did congressman joseph tydings enter take his seat?
|
SELECT MIN(points) FROM table_24405773_1 WHERE poles = 0 AND races = 10
|
CREATE TABLE table_24405773_1 (points INTEGER, poles VARCHAR, races VARCHAR)
|
What are the lowest points when poles were 0 and races were 10?
|
SELECT MAX(points) FROM table_24405773_1 WHERE flaps = 0
|
CREATE TABLE table_24405773_1 (points INTEGER, flaps VARCHAR)
|
What was the highest number of points when flaps were 0?
|
SELECT 20 AS _questions FROM table_24425491_3 WHERE cover_model = "Pamela Horton"
|
CREATE TABLE table_24425491_3 (cover_model VARCHAR)
|
Who played 20 questions during the issue in which Pamela Horton is on the cover?
|
SELECT frequency FROM table_24418525_1 WHERE power_kw = "5kW"
|
CREATE TABLE table_24418525_1 (frequency VARCHAR, power_kw VARCHAR)
|
When the power kw is 5kw, what is the frequency?
|
SELECT callsign FROM table_24418525_1 WHERE coverage = "Dumaguete Central Visayas Region"
|
CREATE TABLE table_24418525_1 (callsign VARCHAR, coverage VARCHAR)
|
when coverage is dumaguete central visayas region, what is the callsign?
|
SELECT COUNT(power_kw) FROM table_24418525_1 WHERE coverage = "Dumaguete Central Visayas Region"
|
CREATE TABLE table_24418525_1 (power_kw VARCHAR, coverage VARCHAR)
|
How much power covers dumaguete central visayas region?
|
SELECT frequency FROM table_24418525_1 WHERE coverage = "Mega Manila"
|
CREATE TABLE table_24418525_1 (frequency VARCHAR, coverage VARCHAR)
|
What frequency is mega manila set to?
|
SELECT original_air_date FROM table_24425976_2 WHERE production_code = "108"
|
CREATE TABLE table_24425976_2 (original_air_date VARCHAR, production_code VARCHAR)
|
What original air date was for the episode with production code of 108?
|
SELECT COUNT(production_code) FROM table_24425976_2 WHERE season = "10"
|
CREATE TABLE table_24425976_2 (production_code VARCHAR, season VARCHAR)
|
How many production codes are there for episode 10 in the season?
|
SELECT original_air_date FROM table_24425976_2 WHERE production_code = "110"
|
CREATE TABLE table_24425976_2 (original_air_date VARCHAR, production_code VARCHAR)
|
What date did the episode with code 110 originally air?
|
SELECT episode_title FROM table_24425976_2 WHERE production_code = "107"
|
CREATE TABLE table_24425976_2 (episode_title VARCHAR, production_code VARCHAR)
|
What is the name of the episode with a production code of 107?
|
SELECT COUNT(series) FROM table_24425976_2 WHERE production_code = "111"
|
CREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR)
|
How many episodes in the series has a production code of 111?
|
SELECT COUNT(payout___us) AS $__ FROM table_24427210_1 WHERE date = "December 28, 2009"
|
CREATE TABLE table_24427210_1 (payout___us VARCHAR, date VARCHAR)
|
Name the total number of payout for december 28, 2009
|
SELECT payout___us$__ FROM table_24427210_1 WHERE tv = "ESPN" AND bowl_game = "Music City Bowl"
|
CREATE TABLE table_24427210_1 (payout___us$__ VARCHAR, tv VARCHAR, bowl_game VARCHAR)
|
Name the payout for espn for music city bowl
|
SELECT date FROM table_24427210_1 WHERE stadium = "Raymond James stadium"
|
CREATE TABLE table_24427210_1 (date VARCHAR, stadium VARCHAR)
|
Name the date for raymond james stadium
|
SELECT original_air_date FROM table_24425976_7 WHERE season = 4
|
CREATE TABLE table_24425976_7 (original_air_date VARCHAR, season VARCHAR)
|
What date did episode 4 in the season originally air?
|
SELECT original_air_date FROM table_24425976_7 WHERE series = 115
|
CREATE TABLE table_24425976_7 (original_air_date VARCHAR, series VARCHAR)
|
What date did episode 115 in the series originally air?
|
SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number1 = "River Plate"
|
CREATE TABLE table_24426072_1 (team__number1 VARCHAR)
|
What was the 2nd leg for team #1 River Plate?
|
SELECT 2 AS nd_leg FROM table_24426072_1 WHERE team__number2 = "Fluminense"
|
CREATE TABLE table_24426072_1 (team__number2 VARCHAR)
|
What was team number 2's Fluminense's 2nd leg?
|
SELECT MAX(seed) FROM table_24431264_16 WHERE player = "David Ferrer"
|
CREATE TABLE table_24431264_16 (seed INTEGER, player VARCHAR)
|
What was david ferrer seeded?
|
SELECT player FROM table_24431264_16 WHERE points = 1420
|
CREATE TABLE table_24431264_16 (player VARCHAR, points VARCHAR)
|
What player had 1420 points coming in?
|
SELECT COUNT(points) AS won FROM table_24431264_16 WHERE player = "Victor Hănescu"
|
CREATE TABLE table_24431264_16 (points VARCHAR, player VARCHAR)
|
How many players named victor hănescu played?
|
SELECT MIN(kurdistan_democratic_party) FROM table_24440361_1 WHERE total_kurdistan_list = 10
|
CREATE TABLE table_24440361_1 (kurdistan_democratic_party INTEGER, total_kurdistan_list VARCHAR)
|
Name the kurdistan democratic party for kurdistan list being 10
|
SELECT MAX(total_kurdistan_list) FROM table_24440361_1 WHERE governorate = "Diyala"
|
CREATE TABLE table_24440361_1 (total_kurdistan_list INTEGER, governorate VARCHAR)
|
Name the most kirdistan list for diyala
|
SELECT MIN(total_kurdistan_list) FROM table_24440361_1
|
CREATE TABLE table_24440361_1 (total_kurdistan_list INTEGER)
|
Name the least total kurdistan list
|
SELECT 2 AS nd_runner_up FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Rochelle Romero Ong"
|
CREATE TABLE table_24430894_20 (mutya_ng_pilipinas_asia_pacific VARCHAR)
|
Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong?
|
SELECT COUNT(year) FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Ritchie Ocampo"
|
CREATE TABLE table_24430894_20 (year VARCHAR, mutya_ng_pilipinas_asia_pacific VARCHAR)
|
List the number of years where ritchie ocampo was the mutya ng pilipinas winner.
|
SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE language = "English and Hindi"
|
CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, language VARCHAR)
|
Name the number of awardees for english and hindi
|
SELECT name_of_award FROM table_24446718_7 WHERE awardee_s_ = "Zubeen Garg"
|
CREATE TABLE table_24446718_7 (name_of_award VARCHAR, awardee_s_ VARCHAR)
|
Name the name of award for zubeen garg
|
SELECT awardee_s_ FROM table_24446718_7 WHERE name_of_award = "Best Editing"
|
CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, name_of_award VARCHAR)
|
Name the awardee for best editing
|
SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE name_of_award = "Best Cinematography"
|
CREATE TABLE table_24446718_7 (awardee_s_ VARCHAR, name_of_award VARCHAR)
|
Name the number of awardees for best cinematography
|
SELECT MIN(flaps) FROM table_24466191_1
|
CREATE TABLE table_24466191_1 (flaps INTEGER)
|
Name the least flaps
|
SELECT MAX(poles) FROM table_24466191_1 WHERE series = "Macau Grand Prix"
|
CREATE TABLE table_24466191_1 (poles INTEGER, series VARCHAR)
|
Name th most poles for macau grand prix
|
SELECT COUNT(races) FROM table_24466191_1 WHERE position = "15th"
|
CREATE TABLE table_24466191_1 (races VARCHAR, position VARCHAR)
|
Name the total number of races for 15th position
|
SELECT MAX(races) FROM table_24466191_1 WHERE flaps > 2.0
|
CREATE TABLE table_24466191_1 (races INTEGER, flaps INTEGER)
|
Name the most races for flaps larger than 2.0
|
SELECT COUNT(poles) FROM table_24466191_1 WHERE position = "15th"
|
CREATE TABLE table_24466191_1 (poles VARCHAR, position VARCHAR)
|
Name the number of poles for 15th position
|
SELECT team FROM table_24466191_1 WHERE season = 2010
|
CREATE TABLE table_24466191_1 (team VARCHAR, season VARCHAR)
|
Name the team for season 2010
|
SELECT original_air_date FROM table_24466855_1 WHERE written_by = "Jay J. Demopoulos"
|
CREATE TABLE table_24466855_1 (original_air_date VARCHAR, written_by VARCHAR)
|
Name the air date for jay j. demopoulos
|
SELECT game_site FROM table_24481478_1 WHERE attendance = 29753
|
CREATE TABLE table_24481478_1 (game_site VARCHAR, attendance VARCHAR)
|
At which location did 29753 fans show up to watch the game?
|
SELECT team_record FROM table_24481478_1 WHERE week = 7
|
CREATE TABLE table_24481478_1 (team_record VARCHAR, week VARCHAR)
|
What was the game record during week 7?
|
SELECT kickoff FROM table_24481478_1 WHERE date = "Saturday, April 20"
|
CREATE TABLE table_24481478_1 (kickoff VARCHAR, date VARCHAR)
|
What time did the game start on saturday, april 20?
|
SELECT MIN(week) FROM table_24481478_1 WHERE team_record = "7–2"
|
CREATE TABLE table_24481478_1 (week INTEGER, team_record VARCHAR)
|
In which week was the team record 7–2?
|
SELECT MAX(attendance) FROM table_24481478_1 WHERE opponent = "Raleigh-Durham Skyhawks"
|
CREATE TABLE table_24481478_1 (attendance INTEGER, opponent VARCHAR)
|
How man fans showed up to watch the game versus the raleigh-durham skyhawks?
|
SELECT disposable_usd_growth FROM table_24486462_1 WHERE rank = 26
|
CREATE TABLE table_24486462_1 (disposable_usd_growth VARCHAR, rank VARCHAR)
|
If the rank is 26, what is the disposable USD growth?
|
SELECT country FROM table_24486462_1 WHERE compulsory_deduction = "29.3%"
|
CREATE TABLE table_24486462_1 (country VARCHAR, compulsory_deduction VARCHAR)
|
What country has a compulsory deduction of 29.3%?
|
SELECT MAX(disposable_usd_growth) FROM table_24486462_1 WHERE country = "Australia"
|
CREATE TABLE table_24486462_1 (disposable_usd_growth INTEGER, country VARCHAR)
|
What is Australia's Disposable USD growth?
|
SELECT MIN(disposable_usd_2011) FROM table_24486462_1
|
CREATE TABLE table_24486462_1 (disposable_usd_2011 INTEGER)
|
What is the lowest disposable USD 2011?
|
SELECT MAX(minutes) FROM table_24477075_1 WHERE starts = 12
|
CREATE TABLE table_24477075_1 (minutes INTEGER, starts VARCHAR)
|
Name the most minutes and starts being 12
|
SELECT position FROM table_24477075_1 WHERE minutes = 132
|
CREATE TABLE table_24477075_1 (position VARCHAR, minutes VARCHAR)
|
Name the position for 132 minutes
|
SELECT rank FROM table_24489942_10 WHERE name = "Thomas Morgenstern"
|
CREATE TABLE table_24489942_10 (rank VARCHAR, name VARCHAR)
|
Name the rank for thomas morgenstern
|
SELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = "Switzerland"
|
CREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR)
|
Name the rank for switzerland
|
SELECT points FROM table_24489942_10 WHERE nationality = "Switzerland"
|
CREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR)
|
Name the points for switzerland
|
SELECT points FROM table_24489942_10 WHERE name = "Thomas Morgenstern"
|
CREATE TABLE table_24489942_10 (points VARCHAR, name VARCHAR)
|
Name the points for thomas morgenstern
|
SELECT appointed FROM table_24490665_1 WHERE name = "Jack Watson"
|
CREATE TABLE table_24490665_1 (appointed VARCHAR, name VARCHAR)
|
When was jack watson appointed?
|
SELECT launched FROM table_24496403_1 WHERE ship = "Carysfort"
|
CREATE TABLE table_24496403_1 (launched VARCHAR, ship VARCHAR)
|
When was the Carysfort launched?
|
SELECT launched FROM table_24496403_1 WHERE disposition = "Stokers' training ship"
|
CREATE TABLE table_24496403_1 (launched VARCHAR, disposition VARCHAR)
|
When was the stokers' training ship launched?
|
SELECT COUNT(completed) FROM table_24496403_1 WHERE ship = "Carysfort"
|
CREATE TABLE table_24496403_1 (completed VARCHAR, ship VARCHAR)
|
How many ships were named Carysfort?
|
SELECT background FROM table_24501530_1 WHERE result = "Fired in week 5"
|
CREATE TABLE table_24501530_1 (background VARCHAR, result VARCHAR)
|
What is the background of the person fired in week 5?
|
SELECT result FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"
|
CREATE TABLE table_24501530_1 (result VARCHAR, hometown VARCHAR)
|
What was the result of the player from Maylands, Western Australia?
|
SELECT COUNT(age) FROM table_24501530_1 WHERE candidate = "Amy Cato"
|
CREATE TABLE table_24501530_1 (age VARCHAR, candidate VARCHAR)
|
How many ages for player Amy Cato?
|
SELECT candidate FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"
|
CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)
|
What is the name of the player from Maylands, Western Australia?
|
SELECT COUNT(age) FROM table_24501530_1 WHERE result = "Fired in week 6"
|
CREATE TABLE table_24501530_1 (age VARCHAR, result VARCHAR)
|
How many age figures for the player fired in week 6?
|
SELECT latitude FROM table_24518475_1 WHERE time__utc_ = "18:19:36"
|
CREATE TABLE table_24518475_1 (latitude VARCHAR, time__utc_ VARCHAR)
|
What was the latitude that had a UTC time of 18:19:36?
|
SELECT depth FROM table_24518475_1 WHERE time__utc_ = "18:00:22"
|
CREATE TABLE table_24518475_1 (depth VARCHAR, time__utc_ VARCHAR)
|
What is the depth of the aftershock at 18:00:22?
|
SELECT team FROM table_24535095_2 WHERE listed_owner_s_ = "Susan Bates"
|
CREATE TABLE table_24535095_2 (team VARCHAR, listed_owner_s_ VARCHAR)
|
Name the team for susan bates
|
SELECT truck_s_ FROM table_24535095_2 WHERE crew_chief = "Eric Phillips"
|
CREATE TABLE table_24535095_2 (truck_s_ VARCHAR, crew_chief VARCHAR)
|
Name the truck for eric phillips
|
SELECT listed_owner_s_ FROM table_24535095_2 WHERE crew_chief = "Mike Garvey"
|
CREATE TABLE table_24535095_2 (listed_owner_s_ VARCHAR, crew_chief VARCHAR)
|
Name the listed owner for mike garvey
|
SELECT MIN(_number) FROM table_24535095_2 WHERE listed_owner_s_ = "Pete Raymer"
|
CREATE TABLE table_24535095_2 (_number INTEGER, listed_owner_s_ VARCHAR)
|
Name the least listed owner for pete raymer
|
SELECT crew_chief FROM table_24535095_2 WHERE listed_owner_s_ = "Rhonda Thorson"
|
CREATE TABLE table_24535095_2 (crew_chief VARCHAR, listed_owner_s_ VARCHAR)
|
Name the crew chief for rhonda thorson
|
SELECT MAX(production_code) FROM table_2453243_3 WHERE no_in_season = 3
|
CREATE TABLE table_2453243_3 (production_code INTEGER, no_in_season VARCHAR)
|
What is the production code for episode 3 in the season?
|
SELECT MIN(match2) FROM table_24538140_2
|
CREATE TABLE table_24538140_2 (match2 INTEGER)
|
What is the lowest score of all games for match 2?
|
SELECT MAX(match2) FROM table_24538140_2 WHERE match4 = 0 AND total = 5
|
CREATE TABLE table_24538140_2 (match2 INTEGER, match4 VARCHAR, total VARCHAR)
|
What is the highest score for match 2 where the score for match 4 is 0 and the total score is 5?
|
SELECT match1 FROM table_24538140_2 WHERE team = "Eastern Tigers"
|
CREATE TABLE table_24538140_2 (match1 VARCHAR, team VARCHAR)
|
What is the score for match 1 for the team Eastern Tigers?
|
SELECT COUNT(socket) FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-2xx7M"
|
CREATE TABLE table_24538587_11 (socket VARCHAR, brand_name__list_ VARCHAR)
|
How many sockets are listed that have a brand name of "Core i3-2xx7m"?
|
SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-21xx"
|
CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR)
|
What is the i/o bus for the brand name Core i3-21xx?
|
Subsets and Splits
SQL Console for knowrohit07/know_sql
Finds questions in the dataset that contain the word 'god', providing a basic filtered view without much analytical insight.