answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT directed_by FROM table_22269839_1 WHERE written_by = "Cherry Chevapravatdumrong"
CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR)
Who directed the title written by cherry chevapravatdumrong?
SELECT written_by FROM table_22269839_1 WHERE production_code = "7ACX08"
CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR)
Who wrote the title with the production code is 7acx08?
SELECT directed_by FROM table_22269839_1 WHERE written_by = "Patrick Meighan"
CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR)
Who directed the episode written by patrick meighan?
SELECT dates FROM table_22282917_26 WHERE control_site_condition_owner = "machine shop on Martin Dr."
CREATE TABLE table_22282917_26 (dates VARCHAR, control_site_condition_owner VARCHAR)
When is every date that control site condition or owner is machine shop on Martin Dr.?
SELECT missile_type FROM table_22282917_26 WHERE code_ & _location = "M-20 Harbor Drive"
CREATE TABLE table_22282917_26 (missile_type VARCHAR, code_ VARCHAR, _location VARCHAR)
What is every missile type with a code and location of M-20 Harbor Drive?
SELECT code_ & _location FROM table_22282917_26 WHERE launch_site_condition_owner = "Obliterated"
CREATE TABLE table_22282917_26 (code_ VARCHAR, _location VARCHAR, launch_site_condition_owner VARCHAR)
What is every code and location where the launch site condition and owner is obliterated?
SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "lakefront office buildings"
CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR)
What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings?
SELECT team FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba"
CREATE TABLE table_22297140_3 (team VARCHAR, outgoing_manager VARCHAR)
Which team had an outgoing manager of Behtash Fariba?
SELECT team FROM table_22297140_3 WHERE replaced_by = "Faraz Kamalvand"
CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR)
Which team had a manager who was replaced by Faraz Kamalvand?
SELECT outgoing_manager FROM table_22297140_3 WHERE replaced_by = "Jafar Fatahi"
CREATE TABLE table_22297140_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)
Which outgoing manager was replaced by Jafar Fatahi?
SELECT team FROM table_22297140_3 WHERE replaced_by = "Ebrahim Talebi"
CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR)
Which team had a manager replaced by Ebrahim Talebi?
SELECT date_of_vacancy FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba"
CREATE TABLE table_22297140_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
What was the date in which Behtash Fariba left his team?
SELECT manner_of_departure FROM table_22297140_3 WHERE team = "Gostaresh Foolad"
CREATE TABLE table_22297140_3 (manner_of_departure VARCHAR, team VARCHAR)
What was the manner of leaving the team for the manager of Gostaresh Foolad?
SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college = "Gloucester"
CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR)
How much was the cost of in-county tuition per credit hour at the Gloucester College by the fall of 2009?
SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college = "Mercer"
CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR)
How much was the in-county tuition per credit hour at the Mercer College by the fall of 2009?
SELECT replaced_by FROM table_22297198_3 WHERE date_of_vacancy = "12 Dec 2009"
CREATE TABLE table_22297198_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
Who was the replacement manager for the vacancy of 12 Dec 2009?
SELECT team FROM table_22297198_3 WHERE outgoing_manager = "Alireza Mansourian"
CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)
What team did Alireza mansourian leave?
SELECT manner_of_departure FROM table_22297198_3 WHERE outgoing_manager = "Majid Bagherinia"
CREATE TABLE table_22297198_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Why did Majid bagherinia leave?
SELECT team FROM table_22297198_3 WHERE date_of_vacancy = "12 Dec 2009"
CREATE TABLE table_22297198_3 (team VARCHAR, date_of_vacancy VARCHAR)
What team did a manager leave on 12 Dec 2009
SELECT COUNT(team) FROM table_22297198_3 WHERE outgoing_manager = "Farhad Kazemi"
CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)
How many teams did Farhad Kazemi leave?
SELECT team_name FROM table_22319599_1 WHERE school = "Rend Lake College"
CREATE TABLE table_22319599_1 (team_name VARCHAR, school VARCHAR)
If the school is Rend Lake College, what is the team name?
SELECT MIN(njcaa_championships) FROM table_22319599_1
CREATE TABLE table_22319599_1 (njcaa_championships INTEGER)
What is the minimum possible for the NJCAA championships?
SELECT location FROM table_22319599_1 WHERE varsity_teams = 6
CREATE TABLE table_22319599_1 (location VARCHAR, varsity_teams VARCHAR)
If the varsity team is 6, what is the location?
SELECT colors FROM table_22319599_1 WHERE school = "John A. Logan College"
CREATE TABLE table_22319599_1 (colors VARCHAR, school VARCHAR)
If the school is John A. Logan College, what are the colors?
SELECT COUNT(date) FROM table_22334183_3 WHERE circuit = "Silverstone"
CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)
On how many different dates was the race at the Silverstone circuit?
SELECT date FROM table_22334183_3 WHERE circuit = "Donington Park"
CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)
When was the circuit Donington Park?
SELECT weight FROM table_22344463_2 WHERE name = "Stuart Craig"
CREATE TABLE table_22344463_2 (weight VARCHAR, name VARCHAR)
What is the weight is the name is Stuart Craig?
SELECT COUNT(date_of_birth) FROM table_22344463_2 WHERE name = "Timo Higgins"
CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, name VARCHAR)
If the name is Timo Higgins, what is the total date of birth amount?
SELECT position FROM table_22344463_2 WHERE height = "181cm"
CREATE TABLE table_22344463_2 (position VARCHAR, height VARCHAR)
If the height is 181cm, what was the position?
SELECT COUNT(name) FROM table_22344463_2 WHERE weight = "78kg" AND home_team = "UMBC"
CREATE TABLE table_22344463_2 (name VARCHAR, weight VARCHAR, home_team VARCHAR)
If the home team is UMBC and the weight is 78kg, what the the name total number?
SELECT date_of_birth FROM table_22344463_2 WHERE height = "185cm" AND home_team = "Heaton Mersey"
CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR)
If the height is 185cm and the home team is Heaton Mersey, what is the date of birth?
SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2
CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)
How many viewers tuned in for season 2?
SELECT directed_by FROM table_22347090_4 WHERE production_code = "3X6752"
CREATE TABLE table_22347090_4 (directed_by VARCHAR, production_code VARCHAR)
Who directed the episode that has 3x6752 listed as the production code?
SELECT MIN(no_in_series) FROM table_22347090_4 WHERE us_viewers__million_ = "1.98"
CREATE TABLE table_22347090_4 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
Which series number had 1.98 million viewers?
SELECT us_viewers__million_ FROM table_22347090_5 WHERE production_code = "3X6704"
CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR)
Name the viewers for production code for 3x6704
SELECT us_viewers__million_ FROM table_22347090_5 WHERE production_code = "3X6706"
CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR)
Name the viewers for production code being 3x6706
SELECT title FROM table_22347090_5 WHERE us_viewers__million_ = "1.54"
CREATE TABLE table_22347090_5 (title VARCHAR, us_viewers__million_ VARCHAR)
Name the title that got 1.54 viewers
SELECT COUNT(no_in_season) FROM table_22347090_5 WHERE no_in_series = 26
CREATE TABLE table_22347090_5 (no_in_season VARCHAR, no_in_series VARCHAR)
Name the number of number in season for 26
SELECT written_by FROM table_22347090_6 WHERE production_code = "3X7557"
CREATE TABLE table_22347090_6 (written_by VARCHAR, production_code VARCHAR)
Who wrote the episode that has a production code 3x7557?
SELECT COUNT(directed_by) FROM table_22347090_6 WHERE us_viewers__million_ = "1.59"
CREATE TABLE table_22347090_6 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
How many directors are there for the episode that had 1.59 million U.S. viewers?
SELECT production_code FROM table_22347090_6 WHERE us_viewers__million_ = "1.32"
CREATE TABLE table_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR)
What is the production code for the episode that had 1.32 million U.S. viewers?
SELECT MIN(no_in_series) FROM table_22347090_6 WHERE production_code = "3X7554"
CREATE TABLE table_22347090_6 (no_in_series INTEGER, production_code VARCHAR)
What episode number in the series had a production code of 3x7554?
SELECT title FROM table_22347090_6 WHERE no_in_series = 41
CREATE TABLE table_22347090_6 (title VARCHAR, no_in_series VARCHAR)
What is the name of episode number 41 in the series?
SELECT MIN(silver) FROM table_22355_20
CREATE TABLE table_22355_20 (silver INTEGER)
Who has the minimum number of silver?
SELECT athlete FROM table_22355_20 WHERE rank = 8 AND olympics = "1948–1952"
CREATE TABLE table_22355_20 (athlete VARCHAR, rank VARCHAR, olympics VARCHAR)
Who is the athlete who's rank is 8 and competed in the olympics during 1948–1952?
SELECT nation FROM table_22355_20 WHERE olympics = "1924–1928" AND bronze = 1
CREATE TABLE table_22355_20 (nation VARCHAR, olympics VARCHAR, bronze VARCHAR)
What is the nation who won 1 bronze in the Olympics during 1924–1928?
SELECT athlete FROM table_22355_20 WHERE nation = "Ethiopia (ETH)" AND rank > 7.0
CREATE TABLE table_22355_20 (athlete VARCHAR, nation VARCHAR, rank VARCHAR)
Who is the athlete from the nation of Ethiopia (eth) who had a rank bigger than 7.0?
SELECT MAX(gold) FROM table_22355_26
CREATE TABLE table_22355_26 (gold INTEGER)
What is the maximum number of golds?
SELECT MIN(silver) FROM table_22355_29
CREATE TABLE table_22355_29 (silver INTEGER)
What is the smallest amount of silver?
SELECT nation FROM table_22355_44 WHERE athlete = "Abdon Pamich Category:Articles with hCards"
CREATE TABLE table_22355_44 (nation VARCHAR, athlete VARCHAR)
Name the nation for abdon pamich category:articles with hcards
SELECT MAX(silver) FROM table_22355_44 WHERE athlete = "Ronald Weigel Category:Articles with hCards"
CREATE TABLE table_22355_44 (silver INTEGER, athlete VARCHAR)
Name the silver for ronald weigel category:articles with hcards
SELECT MIN(rank) FROM table_22355_5
CREATE TABLE table_22355_5 (rank INTEGER)
What's the minimal rank of a athlete shown in the chart?
SELECT MIN(gold) FROM table_22355_35
CREATE TABLE table_22355_35 (gold INTEGER)
which is the minimun amount of gold medals?
SELECT MIN(silver) FROM table_22355_35
CREATE TABLE table_22355_35 (silver INTEGER)
which is the minimun amount of silver medals?
SELECT MIN(total_min_2_medals_) FROM table_22355_65
CREATE TABLE table_22355_65 (total_min_2_medals_ INTEGER)
What is the lowest overall number for total(min. 2 medals)?
SELECT MAX(rank) FROM table_22355_62 WHERE gold = 4
CREATE TABLE table_22355_62 (rank INTEGER, gold VARCHAR)
What is the maximum rank of the nation that won 4 gold medals?
SELECT MAX(rank) FROM table_22355_68
CREATE TABLE table_22355_68 (rank INTEGER)
Name the most rank
SELECT MIN(rank) FROM table_22355_68 WHERE gold = 2
CREATE TABLE table_22355_68 (rank INTEGER, gold VARCHAR)
Name the most rank for 2 gold
SELECT MAX(total) FROM table_22360_3
CREATE TABLE table_22360_3 (total INTEGER)
Name the most total
SELECT MIN(silver) FROM table_22360_3 WHERE discipline = "Baseball"
CREATE TABLE table_22360_3 (silver INTEGER, discipline VARCHAR)
Name the silver for baseball
SELECT discipline FROM table_22360_3 WHERE bronze = 0
CREATE TABLE table_22360_3 (discipline VARCHAR, bronze VARCHAR)
Name the discipline for bronze being 0
SELECT MAX(tier_1_capital), _€_million FROM table_22368322_2 WHERE institution = "Irish Nationwide"
CREATE TABLE table_22368322_2 (_€_million VARCHAR, tier_1_capital INTEGER, institution VARCHAR)
Name the most tier 1 capital for irish nationwide
SELECT tier_1_ratio FROM table_22368322_2 WHERE institution = "Irish Life and Permanent"
CREATE TABLE table_22368322_2 (tier_1_ratio VARCHAR, institution VARCHAR)
Name the tier 1 ratio for irish life and permanent
SELECT COUNT(tier_1_capital), _€_million FROM table_22368322_2 WHERE institution = "Allied Irish Banks"
CREATE TABLE table_22368322_2 (_€_million VARCHAR, tier_1_capital VARCHAR, institution VARCHAR)
Name the total number of tier 1 capital for allied irish banks
SELECT date_of_report FROM table_22368322_2 WHERE tier_1_ratio = "3.9%"
CREATE TABLE table_22368322_2 (date_of_report VARCHAR, tier_1_ratio VARCHAR)
Name the date of report for tier 1 ratio being 3.9%
SELECT season FROM table_22383603_1 WHERE finish__incl_championship_ = "April 18"
CREATE TABLE table_22383603_1 (season VARCHAR, finish__incl_championship_ VARCHAR)
What season ended on April 18?
SELECT start__reg_season_ FROM table_22383603_1 WHERE top_record = "Lindenwood (20–0–0)"
CREATE TABLE table_22383603_1 (start__reg_season_ VARCHAR, top_record VARCHAR)
When did the season start that ended with the top record of Lindenwood (20–0–0)?
SELECT season FROM table_22383603_1 WHERE no = 4
CREATE TABLE table_22383603_1 (season VARCHAR, no VARCHAR)
What is the year range of season 4?
SELECT finish__incl_championship_ FROM table_22383603_1 WHERE start__reg_season_ = "September 25"
CREATE TABLE table_22383603_1 (finish__incl_championship_ VARCHAR, start__reg_season_ VARCHAR)
When is the finish of the season that started on September 25?
SELECT original_air_date FROM table_22380270_1 WHERE us_viewers__millions_ = "2.15"
CREATE TABLE table_22380270_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
On what air date were there 2.15 million u.s. viewers?
SELECT written_by FROM table_22380270_1 WHERE us_viewers__millions_ = "2.15"
CREATE TABLE table_22380270_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
Who was the writer for the episode with 2.15 million u.s.viewers?
SELECT spacewalkers FROM table_22385461_1 WHERE spacecraft = "STS-101 EVA 1"
CREATE TABLE table_22385461_1 (spacewalkers VARCHAR, spacecraft VARCHAR)
Who walked in space from STS-101 Eva 1?
SELECT end__utc_ FROM table_22385461_8 WHERE duration = "6 hours, 55 minutes"
CREATE TABLE table_22385461_8 (end__utc_ VARCHAR, duration VARCHAR)
What is the end (UTC) if the duration is 6 hours, 55 minutes?
SELECT spacewalkers FROM table_22385461_8 WHERE end__utc_ = "January 31, 2007 23:09"
CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR)
If the end (UTC) is January 31, 2007 23:09, what is the name of the spacewalkers?
SELECT spacewalkers FROM table_22385461_8 WHERE end__utc_ = "October 30, 2007 15:53"
CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR)
What are the names of the spacewalkers for end (UTC) October 30, 2007 15:53?
SELECT position FROM table_22402438_7 WHERE player = "Bernie Doan"
CREATE TABLE table_22402438_7 (position VARCHAR, player VARCHAR)
Which position is player bernie doan?
SELECT MIN(pick__number) FROM table_22402438_7 WHERE position = "Goaltender"
CREATE TABLE table_22402438_7 (pick__number INTEGER, position VARCHAR)
How many pick # are there for the goaltender position?
SELECT COUNT(college_junior_club_team) FROM table_22402438_7 WHERE player = "John Garrett"
CREATE TABLE table_22402438_7 (college_junior_club_team VARCHAR, player VARCHAR)
How many college/junior/clubteams have John garrett as the player?
SELECT player FROM table_22402438_7 WHERE pick__number = 80
CREATE TABLE table_22402438_7 (player VARCHAR, pick__number VARCHAR)
Who is the player with the pick# 80?
SELECT nationality FROM table_22402438_7 WHERE player = "John Garrett"
CREATE TABLE table_22402438_7 (nationality VARCHAR, player VARCHAR)
Which nationality is player John Garrett?
SELECT team_classification FROM table_22410316_17 WHERE combativity_prize = "Ricardo Serrano"
CREATE TABLE table_22410316_17 (team_classification VARCHAR, combativity_prize VARCHAR)
what team had ricardo serrano for combativity prize?
SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE male_rep = "Gabriel Di Chiara"
CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, male_rep VARCHAR)
How many production stage managers worked with Gabriel di Chiara as the Male Rep?
SELECT COUNT(production_stagemanager) FROM table_22410780_1 WHERE secretary = "Rachel Hartmann"
CREATE TABLE table_22410780_1 (production_stagemanager VARCHAR, secretary VARCHAR)
How many production stage managers worked with secretary Rachel Hartmann?
SELECT performance_liaison FROM table_22410780_1 WHERE dramaturge = "Chrisena Ricci"
CREATE TABLE table_22410780_1 (performance_liaison VARCHAR, dramaturge VARCHAR)
Who were the performance liaisons for the dramaturge Chrisena Ricci?
SELECT male_rep FROM table_22410780_1 WHERE artistic_director = "Caroline Rhoads"
CREATE TABLE table_22410780_1 (male_rep VARCHAR, artistic_director VARCHAR)
Who was the male rep. when Caroline Rhoads was the artistic director?
SELECT COUNT(driver) FROM table_2241101_1 WHERE manufacturer = "Toyota"
CREATE TABLE table_2241101_1 (driver VARCHAR, manufacturer VARCHAR)
How many different drivers were there for the team when the manufacturer was Toyota?
SELECT COUNT(year) FROM table_2241101_1 WHERE date = "February 27"
CREATE TABLE table_2241101_1 (year VARCHAR, date VARCHAR)
In how many different years did the race happen on February 27?
SELECT team FROM table_2241101_1 WHERE average_speed__mph_ = "107.063"
CREATE TABLE table_2241101_1 (team VARCHAR, average_speed__mph_ VARCHAR)
What team had average speed of 107.063 mph?
SELECT report FROM table_2241101_1 WHERE year = 2010
CREATE TABLE table_2241101_1 (report VARCHAR, year VARCHAR)
What was the report for 2010?
SELECT COUNT(race_time) FROM table_2241259_1 WHERE driver = "Kevin Harvick"
CREATE TABLE table_2241259_1 (race_time VARCHAR, driver VARCHAR)
Name the total number of race time for kevin harvick
SELECT manufacturer FROM table_2241841_1 WHERE year = "2004"
CREATE TABLE table_2241841_1 (manufacturer VARCHAR, year VARCHAR)
What manufacturer made the car that won in 2004?
SELECT COUNT(miles__km_) FROM table_2241841_1 WHERE manufacturer = "Dodge"
CREATE TABLE table_2241841_1 (miles__km_ VARCHAR, manufacturer VARCHAR)
How many wins are with Dodge vehicles?
SELECT manufacturer FROM table_2241841_1 WHERE date = "May 21"
CREATE TABLE table_2241841_1 (manufacturer VARCHAR, date VARCHAR)
Who made the car that won the race on May 21?
SELECT laps FROM table_2241841_1 WHERE race_time = "4:17:18"
CREATE TABLE table_2241841_1 (laps VARCHAR, race_time VARCHAR)
In the race with a winning time of 4:17:18, how many laps were run?
SELECT team FROM table_2241841_1 WHERE race_time = "3:15:43"
CREATE TABLE table_2241841_1 (team VARCHAR, race_time VARCHAR)
What team set a 3:15:43 winning time?
SELECT COUNT(hometown) FROM table_22447251_2 WHERE height = "1.80"
CREATE TABLE table_22447251_2 (hometown VARCHAR, height VARCHAR)
How many different cities are represented by contestants whose height stands at 1.80?
SELECT height FROM table_22447251_2 WHERE contestant = "Alexandra Díaz Bello"
CREATE TABLE table_22447251_2 (height VARCHAR, contestant VARCHAR)
How tall is contestant Alexandra Díaz Bello?
SELECT province, _community FROM table_22447251_2 WHERE hometown = "Villa Bisonó"
CREATE TABLE table_22447251_2 (province VARCHAR, _community VARCHAR, hometown VARCHAR)
Which province is Villa Bisonó in?
SELECT MAX(age) FROM table_22447251_2 WHERE contestant = "Valerie Chardonnens Vargas"
CREATE TABLE table_22447251_2 (age INTEGER, contestant VARCHAR)
How old is contestant Valerie Chardonnens Vargas?
SELECT original_south_korean_performer FROM table_22460085_1 WHERE original_manchester_performer = "Adebayo Bolaji"
CREATE TABLE table_22460085_1 (original_south_korean_performer VARCHAR, original_manchester_performer VARCHAR)
Who was the origianal south korean performer when Adebayo Bolaji performed in Manchester?