instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Who wrote the episode with production code 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR)
SELECT written_by FROM table_25679312_2 WHERE prod_code = 5
Write a SQL query that answers the following question: Name the number of finishes for 15 entries 15 and l'esprit d'equipe
The relevant table was constructed using the following SQL : CREATE TABLE table_256862_1 (finish VARCHAR, entries VARCHAR, winning_yacht VARCHAR)
SELECT COUNT(finish) FROM table_256862_1 WHERE entries = "15" AND winning_yacht = "L'Esprit d'Equipe"
Write a SQL query that answers the following question: Name the most legs for steinlager 2
The relevant table was constructed using the following SQL : CREATE TABLE table_256862_1 (legs INTEGER, winning_yacht VARCHAR)
SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht = "Steinlager 2"
Write a SQL query that answers the following question: Name the wininng yacht for 14 entries
The relevant table was constructed using the following SQL : CREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR)
SELECT winning_yacht FROM table_256862_1 WHERE entries = "14"
Write a SQL query that answers the following question: What was the word for the episode that aired February 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_2 (the_wørd VARCHAR, original_airdate VARCHAR)
SELECT the_wørd FROM table_25691838_2 WHERE original_airdate = "February 11"
Write a SQL query that answers the following question: What was the introductory phrase for the episode with the production bode 6026?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_2 (introductory_phrase VARCHAR, production_code VARCHAR)
SELECT introductory_phrase FROM table_25691838_2 WHERE production_code = 6026
Write a SQL query that answers the following question: What was the word on episode number 673?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_2 (the_wørd VARCHAR, episode__number VARCHAR)
SELECT the_wørd FROM table_25691838_2 WHERE episode__number = 673
Write a SQL query that answers the following question: Who were the guests in the episode with production code 6021?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_2 (guest VARCHAR, production_code VARCHAR)
SELECT guest FROM table_25691838_2 WHERE production_code = 6021
Write a SQL query that answers the following question: Who were the guests on a show where the production code is 6152?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_12 (guest VARCHAR, production_code VARCHAR)
SELECT guest FROM table_25691838_12 WHERE production_code = 6152
Write a SQL query that answers the following question: Who were the guests for the episode with an original airdate of december 07?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_12 (guest VARCHAR, original_airdate VARCHAR)
SELECT guest FROM table_25691838_12 WHERE original_airdate = "December 07"
Write a SQL query that answers the following question: What is "the wørd" when guests were daniel ellsberg , william wegman , julie taymor?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_12 (the_wørd VARCHAR, guest VARCHAR)
SELECT the_wørd FROM table_25691838_12 WHERE guest = "Daniel Ellsberg , William Wegman , Julie Taymor"
Write a SQL query that answers the following question: What is the production code of the episode with an original airdate of december 01?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_12 (production_code VARCHAR, original_airdate VARCHAR)
SELECT production_code FROM table_25691838_12 WHERE original_airdate = "December 01"
Write a SQL query that answers the following question: What is the episode # when the guests were julie nixon eisenhower and david eisenhower?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_12 (episode__number INTEGER, guest VARCHAR)
SELECT MIN(episode__number) FROM table_25691838_12 WHERE guest = "Julie Nixon Eisenhower and David Eisenhower"
Write a SQL query that answers the following question: Who were the guests on the episode that first aired August 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_8 (guest VARCHAR, original_airdate VARCHAR)
SELECT guest FROM table_25691838_8 WHERE original_airdate = "August 16"
Write a SQL query that answers the following question: What was the introductory phrase on the episode production code 6101?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_8 (introductory_phrase VARCHAR, production_code VARCHAR)
SELECT introductory_phrase FROM table_25691838_8 WHERE production_code = 6101
Write a SQL query that answers the following question: What was the smallest production code for August 11's original episode?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_8 (production_code INTEGER, original_airdate VARCHAR)
SELECT MIN(production_code) FROM table_25691838_8 WHERE original_airdate = "August 11"
Write a SQL query that answers the following question: How many introductory phrases were there on David Finkel's guest episode?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_8 (introductory_phrase VARCHAR, guest VARCHAR)
SELECT COUNT(introductory_phrase) FROM table_25691838_8 WHERE guest = "David Finkel"
Write a SQL query that answers the following question: What was the minimum number of the episode that first aired August 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_8 (episode__number INTEGER, original_airdate VARCHAR)
SELECT MIN(episode__number) FROM table_25691838_8 WHERE original_airdate = "August 11"
Write a SQL query that answers the following question: What was the introductory phrase for episode 794?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_11 (introductory_phrase VARCHAR, episode__number VARCHAR)
SELECT introductory_phrase FROM table_25691838_11 WHERE episode__number = 794
Write a SQL query that answers the following question: What date did the episode originally air on with salvatore giunta as a guest?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_11 (original_airdate VARCHAR, guest VARCHAR)
SELECT original_airdate FROM table_25691838_11 WHERE guest = "Salvatore Giunta"
Write a SQL query that answers the following question: How many production codes were there for the episode that aired on November 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_25691838_11 (production_code VARCHAR, original_airdate VARCHAR)
SELECT COUNT(production_code) FROM table_25691838_11 WHERE original_airdate = "November 15"
Write a SQL query that answers the following question: What was the cylinder size of this engine that was made with only 88 pieces?
The relevant table was constructed using the following SQL : CREATE TABLE table_25695027_1 (cylinder_size VARCHAR, number_built VARCHAR)
SELECT cylinder_size FROM table_25695027_1 WHERE number_built = "88"
Write a SQL query that answers the following question: What was the engine class that was built on 1906-08?
The relevant table was constructed using the following SQL : CREATE TABLE table_25695027_1 (class VARCHAR, years_built VARCHAR)
SELECT class FROM table_25695027_1 WHERE years_built = "1906-08"
Write a SQL query that answers the following question: How many engines were built with a cylinder size of 20 ½” x 26”, firebox is belpaire and valve gear is from Stephenson?
The relevant table was constructed using the following SQL : CREATE TABLE table_25695027_1 (number_built VARCHAR, valve_gear VARCHAR, cylinder_size VARCHAR, firebox VARCHAR)
SELECT number_built FROM table_25695027_1 WHERE cylinder_size = "20 ½” x 26”" AND firebox = "Belpaire" AND valve_gear = "Stephenson"
Write a SQL query that answers the following question: This engine with a cylinder size of 20 ½” x 26” and a firebox of radial-stay was built when?
The relevant table was constructed using the following SQL : CREATE TABLE table_25695027_1 (years_built VARCHAR, cylinder_size VARCHAR, firebox VARCHAR)
SELECT years_built FROM table_25695027_1 WHERE cylinder_size = "20 ½” x 26”" AND firebox = "Radial-stay"
Write a SQL query that answers the following question: How many types of valves were used on this engine that was built on 1902-05?
The relevant table was constructed using the following SQL : CREATE TABLE table_25695027_1 (valves VARCHAR, years_built VARCHAR)
SELECT COUNT(valves) FROM table_25695027_1 WHERE years_built = "1902-05"
Write a SQL query that answers the following question: Name the agency for santa rosa avenue
The relevant table was constructed using the following SQL : CREATE TABLE table_25692955_1 (agency VARCHAR, south_west_terminal VARCHAR)
SELECT agency FROM table_25692955_1 WHERE south_west_terminal = "Santa Rosa Avenue"
Write a SQL query that answers the following question: Name the route number for rincon valley
The relevant table was constructed using the following SQL : CREATE TABLE table_25692955_1 (route_number VARCHAR, south_west_terminal VARCHAR)
SELECT route_number FROM table_25692955_1 WHERE south_west_terminal = "Rincon Valley"
Write a SQL query that answers the following question: Name the route number for santa rosa avenue
The relevant table was constructed using the following SQL : CREATE TABLE table_25692955_1 (route_number VARCHAR, north_east_terminal VARCHAR)
SELECT route_number FROM table_25692955_1 WHERE north_east_terminal = "Santa Rosa Avenue"
Write a SQL query that answers the following question: What is the original air date of the episode "Another Happy Day"?
The relevant table was constructed using the following SQL : CREATE TABLE table_2570269_3 (original_air_date__uk_ VARCHAR, episode_title VARCHAR)
SELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode_title = "Another Happy Day"
Write a SQL query that answers the following question: What is the title of the episode that aired on 13 august 1981?
The relevant table was constructed using the following SQL : CREATE TABLE table_2570269_3 (episode_title VARCHAR, original_air_date__uk_ VARCHAR)
SELECT episode_title FROM table_2570269_3 WHERE original_air_date__uk_ = "13 August 1981"
Write a SQL query that answers the following question: What is the original air date of episode 3-02?
The relevant table was constructed using the following SQL : CREATE TABLE table_2570269_3 (original_air_date__uk_ VARCHAR, episode__number VARCHAR)
SELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode__number = "3-02"
Write a SQL query that answers the following question: Who are the cast members of episode 3-04?
The relevant table was constructed using the following SQL : CREATE TABLE table_2570269_3 (cast VARCHAR, episode__number VARCHAR)
SELECT cast FROM table_2570269_3 WHERE episode__number = "3-04"
Write a SQL query that answers the following question: What is the highest birth/2013 when the death/2012 is 14,1?
The relevant table was constructed using the following SQL : CREATE TABLE table_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)
SELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 = "14,1"
Write a SQL query that answers the following question: What is the highest death/2013 when the death/2012 is 12,7?
The relevant table was constructed using the following SQL : CREATE TABLE table_25703_1 (death_2013 INTEGER, death_2012 VARCHAR)
SELECT MAX(death_2013) FROM table_25703_1 WHERE death_2012 = "12,7"
Write a SQL query that answers the following question: What are the death/2012 number when death/2013 is 140 and January–September 2013 is Moscow Oblast?
The relevant table was constructed using the following SQL : CREATE TABLE table_25703_1 (death_2012 VARCHAR, death_2013 VARCHAR, january_september_2013 VARCHAR)
SELECT death_2012 FROM table_25703_1 WHERE death_2013 = 140 AND january_september_2013 = "Moscow Oblast"
Write a SQL query that answers the following question: How many figures for birth/2013 when January-September is Oryol Oblast?
The relevant table was constructed using the following SQL : CREATE TABLE table_25703_1 (birth_2013 VARCHAR, january_september_2013 VARCHAR)
SELECT COUNT(birth_2013) FROM table_25703_1 WHERE january_september_2013 = "Oryol Oblast"
Write a SQL query that answers the following question: How many touchdowns did the player took which gained 25 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_2 (touchdowns VARCHAR, points VARCHAR)
SELECT touchdowns FROM table_25711913_2 WHERE points = 25
Write a SQL query that answers the following question: How many maximum points did Curtis scored?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_2 (points INTEGER, player VARCHAR)
SELECT MAX(points) FROM table_25711913_2 WHERE player = "Curtis"
Write a SQL query that answers the following question: How many touchdowns did the left guard took?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR)
SELECT MAX(touchdowns) FROM table_25711913_2 WHERE position = "Left guard"
Write a SQL query that answers the following question: How many numbers were recorded on the fields goals of the Left End player?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_2 (field_goals VARCHAR, position VARCHAR)
SELECT COUNT(field_goals) FROM table_25711913_2 WHERE position = "Left end"
Write a SQL query that answers the following question: What was the minimum touchdowns of the Fullback player?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_2 (touchdowns INTEGER, position VARCHAR)
SELECT MIN(touchdowns) FROM table_25711913_2 WHERE position = "Fullback"
Write a SQL query that answers the following question: How many touchdowns did the fullback score?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_8 (touchdowns INTEGER, position VARCHAR)
SELECT MIN(touchdowns) FROM table_25711913_8 WHERE position = "Fullback"
Write a SQL query that answers the following question: How many figures are provided for Weeks' field goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_8 (field_goals VARCHAR, player VARCHAR)
SELECT COUNT(field_goals) FROM table_25711913_8 WHERE player = "Weeks"
Write a SQL query that answers the following question: What is the most points recorded for a right halfback?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_8 (points INTEGER, position VARCHAR)
SELECT MAX(points) FROM table_25711913_8 WHERE position = "Right halfback"
Write a SQL query that answers the following question: Was Magoffin a starting player?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_8 (starter VARCHAR, player VARCHAR)
SELECT starter FROM table_25711913_8 WHERE player = "Magoffin"
Write a SQL query that answers the following question: Which player was at position left tackle?
The relevant table was constructed using the following SQL : CREATE TABLE table_25711913_8 (player VARCHAR, position VARCHAR)
SELECT player FROM table_25711913_8 WHERE position = "Left tackle"
Write a SQL query that answers the following question: What is the original air date for the episode written by daniel dratch?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716399_1 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_25716399_1 WHERE written_by = "Daniel Dratch"
Write a SQL query that answers the following question: What season was an episode directed by wendey stanzler?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716399_1 (no_in_season INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE directed_by = "Wendey Stanzler"
Write a SQL query that answers the following question: What was the original air date where there were u.s. viewers (millions) is 5.60?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716399_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT original_air_date FROM table_25716399_1 WHERE us_viewers__millions_ = "5.60"
Write a SQL query that answers the following question: Who was the writer for season 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716399_1 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_25716399_1 WHERE no_in_season = 14
Write a SQL query that answers the following question: Who wrote the episode where the original air date is july20,2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716399_1 (written_by VARCHAR, original_air_date VARCHAR)
SELECT written_by FROM table_25716399_1 WHERE original_air_date = "July20,2007"
Write a SQL query that answers the following question: what season was written by jonathan collier?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716399_1 (no_in_season INTEGER, written_by VARCHAR)
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE written_by = "Jonathan Collier"
Write a SQL query that answers the following question: How many episodes were written by Tom Scharpling and Daniel Dratch?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716397_1 (no_in_season VARCHAR, written_by VARCHAR)
SELECT COUNT(no_in_season) FROM table_25716397_1 WHERE written_by = "Tom Scharpling and Daniel Dratch"
Write a SQL query that answers the following question: How many people directed the episode that Joe Toplyn wrote?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716397_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT COUNT(directed_by) FROM table_25716397_1 WHERE written_by = "Joe Toplyn"
Write a SQL query that answers the following question: How many titles does the episode written by Joe Toplyn have?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716397_1 (title VARCHAR, written_by VARCHAR)
SELECT COUNT(title) FROM table_25716397_1 WHERE written_by = "Joe Toplyn"
Write a SQL query that answers the following question: How many directors of episode 55?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716397_1 (directed_by VARCHAR, series_no VARCHAR)
SELECT COUNT(directed_by) FROM table_25716397_1 WHERE series_no = 55
Write a SQL query that answers the following question: How many titles are there for the episode written by Tom Scharpling?
The relevant table was constructed using the following SQL : CREATE TABLE table_25716401_1 (title VARCHAR, written_by VARCHAR)
SELECT COUNT(title) FROM table_25716401_1 WHERE written_by = "Tom Scharpling"
Write a SQL query that answers the following question: Which episode number aired on 18 october 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_25721_3 (episode_no INTEGER, airdate VARCHAR)
SELECT MIN(episode_no) FROM table_25721_3 WHERE airdate = "18 October 2012"
Write a SQL query that answers the following question: What is the lowest cable rank of an episode with 1464000 viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_25721_3 (rank__cable_ INTEGER, total_viewers VARCHAR)
SELECT MIN(rank__cable_) FROM table_25721_3 WHERE total_viewers = 1464000
Write a SQL query that answers the following question: What is the highest number of dave viewers of an episode with 119000 dave ja vu viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_25721_3 (dave_viewers INTEGER, dave_ja_vu_viewers VARCHAR)
SELECT MAX(dave_viewers) FROM table_25721_3 WHERE dave_ja_vu_viewers = 119000
Write a SQL query that answers the following question: How many episodes aired on 25 october 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_25721_3 (total_viewers VARCHAR, airdate VARCHAR)
SELECT COUNT(total_viewers) FROM table_25721_3 WHERE airdate = "25 October 2012"
Write a SQL query that answers the following question: What was the airdate of the episode with 106000 dave ja vu viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_25721_3 (airdate VARCHAR, dave_ja_vu_viewers VARCHAR)
SELECT airdate FROM table_25721_3 WHERE dave_ja_vu_viewers = 106000
Write a SQL query that answers the following question: How many DVDs where were in the complete collection series 1-8 with extras?
The relevant table was constructed using the following SQL : CREATE TABLE table_25721_4 (_number_of_discs VARCHAR, release VARCHAR)
SELECT _number_of_discs FROM table_25721_4 WHERE release = "The Complete Collection Series 1-8 with extras"
Write a SQL query that answers the following question: Which release had 6 DVDs?
The relevant table was constructed using the following SQL : CREATE TABLE table_25721_4 (release VARCHAR, _number_of_discs VARCHAR)
SELECT release FROM table_25721_4 WHERE _number_of_discs = 6
Write a SQL query that answers the following question: How many region 1's did back to earth have?
The relevant table was constructed using the following SQL : CREATE TABLE table_25721_4 (region_1 VARCHAR, release VARCHAR)
SELECT COUNT(region_1) FROM table_25721_4 WHERE release = "Back to Earth"
Write a SQL query that answers the following question: How many field goals did Walter Rheinschild have?
The relevant table was constructed using the following SQL : CREATE TABLE table_25724294_2 (field_goals INTEGER, player VARCHAR)
SELECT MAX(field_goals) FROM table_25724294_2 WHERE player = "Walter Rheinschild"
Write a SQL query that answers the following question: Jack Loell had how many extra points?
The relevant table was constructed using the following SQL : CREATE TABLE table_25724294_2 (extra_points VARCHAR, player VARCHAR)
SELECT extra_points FROM table_25724294_2 WHERE player = "Jack Loell"
Write a SQL query that answers the following question: How many points did Donald Green score?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730209_2 (points VARCHAR, player VARCHAR)
SELECT COUNT(points) FROM table_25730209_2 WHERE player = "Donald Green"
Write a SQL query that answers the following question: How many field goals did Donald Green score?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730209_2 (field_goals VARCHAR, player VARCHAR)
SELECT COUNT(field_goals) FROM table_25730209_2 WHERE player = "Donald Green"
Write a SQL query that answers the following question: What was the least amount of points scored?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730209_2 (extra_points INTEGER)
SELECT MIN(extra_points) FROM table_25730209_2
Write a SQL query that answers the following question: How many extra points did Stanfield Wells make?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730209_2 (extra_points VARCHAR, player VARCHAR)
SELECT COUNT(extra_points) FROM table_25730209_2 WHERE player = "Stanfield Wells"
Write a SQL query that answers the following question: What are the most points listed?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730123_2 (points INTEGER)
SELECT MAX(points) FROM table_25730123_2
Write a SQL query that answers the following question: How many touchdowns were the when there was more than 1.0 extra point?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730123_2 (touchdowns VARCHAR, extra_points INTEGER)
SELECT touchdowns FROM table_25730123_2 WHERE extra_points > 1.0
Write a SQL query that answers the following question: Name the player/s when there were 20 points with less than 1.0 extra point .
The relevant table was constructed using the following SQL : CREATE TABLE table_25730123_2 (player VARCHAR, extra_points VARCHAR, points VARCHAR)
SELECT player FROM table_25730123_2 WHERE extra_points < 1.0 AND points = 20
Write a SQL query that answers the following question: What were the least amount of field goals when Frederick L. Conklin played?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730123_2 (field_goals INTEGER, player VARCHAR)
SELECT MIN(field_goals) FROM table_25730123_2 WHERE player = "Frederick L. Conklin"
Write a SQL query that answers the following question: What is the least number of extra points?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730326_2 (extra_points INTEGER)
SELECT MIN(extra_points) FROM table_25730326_2
Write a SQL query that answers the following question: How many points did William Wasmund have?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730326_2 (points VARCHAR, player VARCHAR)
SELECT points FROM table_25730326_2 WHERE player = "William Wasmund"
Write a SQL query that answers the following question: How many touchdowns did the player with 10 points have?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730326_2 (touchdowns INTEGER, points VARCHAR)
SELECT MIN(touchdowns) FROM table_25730326_2 WHERE points = 10
Write a SQL query that answers the following question: How many points does George M. Lawton have?
The relevant table was constructed using the following SQL : CREATE TABLE table_25730326_2 (points INTEGER, player VARCHAR)
SELECT MAX(points) FROM table_25730326_2 WHERE player = "George M. Lawton"
Write a SQL query that answers the following question: Name the player for 1 touchdowns
The relevant table was constructed using the following SQL : CREATE TABLE table_25730460_2 (player VARCHAR, touchdowns VARCHAR)
SELECT player FROM table_25730460_2 WHERE touchdowns = 1
Write a SQL query that answers the following question: Name the least extra points
The relevant table was constructed using the following SQL : CREATE TABLE table_25730460_2 (extra_points INTEGER)
SELECT MIN(extra_points) FROM table_25730460_2
Write a SQL query that answers the following question: Who directed episode number 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_25737761_3 (director VARCHAR, no VARCHAR)
SELECT director FROM table_25737761_3 WHERE no = 2
Write a SQL query that answers the following question: What was the episode number that had 797000 viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_25737761_3 (no VARCHAR, viewing_figure VARCHAR)
SELECT no FROM table_25737761_3 WHERE viewing_figure = 797000
Write a SQL query that answers the following question: Who directed the episode directed by colin teague?
The relevant table was constructed using the following SQL : CREATE TABLE table_25737761_3 (writer VARCHAR, director VARCHAR)
SELECT writer FROM table_25737761_3 WHERE director = "Colin Teague"
Write a SQL query that answers the following question: How many episodes with the production code CA106 are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_25740548_2 (written_by VARCHAR, production_code VARCHAR)
SELECT COUNT(written_by) FROM table_25740548_2 WHERE production_code = "CA106"
Write a SQL query that answers the following question: Who was the director for episodes that were written be Matthew Lau?
The relevant table was constructed using the following SQL : CREATE TABLE table_25740548_2 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_25740548_2 WHERE written_by = "Matthew Lau"
Write a SQL query that answers the following question: How many episode were written by Brett Conrad?
The relevant table was constructed using the following SQL : CREATE TABLE table_25740548_2 (title VARCHAR, written_by VARCHAR)
SELECT COUNT(title) FROM table_25740548_2 WHERE written_by = "Brett Conrad"
Write a SQL query that answers the following question: How many episodes were directed by Tim Matheson?
The relevant table was constructed using the following SQL : CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Tim Matheson"
Write a SQL query that answers the following question: How many episodes were directed by Rod Hardy?
The relevant table was constructed using the following SQL : CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Rod Hardy"
Write a SQL query that answers the following question: Who wrote the episode with 3.92 million US viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_25740548_3 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_25740548_3 WHERE us_viewers__million_ = "3.92"
Write a SQL query that answers the following question: How many original air dates are there for the episode with code CA210?
The relevant table was constructed using the following SQL : CREATE TABLE table_25740548_3 (original_air_date VARCHAR, production_code VARCHAR)
SELECT COUNT(original_air_date) FROM table_25740548_3 WHERE production_code = "CA210"
Write a SQL query that answers the following question: How many episodes had rating/share (18-49) of 0.7/2 and a rating of 2.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_25751274_2 (episode_number VARCHAR, rating VARCHAR)
SELECT COUNT(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 0.7 / 2 AND rating = "2.1"
Write a SQL query that answers the following question: What is the lowest episode number that had a ratings/share (18-49) of 1.1/3?
The relevant table was constructed using the following SQL : CREATE TABLE table_25751274_2 (episode_number INTEGER, rating VARCHAR)
SELECT MIN(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.1 / 3
Write a SQL query that answers the following question: What is the rating of the episode with a share of 4 and a rating/share (18-49) of 0.7/2?
The relevant table was constructed using the following SQL : CREATE TABLE table_25751274_2 (rating VARCHAR, share VARCHAR)
SELECT rating FROM table_25751274_2 WHERE share = 4 AND rating / SHARE(18 - 49) = 0.7 / 2
Write a SQL query that answers the following question: What is the lowest rank of an episode with a rating/share (18-49) of 1.3/4?
The relevant table was constructed using the following SQL : CREATE TABLE table_25751274_2 (rank__night_ INTEGER, rating VARCHAR)
SELECT MIN(rank__night_) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.3 / 4
Write a SQL query that answers the following question: What is the song released by Travis?
The relevant table was constructed using the following SQL : CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR)
SELECT single FROM table_25760427_2 WHERE artist = "Travis"
Write a SQL query that answers the following question: error (see notes)
The relevant table was constructed using the following SQL : CREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER)
SELECT MIN(weeks_at_number_1) FROM table_25760427_2
Write a SQL query that answers the following question: What is the song by the musician panjabi mc?
The relevant table was constructed using the following SQL : CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR)
SELECT single FROM table_25760427_2 WHERE artist = "Panjabi MC"
Write a SQL query that answers the following question: Where was the round 1 race?
The relevant table was constructed using the following SQL : CREATE TABLE table_25773116_2 (location VARCHAR, round VARCHAR)
SELECT location FROM table_25773116_2 WHERE round = 1