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