instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: When was originally aired the episode with an audience of 1.57 million us viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_28081876_6 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT original_air_date FROM table_28081876_6 WHERE us_viewers__millions_ = "1.57"
Write a SQL query that answers the following question: What season number was assigned to the episode identified with the production code 401?
The relevant table was constructed using the following SQL : CREATE TABLE table_28081876_6 (season_no VARCHAR, production_code VARCHAR)
SELECT season_no FROM table_28081876_6 WHERE production_code = 401
Write a SQL query that answers the following question: List the number of assists for the DF.
The relevant table was constructed using the following SQL : CREATE TABLE table_28068645_8 (total INTEGER, position VARCHAR)
SELECT MAX(total) FROM table_28068645_8 WHERE position = "DF"
Write a SQL query that answers the following question: List the lowest super league for a 0 champion league.
The relevant table was constructed using the following SQL : CREATE TABLE table_28068645_8 (super_league INTEGER, champions_league VARCHAR)
SELECT MIN(super_league) FROM table_28068645_8 WHERE champions_league = 0
Write a SQL query that answers the following question: What is the minimum sum?
The relevant table was constructed using the following SQL : CREATE TABLE table_28068645_8 (total INTEGER)
SELECT MIN(total) FROM table_28068645_8
Write a SQL query that answers the following question: What was the intermediate sprint classification for the race whose winner was Daniel Martin?
The relevant table was constructed using the following SQL : CREATE TABLE table_28092844_16 (intermediate_sprints_classification_klasyfikacja_najaktywniejszych VARCHAR, winner VARCHAR)
SELECT intermediate_sprints_classification_klasyfikacja_najaktywniejszych FROM table_28092844_16 WHERE winner = "Daniel Martin"
Write a SQL query that answers the following question: Which teams classification winners had a general classification winner of Allan Davis?
The relevant table was constructed using the following SQL : CREATE TABLE table_28092844_16 (teams_classification VARCHAR, general_classification_żółta_koszulka VARCHAR)
SELECT teams_classification FROM table_28092844_16 WHERE general_classification_żółta_koszulka = "Allan Davis"
Write a SQL query that answers the following question: Who won the points classification when the teams classification winner was Lampre-Farnese?
The relevant table was constructed using the following SQL : CREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR)
SELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification = "Lampre-Farnese"
Write a SQL query that answers the following question: How do you say the ukrainian word дякую (diakuju) in English?
The relevant table was constructed using the following SQL : CREATE TABLE table_28136_15 (english_word VARCHAR, ukrainian VARCHAR)
SELECT english_word FROM table_28136_15 WHERE ukrainian = "Дякую (diakuju)"
Write a SQL query that answers the following question: How many words are there in rusyn for the bulgarian word купува (kupuva)?
The relevant table was constructed using the following SQL : CREATE TABLE table_28136_15 (rusyn VARCHAR, bulgarian VARCHAR)
SELECT COUNT(rusyn) FROM table_28136_15 WHERE bulgarian = "купува (kupuva)"
Write a SQL query that answers the following question: Name the new adherents per year for buddhism
The relevant table was constructed using the following SQL : CREATE TABLE table_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR)
SELECT new_adherents_per_year FROM table_28137918_5 WHERE religion = "Buddhism"
Write a SQL query that answers the following question: Name the number of new adherents per year for confucianism
The relevant table was constructed using the following SQL : CREATE TABLE table_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR)
SELECT COUNT(new_adherents_per_year) FROM table_28137918_5 WHERE religion = "Confucianism"
Write a SQL query that answers the following question: Name the least births for conversion being 26,333
The relevant table was constructed using the following SQL : CREATE TABLE table_28137918_5 (births INTEGER, conversions VARCHAR)
SELECT MIN(births) FROM table_28137918_5 WHERE conversions = "26,333"
Write a SQL query that answers the following question: Name the least amount of new adherents per year
The relevant table was constructed using the following SQL : CREATE TABLE table_28137918_5 (new_adherents_per_year INTEGER)
SELECT MIN(new_adherents_per_year) FROM table_28137918_5
Write a SQL query that answers the following question: Name the religion that has a growth rate of 1.56%
The relevant table was constructed using the following SQL : CREATE TABLE table_28137918_5 (religion VARCHAR, growth_rate VARCHAR)
SELECT religion FROM table_28137918_5 WHERE growth_rate = "1.56%"
Write a SQL query that answers the following question: What is the length when the propulsion is controllable pitch propeller?
The relevant table was constructed using the following SQL : CREATE TABLE table_28132970_5 (length VARCHAR, propulsion VARCHAR)
SELECT length FROM table_28132970_5 WHERE propulsion = "Controllable pitch propeller"
Write a SQL query that answers the following question: What is the max speed when the vessel is gallion?
The relevant table was constructed using the following SQL : CREATE TABLE table_28132970_5 (max_speed VARCHAR, vessel VARCHAR)
SELECT max_speed FROM table_28132970_5 WHERE vessel = "Gallion"
Write a SQL query that answers the following question: How many breadth entries are there when the vessel is marianarray?
The relevant table was constructed using the following SQL : CREATE TABLE table_28132970_5 (breadth VARCHAR, vessel VARCHAR)
SELECT COUNT(breadth) FROM table_28132970_5 WHERE vessel = "Marianarray"
Write a SQL query that answers the following question: What is the propulsion when the vessel is marianarray?
The relevant table was constructed using the following SQL : CREATE TABLE table_28132970_5 (propulsion VARCHAR, vessel VARCHAR)
SELECT propulsion FROM table_28132970_5 WHERE vessel = "Marianarray"
Write a SQL query that answers the following question: How many breadth entries are there when propulsion is jet?
The relevant table was constructed using the following SQL : CREATE TABLE table_28132970_5 (breadth VARCHAR, propulsion VARCHAR)
SELECT COUNT(breadth) FROM table_28132970_5 WHERE propulsion = "Jet"
Write a SQL query that answers the following question: What episode title had a production code of 3x6306?
The relevant table was constructed using the following SQL : CREATE TABLE table_28116528_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_28116528_1 WHERE production_code = "3X6306"
Write a SQL query that answers the following question: What date did the episode with a production code of 3x6316 originally air?
The relevant table was constructed using the following SQL : CREATE TABLE table_28116528_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_28116528_1 WHERE production_code = "3X6316"
Write a SQL query that answers the following question: Who won the mens doubles when wu yang won the womens singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_26 (mens_doubles VARCHAR, womens_singles VARCHAR)
SELECT mens_doubles FROM table_28138035_26 WHERE womens_singles = "Wu Yang"
Write a SQL query that answers the following question: What year and where was the tournament when fan ying won the womens singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_26 (year_location VARCHAR, womens_singles VARCHAR)
SELECT year_location FROM table_28138035_26 WHERE womens_singles = "Fan Ying"
Write a SQL query that answers the following question: Who won the mens singles when lau sui fei won the womens singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_26 (mens_singles VARCHAR, womens_singles VARCHAR)
SELECT mens_singles FROM table_28138035_26 WHERE womens_singles = "Lau Sui Fei"
Write a SQL query that answers the following question: Who won the mens doubles when wang hao won the mens singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_26 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT mens_doubles FROM table_28138035_26 WHERE mens_singles = "Wang Hao"
Write a SQL query that answers the following question: Who won in the men singles group in the year when Yoshie Takada won in the women singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_13 (mens_singles VARCHAR, womens_singles VARCHAR)
SELECT mens_singles FROM table_28138035_13 WHERE womens_singles = "Yoshie Takada"
Write a SQL query that answers the following question: When and where did Chen Qi win in men singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_13 (year_location VARCHAR, mens_singles VARCHAR)
SELECT year_location FROM table_28138035_13 WHERE mens_singles = "Chen Qi"
Write a SQL query that answers the following question: Who is listed under mens singles when womens has wang nan zhang yining?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_27 (mens_singles VARCHAR, womens_doubles VARCHAR)
SELECT mens_singles FROM table_28138035_27 WHERE womens_doubles = "Wang Nan Zhang Yining"
Write a SQL query that answers the following question: How many womens singles entries are there when womens doubles is li xiaodan wen jia?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_27 (womens_singles VARCHAR, womens_doubles VARCHAR)
SELECT COUNT(womens_singles) FROM table_28138035_27 WHERE womens_doubles = "Li Xiaodan Wen Jia"
Write a SQL query that answers the following question: Who is listed under womens singles when year location is 1998 doha?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_27 (womens_singles VARCHAR, year_location VARCHAR)
SELECT womens_singles FROM table_28138035_27 WHERE year_location = "1998 Doha"
Write a SQL query that answers the following question: Who is listed under mens singles when the year location is 2009 doha?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_27 (mens_singles VARCHAR, year_location VARCHAR)
SELECT mens_singles FROM table_28138035_27 WHERE year_location = "2009 Doha"
Write a SQL query that answers the following question: How many year locations are there for the womens doubles in jing junhong li jiawei?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR)
SELECT COUNT(year_location) FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei"
Write a SQL query that answers the following question: How many players are there for mens singles when chen qi ma lin played mens doubles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_20 (mens_singles VARCHAR, mens_doubles VARCHAR)
SELECT COUNT(mens_singles) FROM table_28138035_20 WHERE mens_doubles = "Chen Qi Ma Lin"
Write a SQL query that answers the following question: Who played mens doubles for the 1999 kobe tour?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_20 (mens_doubles VARCHAR, year_location VARCHAR)
SELECT mens_doubles FROM table_28138035_20 WHERE year_location = "1999 Kobe"
Write a SQL query that answers the following question: Where was the tour when jing junhong li jiawei played womens doubles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_20 (year_location VARCHAR, womens_doubles VARCHAR)
SELECT year_location FROM table_28138035_20 WHERE womens_doubles = "Jing Junhong Li Jiawei"
Write a SQL query that answers the following question: How many years did lin gaoyuan wu jiaji play mens doubles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_20 (year_location VARCHAR, mens_doubles VARCHAR)
SELECT COUNT(year_location) FROM table_28138035_20 WHERE mens_doubles = "Lin Gaoyuan Wu Jiaji"
Write a SQL query that answers the following question: How many people are shown for mens doubles when guo yue played womens singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_20 (mens_doubles VARCHAR, womens_singles VARCHAR)
SELECT COUNT(mens_doubles) FROM table_28138035_20 WHERE womens_singles = "Guo Yue"
Write a SQL query that answers the following question: Who won the Womens Singles in the year the Jean-Michel Saive won the Mens Singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_35 (womens_singles VARCHAR, mens_singles VARCHAR)
SELECT womens_singles FROM table_28138035_35 WHERE mens_singles = "Jean-Michel Saive"
Write a SQL query that answers the following question: In what year and location did Liu Guozheng win the Mens Singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)
SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Liu Guozheng"
Write a SQL query that answers the following question: In what year and location did Wang Liqin win the Mens Singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)
SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Wang Liqin"
Write a SQL query that answers the following question: Who won the mens doubles at the 2006 guangzhou event?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_6 (mens_doubles VARCHAR, year_location VARCHAR)
SELECT mens_doubles FROM table_28138035_6 WHERE year_location = "2006 Guangzhou"
Write a SQL query that answers the following question: How many times was the womens doubles in china?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_6 (mens_singles VARCHAR, womens_doubles VARCHAR)
SELECT COUNT(mens_singles) FROM table_28138035_6 WHERE womens_doubles = "China"
Write a SQL query that answers the following question: How many times did li ju win the womens singles and wang liqin win the mens singles?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_6 (womens_doubles VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR)
SELECT COUNT(womens_doubles) FROM table_28138035_6 WHERE womens_singles = "Li Ju" AND mens_singles = "Wang Liqin"
Write a SQL query that answers the following question: Name the mens singles for lee eun-sil moon hyun-jung
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_4 (mens_singles VARCHAR, womens_doubles VARCHAR)
SELECT mens_singles FROM table_28138035_4 WHERE womens_doubles = "Lee Eun-Sil Moon Hyun-Jung"
Write a SQL query that answers the following question: Name the number of womens doubles for 2011 rio de janeiro
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_4 (womens_doubles VARCHAR, year_location VARCHAR)
SELECT COUNT(womens_doubles) FROM table_28138035_4 WHERE year_location = "2011 Rio de Janeiro"
Write a SQL query that answers the following question: Name the year location for haruna fukuoka
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_4 (year_location VARCHAR, womens_singles VARCHAR)
SELECT year_location FROM table_28138035_4 WHERE womens_singles = "Haruna Fukuoka"
Write a SQL query that answers the following question: Name the mens doubles for dimitrij ovtcharov
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_4 (mens_doubles VARCHAR, mens_singles VARCHAR)
SELECT mens_doubles FROM table_28138035_4 WHERE mens_singles = "Dimitrij Ovtcharov"
Write a SQL query that answers the following question: Name the number of womens singles for 1999 rio de janeiro
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_4 (womens_singles VARCHAR, year_location VARCHAR)
SELECT COUNT(womens_singles) FROM table_28138035_4 WHERE year_location = "1999 Rio de Janeiro"
Write a SQL query that answers the following question: Name the womens doubles for werner schlager
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_4 (womens_doubles VARCHAR, mens_singles VARCHAR)
SELECT womens_doubles FROM table_28138035_4 WHERE mens_singles = "Werner Schlager"
Write a SQL query that answers the following question: Who was the womens double winner when the womens singles winner was Ding Ning?
The relevant table was constructed using the following SQL : CREATE TABLE table_28138035_32 (womens_doubles VARCHAR, womens_singles VARCHAR)
SELECT womens_doubles FROM table_28138035_32 WHERE womens_singles = "Ding Ning"
Write a SQL query that answers the following question: Who wrote episode number 19 in the series?
The relevant table was constructed using the following SQL : CREATE TABLE table_28140578_1 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_28140578_1 WHERE no_in_series = 19
Write a SQL query that answers the following question: How many marks are there when tackles are 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_2814720_1 (marks VARCHAR, tackles VARCHAR)
SELECT marks FROM table_2814720_1 WHERE tackles = 3
Write a SQL query that answers the following question: What was the goal accuracy % when the total disposals are 481?
The relevant table was constructed using the following SQL : CREATE TABLE table_2814720_1 (goal_accuracy__percentage VARCHAR, total_disposals VARCHAR)
SELECT goal_accuracy__percentage FROM table_2814720_1 WHERE total_disposals = 481
Write a SQL query that answers the following question: What date did the episode with a production code of 60072 originally air?
The relevant table was constructed using the following SQL : CREATE TABLE table_28140590_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_28140590_1 WHERE production_code = 60072
Write a SQL query that answers the following question: What's the title of the episode with series number 36?
The relevant table was constructed using the following SQL : CREATE TABLE table_28146944_2 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_28146944_2 WHERE no_in_series = 36
Write a SQL query that answers the following question: when was the next coach appointed after niger tornadoes fired their coach?
The relevant table was constructed using the following SQL : CREATE TABLE table_28164986_4 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, team VARCHAR)
SELECT date_of_appointment FROM table_28164986_4 WHERE manner_of_departure = "fired" AND team = "Niger Tornadoes"
Write a SQL query that answers the following question: how many managers left sunshine stars?
The relevant table was constructed using the following SQL : CREATE TABLE table_28164986_4 (outgoing_manager VARCHAR, team VARCHAR)
SELECT COUNT(outgoing_manager) FROM table_28164986_4 WHERE team = "Sunshine Stars"
Write a SQL query that answers the following question: how many new managers replaced manager(s) who resigned?
The relevant table was constructed using the following SQL : CREATE TABLE table_28164986_4 (incoming_manager VARCHAR, manner_of_departure VARCHAR)
SELECT COUNT(incoming_manager) FROM table_28164986_4 WHERE manner_of_departure = "Resigned"
Write a SQL query that answers the following question: how many times did tunde abdulrahman leave the team?
The relevant table was constructed using the following SQL : CREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
SELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = "Tunde Abdulrahman"
Write a SQL query that answers the following question: How many platforms have celsius calibur as mystic arte?
The relevant table was constructed using the following SQL : CREATE TABLE table_28178595_2 (platform VARCHAR, mystic_arte VARCHAR)
SELECT COUNT(platform) FROM table_28178595_2 WHERE mystic_arte = "Celsius Calibur"
Write a SQL query that answers the following question: How many mystic arte have hisui (jadeite) hearts 1 as the character?
The relevant table was constructed using the following SQL : CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)
SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 1"
Write a SQL query that answers the following question: How many platforms have nanaly fletch as the character?
The relevant table was constructed using the following SQL : CREATE TABLE table_28178595_2 (platform VARCHAR, character VARCHAR)
SELECT COUNT(platform) FROM table_28178595_2 WHERE character = "Nanaly Fletch"
Write a SQL query that answers the following question: What is the status of the character keel (keele) zeibel?
The relevant table was constructed using the following SQL : CREATE TABLE table_28178595_2 (status VARCHAR, character VARCHAR)
SELECT status FROM table_28178595_2 WHERE character = "Keel (Keele) Zeibel"
Write a SQL query that answers the following question: What sesaon(s) did they have 254 goals against?
The relevant table was constructed using the following SQL : CREATE TABLE table_2817196_1 (season VARCHAR, goals_against VARCHAR)
SELECT season FROM table_2817196_1 WHERE goals_against = 254
Write a SQL query that answers the following question: What is the largest number of points in a season?
The relevant table was constructed using the following SQL : CREATE TABLE table_2817196_1 (points INTEGER)
SELECT MAX(points) FROM table_2817196_1
Write a SQL query that answers the following question: What is the Late Middle English equivalent of the Anglian æg, ǣg?
The relevant table was constructed using the following SQL : CREATE TABLE table_28177800_5 (late_middle_english VARCHAR, late_old_english__anglian_ VARCHAR)
SELECT late_middle_english FROM table_28177800_5 WHERE late_old_english__anglian_ = "æg, ǣg"
Write a SQL query that answers the following question: What is the example of the Early Modern English ( [x] → /f/) /ɔf/?
The relevant table was constructed using the following SQL : CREATE TABLE table_28177800_5 (example VARCHAR, early_modern_english VARCHAR)
SELECT example FROM table_28177800_5 WHERE early_modern_english = "( [x] → /f/) /ɔf/"
Write a SQL query that answers the following question: List the numer of miles for 2010.
The relevant table was constructed using the following SQL : CREATE TABLE table_28178756_1 (miles__km_ VARCHAR, year VARCHAR)
SELECT miles__km_ FROM table_28178756_1 WHERE year = 2010
Write a SQL query that answers the following question: On what day did tommy ellis drive?
The relevant table was constructed using the following SQL : CREATE TABLE table_28178756_1 (date VARCHAR, driver VARCHAR)
SELECT date FROM table_28178756_1 WHERE driver = "Tommy Ellis"
Write a SQL query that answers the following question: On what day did joe gibbs racing record a time of 1:53:26?
The relevant table was constructed using the following SQL : CREATE TABLE table_28178756_1 (date VARCHAR, team VARCHAR, race_time VARCHAR)
SELECT date FROM table_28178756_1 WHERE team = "Joe Gibbs Racing" AND race_time = "1:53:26"
Write a SQL query that answers the following question: What is the average speed for filmar racing?
The relevant table was constructed using the following SQL : CREATE TABLE table_28178756_1 (average_speed__mph_ VARCHAR, team VARCHAR)
SELECT average_speed__mph_ FROM table_28178756_1 WHERE team = "FILMAR Racing"
Write a SQL query that answers the following question: List the race time for may 11.
The relevant table was constructed using the following SQL : CREATE TABLE table_28178756_1 (race_time VARCHAR, date VARCHAR)
SELECT race_time FROM table_28178756_1 WHERE date = "May 11"
Write a SQL query that answers the following question: What is the total number of modern grannies performed?
The relevant table was constructed using the following SQL : CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)
SELECT COUNT(act) FROM table_28180840_15 WHERE name_name_of_act = "Modern Grannies"
Write a SQL query that answers the following question: What is the name of the performance zhu xiaoming performed?
The relevant table was constructed using the following SQL : CREATE TABLE table_28180840_15 (act VARCHAR, name_name_of_act VARCHAR)
SELECT act FROM table_28180840_15 WHERE name_name_of_act = "Zhu Xiaoming"
Write a SQL query that answers the following question: How many performers are 29 that made it to the semi finals?
The relevant table was constructed using the following SQL : CREATE TABLE table_28180840_15 (semifinal__week_ VARCHAR, age_s_ VARCHAR)
SELECT semifinal__week_ FROM table_28180840_15 WHERE age_s_ = "29"
Write a SQL query that answers the following question: What is the name of the zhou jinsong's hometown?
The relevant table was constructed using the following SQL : CREATE TABLE table_28180840_15 (hometown VARCHAR, name_name_of_act VARCHAR)
SELECT hometown FROM table_28180840_15 WHERE name_name_of_act = "Zhou Jinsong"
Write a SQL query that answers the following question: How many different production codes does the episode originally aired on October 18, 1984 have?
The relevant table was constructed using the following SQL : CREATE TABLE table_2818164_2 (production_code VARCHAR, original_air_date VARCHAR)
SELECT COUNT(production_code) FROM table_2818164_2 WHERE original_air_date = "October 18, 1984"
Write a SQL query that answers the following question: What's the title of the episode with production code 104?
The relevant table was constructed using the following SQL : CREATE TABLE table_2818164_2 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_2818164_2 WHERE production_code = 104
Write a SQL query that answers the following question: How many different titles does the episode originally aired on September 27, 1984 have?
The relevant table was constructed using the following SQL : CREATE TABLE table_2818164_2 (title VARCHAR, original_air_date VARCHAR)
SELECT COUNT(title) FROM table_2818164_2 WHERE original_air_date = "September 27, 1984"
Write a SQL query that answers the following question: What's the production code of the episode originally aired on February 21, 1985?
The relevant table was constructed using the following SQL : CREATE TABLE table_2818164_2 (production_code INTEGER, original_air_date VARCHAR)
SELECT MIN(production_code) FROM table_2818164_2 WHERE original_air_date = "February 21, 1985"
Write a SQL query that answers the following question: when roberts 86' is the scorer what is the round?
The relevant table was constructed using the following SQL : CREATE TABLE table_28181401_4 (round VARCHAR, scorers VARCHAR)
SELECT round FROM table_28181401_4 WHERE scorers = "Roberts 86'"
Write a SQL query that answers the following question: When semi final (2nd leg) is the round what is the highest attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_28181401_4 (attendance INTEGER, round VARCHAR)
SELECT MAX(attendance) FROM table_28181401_4 WHERE round = "Semi Final (2nd leg)"
Write a SQL query that answers the following question: When Mark Stimson started his job in 2007-08 what posiiton was the team on the table
The relevant table was constructed using the following SQL : CREATE TABLE table_28181347_6 (position_in_table VARCHAR, replaced_by VARCHAR)
SELECT position_in_table FROM table_28181347_6 WHERE replaced_by = "Mark Stimson"
Write a SQL query that answers the following question: In football league one, what coach was hired as a replacement on 8 October 2007
The relevant table was constructed using the following SQL : CREATE TABLE table_28181347_6 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
SELECT replaced_by FROM table_28181347_6 WHERE date_of_vacancy = "8 October 2007"
Write a SQL query that answers the following question: One 6 November 2007 what was the manner of departure for the coach release in football league one?
The relevant table was constructed using the following SQL : CREATE TABLE table_28181347_6 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
SELECT manner_of_departure FROM table_28181347_6 WHERE date_of_appointment = "6 November 2007"
Write a SQL query that answers the following question: What is the series number for the episode written by janet leahy?
The relevant table was constructed using the following SQL : CREATE TABLE table_2818164_4 (no_in_series INTEGER, written_by VARCHAR)
SELECT MIN(no_in_series) FROM table_2818164_4 WHERE written_by = "Janet Leahy"
Write a SQL query that answers the following question: What was the air date of the episode with the production code of 322?
The relevant table was constructed using the following SQL : CREATE TABLE table_2818164_4 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_2818164_4 WHERE production_code = 322
Write a SQL query that answers the following question: What is the series number for the episode directed by jay sandrich that aired October 23, 1986?
The relevant table was constructed using the following SQL : CREATE TABLE table_2818164_4 (no_in_series INTEGER, directed_by VARCHAR, original_air_date VARCHAR)
SELECT MIN(no_in_series) FROM table_2818164_4 WHERE directed_by = "Jay Sandrich" AND original_air_date = "October 23, 1986"
Write a SQL query that answers the following question: What are the title(s) of episodes directed by david solomon and written by marti noxon?
The relevant table was constructed using the following SQL : CREATE TABLE table_28195971_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT title FROM table_28195971_1 WHERE directed_by = "David Solomon" AND written_by = "Marti Noxon"
Write a SQL query that answers the following question: What was the number of episodes whose production code is 7ABB21?
The relevant table was constructed using the following SQL : CREATE TABLE table_28196105_1 (_number VARCHAR, production_code VARCHAR)
SELECT COUNT(_number) FROM table_28196105_1 WHERE production_code = "7ABB21"
Write a SQL query that answers the following question: Who wrote episode number 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_28196105_1 (written_by VARCHAR, _number VARCHAR)
SELECT written_by FROM table_28196105_1 WHERE _number = 18
Write a SQL query that answers the following question: Name the tries for when L is less than 2.0
The relevant table was constructed using the following SQL : CREATE TABLE table_28204447_3 (tries_for VARCHAR, l INTEGER)
SELECT tries_for FROM table_28204447_3 WHERE l < 2.0
Write a SQL query that answers the following question: What is the most recent year shown for Betty Stove?
The relevant table was constructed using the following SQL : CREATE TABLE table_2820584_2 (year INTEGER)
SELECT MAX(year) FROM table_2820584_2
Write a SQL query that answers the following question: Who was Betty's partner when the surface is hard?
The relevant table was constructed using the following SQL : CREATE TABLE table_2820584_2 (partner VARCHAR, surface VARCHAR)
SELECT partner FROM table_2820584_2 WHERE surface = "Hard"
Write a SQL query that answers the following question: What is the lowest number of drawn games by a team?
The relevant table was constructed using the following SQL : CREATE TABLE table_28201906_1 (drawn INTEGER)
SELECT MIN(drawn) FROM table_28201906_1
Write a SQL query that answers the following question: How many points did the team that won 5 games make?
The relevant table was constructed using the following SQL : CREATE TABLE table_28201906_1 (pts_for VARCHAR, won VARCHAR)
SELECT pts_for FROM table_28201906_1 WHERE won = 5
Write a SQL query that answers the following question: How many points does the club that had 45 points against it have?
The relevant table was constructed using the following SQL : CREATE TABLE table_28201906_1 (points VARCHAR, pts_agst VARCHAR)
SELECT points FROM table_28201906_1 WHERE pts_agst = 45
Write a SQL query that answers the following question: When gray wolves is the team nickname how many institutions are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_28211213_2 (institution VARCHAR, team_nickname VARCHAR)
SELECT COUNT(institution) FROM table_28211213_2 WHERE team_nickname = "Gray Wolves"
Write a SQL query that answers the following question: When sylvania, oh is the location what is the team nickname?
The relevant table was constructed using the following SQL : CREATE TABLE table_28211213_2 (team_nickname VARCHAR, location VARCHAR)
SELECT team_nickname FROM table_28211213_2 WHERE location = "Sylvania, OH"