instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who were the guests on the episode that first aired August 16?
SELECT Guest FROM table WHERE Original airdate = August 16
Translate the following into a SQL query
What was the introductory phrase on the episode production code 6101?
SELECT Introductory phrase FROM table WHERE Production code = 6101
Translate the following into a SQL query
What was the smallest production code for August 11's original episode?
SELECT MIN Production code FROM table WHERE Original airdate = August 11
Translate the following into a SQL query
How many introductory phrases were there on David Finkel's guest episode?
SELECT COUNT Introductory phrase FROM table WHERE Guest = David Finkel
Translate the following into a SQL query
What was the minimum number of the episode that first aired August 11?
SELECT MIN Episode # FROM table WHERE Original airdate = August 11
Translate the following into a SQL query
Who were the guests for August 16's original episode?
SELECT Guest FROM table WHERE Original airdate = August 16
Translate the following into a SQL query
What was the introductory phrase for episode 794?
SELECT Introductory phrase FROM table WHERE Episode # = 794
Translate the following into a SQL query
What date did the episode originally air on with salvatore giunta as a guest?
SELECT Original airdate FROM table WHERE Guest = Salvatore Giunta
Translate the following into a SQL query
How many production codes were there for the episode that aired on November 15?
SELECT COUNT Production code FROM table WHERE Original airdate = November 15
Translate the following into a SQL query
What was the cylinder size of this engine that was made with only 88 pieces?
SELECT Cylinder size FROM table WHERE Number built = 88
Translate the following into a SQL query
What was the engine class that was built on 1906-08?
SELECT Class FROM table WHERE Years built = 1906-08
Translate the following into a SQL query
How many engines were built with a cylinder size of 20 ½” x 26”, firebox is belpaire and valve gear is from Stephenson?
SELECT Number built FROM table WHERE Cylinder size = 20 ½” x 26” AND Firebox = Belpaire AND Valve gear = Stephenson
Translate the following into a SQL query
This engine with a cylinder size of 20 ½” x 26” and a firebox of radial-stay was built when?
SELECT Years built FROM table WHERE Cylinder size = 20 ½” x 26” AND Firebox = Radial-stay
Translate the following into a SQL query
How many types of valves were used on this engine that was built on 1902-05?
SELECT COUNT Valves FROM table WHERE Years built = 1902-05
Translate the following into a SQL query
Name the agency for santa rosa avenue
SELECT Agency FROM table WHERE South/West Terminal = Santa Rosa Avenue
Translate the following into a SQL query
Name the route number for rincon valley
SELECT Route Number FROM table WHERE South/West Terminal = Rincon Valley
Translate the following into a SQL query
Name the route number for santa rosa avenue
SELECT Route Number FROM table WHERE North/East Terminal = Santa Rosa Avenue
Translate the following into a SQL query
What is the original air date of the episode "Another Happy Day"?
SELECT Original Air Date (UK) FROM table WHERE Episode Title = Another Happy Day
Translate the following into a SQL query
What is the title of the episode that aired on 13 august 1981?
SELECT Episode Title FROM table WHERE Original Air Date (UK) = 13 August 1981
Translate the following into a SQL query
What is the original air date of episode 3-02?
SELECT Original Air Date (UK) FROM table WHERE Episode # = 3-02
Translate the following into a SQL query
Who are the cast members of episode 3-04?
SELECT Cast FROM table WHERE Episode # = 3-04
Translate the following into a SQL query
What is the highest birth/2013 when the death/2012 is 14,1?
SELECT MAX Birth/2013 FROM table WHERE Death/2012 = 14,1
Translate the following into a SQL query
What is the highest death/2013 when the death/2012 is 12,7?
SELECT MAX Death/2013 FROM table WHERE Death/2012 = 12,7
Translate the following into a SQL query
What are the death/2012 number when death/2013 is 140 and January–September 2013 is Moscow Oblast?
SELECT Death/2012 FROM table WHERE Death/2013 = 140 AND January–September 2013 = Moscow Oblast
Translate the following into a SQL query
How many figures for birth/2013 when January-September is Oryol Oblast?
SELECT COUNT Birth/2013 FROM table WHERE January–September 2013 = Oryol Oblast
Translate the following into a SQL query
How many touchdowns did the player took which gained 25 points?
SELECT Touchdowns FROM table WHERE Points = 25
Translate the following into a SQL query
How many maximum points did Curtis scored?
SELECT MAX Points FROM table WHERE Player = Curtis
Translate the following into a SQL query
How many touchdowns did the left guard took?
SELECT MAX Touchdowns FROM table WHERE Position = Left guard
Translate the following into a SQL query
How many numbers were recorded on the fields goals of the Left End player?
SELECT COUNT Field goals FROM table WHERE Position = Left end
Translate the following into a SQL query
What was the minimum touchdowns of the Fullback player?
SELECT MIN Touchdowns FROM table WHERE Position = Fullback
Translate the following into a SQL query
How many touchdowns did the fullback score?
SELECT MIN Touchdowns FROM table WHERE Position = Fullback
Translate the following into a SQL query
How many figures are provided for Weeks' field goals?
SELECT COUNT Field goals FROM table WHERE Player = Weeks
Translate the following into a SQL query
What is the most points recorded for a right halfback?
SELECT MAX Points FROM table WHERE Position = Right halfback
Translate the following into a SQL query
Was Magoffin a starting player?
SELECT Starter FROM table WHERE Player = Magoffin
Translate the following into a SQL query
Which player was at position left tackle?
SELECT Player FROM table WHERE Position = Left tackle
Translate the following into a SQL query
What is the original air date for the episode written by daniel dratch?
SELECT Original air date FROM table WHERE Written by = Daniel Dratch
Translate the following into a SQL query
What season was an episode directed by wendey stanzler?
SELECT MAX No. in season FROM table WHERE Directed by = Wendey Stanzler
Translate the following into a SQL query
What was the original air date where there were u.s. viewers (millions) is 5.60?
SELECT Original air date FROM table WHERE U.S. viewers (millions) = 5.60
Translate the following into a SQL query
Who was the writer for season 14?
SELECT Written by FROM table WHERE No. in season = 14
Translate the following into a SQL query
Who wrote the episode where the original air date is july20,2007?
SELECT Written by FROM table WHERE Original air date = July20,2007
Translate the following into a SQL query
what season was written by jonathan collier?
SELECT MAX No. in season FROM table WHERE Written by = Jonathan Collier
Translate the following into a SQL query
How many episodes were written by Tom Scharpling and Daniel Dratch?
SELECT COUNT No. in season FROM table WHERE Written by = Tom Scharpling and Daniel Dratch
Translate the following into a SQL query
How many people directed the episode that Joe Toplyn wrote?
SELECT COUNT Directed by FROM table WHERE Written by = Joe Toplyn
Translate the following into a SQL query
How many titles does the episode written by Joe Toplyn have?
SELECT COUNT Title FROM table WHERE Written by = Joe Toplyn
Translate the following into a SQL query
How many directors of episode 55?
SELECT COUNT Directed by FROM table WHERE Series no. = 55
Translate the following into a SQL query
How many titles are there for the episode written by Tom Scharpling?
SELECT COUNT Title FROM table WHERE Written by = Tom Scharpling
Translate the following into a SQL query
Which episode number aired on 18 october 2012?
SELECT MIN Episode no. FROM table WHERE Airdate = 18 October 2012
Translate the following into a SQL query
What is the lowest cable rank of an episode with 1464000 viewers?
SELECT MIN Rank (cable) FROM table WHERE Total viewers = 1464000
Translate the following into a SQL query
What is the highest number of dave viewers of an episode with 119000 dave ja vu viewers?
SELECT MAX Dave Viewers FROM table WHERE Dave ja vu Viewers = 119000
Translate the following into a SQL query
How many episodes aired on 25 october 2012?
SELECT COUNT Total viewers FROM table WHERE Airdate = 25 October 2012
Translate the following into a SQL query
What was the airdate of the episode with 106000 dave ja vu viewers?
SELECT Airdate FROM table WHERE Dave ja vu Viewers = 106000
Translate the following into a SQL query
How many DVDs where were in the complete collection series 1-8 with extras?
SELECT # of discs FROM table WHERE Release = The Complete Collection Series 1-8 with extras
Translate the following into a SQL query
Which release had 6 DVDs?
SELECT Release FROM table WHERE # of discs = 6
Translate the following into a SQL query
How many region 1's did back to earth have?
SELECT COUNT Region 1 FROM table WHERE Release = Back to Earth
Translate the following into a SQL query
How many field goals did Walter Rheinschild have?
SELECT MAX Field goals FROM table WHERE Player = Walter Rheinschild
Translate the following into a SQL query
Jack Loell had how many extra points?
SELECT Extra points FROM table WHERE Player = Jack Loell
Translate the following into a SQL query
How many points did Donald Green score?
SELECT COUNT Points FROM table WHERE Player = Donald Green
Translate the following into a SQL query
How many field goals did Donald Green score?
SELECT COUNT Field goals FROM table WHERE Player = Donald Green
Translate the following into a SQL query
What was the least amount of points scored?
SELECT MIN Extra points FROM table
Translate the following into a SQL query
How many extra points did Stanfield Wells make?
SELECT COUNT Extra points FROM table WHERE Player = Stanfield Wells
Translate the following into a SQL query
What are the most points listed?
SELECT MAX Points FROM table
Translate the following into a SQL query
How many touchdowns were the when there was more than 1.0 extra point?
SELECT Touchdowns FROM table WHERE Extra points > 1.0
Translate the following into a SQL query
Name the player/s when there were 20 points with less than 1.0 extra point .
SELECT Player FROM table WHERE Extra points < 1.0 AND Points = 20
Translate the following into a SQL query
What were the least amount of field goals when Frederick L. Conklin played?
SELECT MIN Field goals FROM table WHERE Player = Frederick L. Conklin
Translate the following into a SQL query
What is the least number of extra points?
SELECT MIN Extra points FROM table
Translate the following into a SQL query
How many points did William Wasmund have?
SELECT Points FROM table WHERE Player = William Wasmund
Translate the following into a SQL query
How many touchdowns did the player with 10 points have?
SELECT MIN Touchdowns FROM table WHERE Points = 10
Translate the following into a SQL query
How many points does George M. Lawton have?
SELECT MAX Points FROM table WHERE Player = George M. Lawton
Translate the following into a SQL query
Name the player for 1 touchdowns
SELECT Player FROM table WHERE Touchdowns = 1
Translate the following into a SQL query
Name the least extra points
SELECT MIN Extra points FROM table
Translate the following into a SQL query
Name the least extra points
SELECT MIN Extra points FROM table
Translate the following into a SQL query
Who directed episode number 2?
SELECT Director FROM table WHERE No. = 2
Translate the following into a SQL query
What was the episode number that had 797000 viewers?
SELECT No. FROM table WHERE Viewing figure = 797000
Translate the following into a SQL query
Who directed the episode directed by colin teague?
SELECT Writer FROM table WHERE Director = Colin Teague
Translate the following into a SQL query
How many episodes with the production code CA106 are there?
SELECT COUNT Written by FROM table WHERE Production code = CA106
Translate the following into a SQL query
Who was the director for episodes that were written be Matthew Lau?
SELECT Directed by FROM table WHERE Written by = Matthew Lau
Translate the following into a SQL query
How many episode were written by Brett Conrad?
SELECT COUNT Title FROM table WHERE Written by = Brett Conrad
Translate the following into a SQL query
How many episodes were directed by Tim Matheson?
SELECT COUNT Original air date FROM table WHERE Directed by = Tim Matheson
Translate the following into a SQL query
How many episodes were directed by Rod Hardy?
SELECT COUNT Original air date FROM table WHERE Directed by = Rod Hardy
Translate the following into a SQL query
Who wrote the episode with 3.92 million US viewers?
SELECT Written by FROM table WHERE U.S. viewers (million) = 3.92
Translate the following into a SQL query
How many original air dates are there for the episode with code CA210?
SELECT COUNT Original air date FROM table WHERE Production code = CA210
Translate the following into a SQL query
Who directed the episode "The Outsiders"?
SELECT Directed by FROM table WHERE Title = "The Outsiders"
Translate the following into a SQL query
How many episodes had rating/share (18-49) of 0.7/2 and a rating of 2.1?
SELECT COUNT Episode Number FROM table WHERE Rating/Share (18-49) = 0.7/2 AND Rating = 2.1
Translate the following into a SQL query
What is the lowest episode number that had a ratings/share (18-49) of 1.1/3?
SELECT MIN Episode Number FROM table WHERE Rating/Share (18-49) = 1.1/3
Translate the following into a SQL query
What is the rating of the episode with a share of 4 and a rating/share (18-49) of 0.7/2?
SELECT Rating FROM table WHERE Share = 4 AND Rating/Share (18-49) = 0.7/2
Translate the following into a SQL query
What is the lowest rank of an episode with a rating/share (18-49) of 1.3/4?
SELECT MIN Rank (Night) FROM table WHERE Rating/Share (18-49) = 1.3/4
Translate the following into a SQL query
What is the song released by Travis?
SELECT Single FROM table WHERE Artist = Travis
Translate the following into a SQL query
error (see notes)
SELECT MIN Weeks at number 1 FROM table
Translate the following into a SQL query
What is the song by the musician panjabi mc?
SELECT Single FROM table WHERE Artist = Panjabi MC
Translate the following into a SQL query
Where was the round 1 race?
SELECT Location FROM table WHERE Round = 1
Translate the following into a SQL query
Who won the April 11 race?
SELECT Winning driver FROM table WHERE Date = April 11
Translate the following into a SQL query
Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position?
SELECT Location FROM table WHERE Pole position = Daniel Erickson AND Fastest lap = Cole Morgan
Translate the following into a SQL query
How many rounds were played on May 8?
SELECT COUNT Round FROM table WHERE Date = May 8
Translate the following into a SQL query
Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap?
SELECT Pole position FROM table WHERE Fastest lap = Victor Carbone AND Location = Braselton, Georgia
Translate the following into a SQL query
Where did Audette Racing win?
SELECT Location FROM table WHERE Winning team = Audette Racing
Translate the following into a SQL query
Name the directors for peter gawler
SELECT Director(s) FROM table WHERE Writer(s) = Peter Gawler
Translate the following into a SQL query
Name the least episode number for anne brooksbank and vicki madden
SELECT MIN Episode # FROM table WHERE Writer(s) = Anne Brooksbank and Vicki Madden
Translate the following into a SQL query
Name the title for season number 35
SELECT Title FROM table WHERE Season # = 35
Translate the following into a SQL query
What were the points per game in the selection where the rebounds per game were 15.0?
SELECT Points per game FROM table WHERE Rebounds per game = 15.0
Translate the following into a SQL query
What were the blocks per game in the selection where the field goal percentage was .594 (2nd)?
SELECT Blocks per game FROM table WHERE Field goal percentage = .594 (2nd)