instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What episode in the season was "easy as pie"?
SELECT MIN No. in season FROM table WHERE Title = "Easy as Pie"
Translate the following into a SQL query
What in the series number of the episode written by Lauren Gussis?
SELECT MIN No. in series FROM table WHERE Written by = Lauren Gussis
Translate the following into a SQL query
On how many different dates did the episode directed by Marcos Siega and written by Scott Buck air for the first time?
SELECT COUNT Original air date FROM table WHERE Directed by = Marcos Siega AND Written by = Scott Buck
Translate the following into a SQL query
Who was the director of the episode called "If I had a hammer"?
SELECT Directed by FROM table WHERE Title = "If I Had a Hammer"
Translate the following into a SQL query
What's the series number of the episode written by Tim Schlattmann?
SELECT MIN No. in series FROM table WHERE Written by = Tim Schlattmann
Translate the following into a SQL query
Who played in the semi finals matches at the Buick WCT finals?
SELECT Semifinal Matches FROM table WHERE Commercial Name = Buick WCT Finals
Translate the following into a SQL query
Name the date for l 28–15
SELECT Date FROM table WHERE Final Score = L 28–15
Translate the following into a SQL query
When tiger-cats is the opponent what is the location?
SELECT Location FROM table WHERE Opponent = Tiger-Cats
Translate the following into a SQL query
When 4 is the week what is the location?
SELECT Location FROM table WHERE Week = 4
Translate the following into a SQL query
What was the record for the Argonauts on September 7?
SELECT Record FROM table WHERE Date = September 7
Translate the following into a SQL query
What is he smallest numbered week?
SELECT MIN Week FROM table
Translate the following into a SQL query
How many violines are suggested in the "Arranged by Nelson Riddle" reference with section size of 12 players?
SELECT Violins FROM table WHERE Reference = "Arranged By Nelson Riddle" AND Section Size = 12 players
Translate the following into a SQL query
How many cellos are suggested in the reference with section size for 20 players?
SELECT Celli FROM table WHERE Section Size = 20 players
Translate the following into a SQL query
What reference, written by Nelson Riddle, suggests 2 violas?
SELECT Reference FROM table WHERE Violas = 2 AND Author = Nelson Riddle
Translate the following into a SQL query
What is the biggest number of basses suggested in either one of the references?
SELECT MAX Basses FROM table
Translate the following into a SQL query
What is Stella Farentino's current relationship status?
SELECT Current Marital Status FROM table WHERE Name = Stella Farentino
Translate the following into a SQL query
How many children did Dennis Hawley have at his time of death?
SELECT Children Together FROM table WHERE Deceased Spouse = Dennis Hawley
Translate the following into a SQL query
How did Stella Farentino die?
SELECT Cause of Death FROM table WHERE Name = Stella Farentino
Translate the following into a SQL query
What was the cause of death in the marriage that lasted 28 years?
SELECT Cause of Death FROM table WHERE Length of Marriage = 28 years
Translate the following into a SQL query
How long were Ray Bradbury and his wife married?
SELECT Length of Marriage FROM table WHERE Name = Ray Bradbury
Translate the following into a SQL query
Name the name for deceased spouse being louis malle
SELECT Name FROM table WHERE Deceased Spouse = Louis Malle
Translate the following into a SQL query
Name the deceased spouse for length of marriage being 24 years
SELECT Deceased Spouse FROM table WHERE Length of Marriage = 24 years
Translate the following into a SQL query
Name the decease spouse for carol deluise
SELECT Deceased Spouse FROM table WHERE Name = Carol DeLuise
Translate the following into a SQL query
Name the children together for 9 years of marriage
SELECT Children Together FROM table WHERE Length of Marriage = 9 years
Translate the following into a SQL query
Who was the deceased spouse who was married for 4 years?
SELECT Deceased Spouse FROM table WHERE Length of Marriage = 4 years
Translate the following into a SQL query
Who were the children of Benjamin Harrison?
SELECT Children Together FROM table WHERE Name = Benjamin Harrison
Translate the following into a SQL query
Name the segment 1 for episode # 2/225
SELECT Segment 1 FROM table WHERE Episode # = 2/225
Translate the following into a SQL query
Name the lessons taught for episode # 2/205
SELECT Lessons taught FROM table WHERE Episode # = 2/205
Translate the following into a SQL query
What state had william bigler (d) as a successor)
SELECT State (class) FROM table WHERE Successor = William Bigler (D)
Translate the following into a SQL query
Name the date successor seated for successor being vacant
SELECT Date successor seated FROM table WHERE Successor = Vacant
Translate the following into a SQL query
Name the vacator for kentucky 2nd
SELECT Vacator FROM table WHERE District = Kentucky 2nd
Translate the following into a SQL query
Name the successor for election was successfully contested july 30, 1861
SELECT Successor FROM table WHERE Reason for change = Election was successfully contested July 30, 1861
Translate the following into a SQL query
Name the successor for vacant and december 3, 1862
SELECT Successor FROM table WHERE Reason for change = Vacant AND Date successor seated = December 3, 1862
Translate the following into a SQL query
What was the vacator for georgia 2nd?
SELECT Vacator FROM table WHERE District = Georgia 2nd
Translate the following into a SQL query
What was the successor for vacant alabama 3rd?
SELECT Successor FROM table WHERE Vacator = Vacant AND District = Alabama 3rd
Translate the following into a SQL query
Who was the successor for vacant louisiana 5th
SELECT Successor FROM table WHERE Vacator = Vacant AND District = Louisiana 5th
Translate the following into a SQL query
Who were the successors when the date the successors were installed was February 23, 1870?
SELECT Successor FROM table WHERE Date of successors formal installation = February 23, 1870
Translate the following into a SQL query
Who was the vacator when the successor was formally installed on February 1, 1871?
SELECT Vacator FROM table WHERE Date of successors formal installation = February 1, 1871
Translate the following into a SQL query
Who was the successor that was formally installed on March 30, 1870?
SELECT Successor FROM table WHERE Date of successors formal installation = March 30, 1870
Translate the following into a SQL query
When did Orville H. Browning (r) succeed?
SELECT Date of successors formal installation FROM table WHERE Successor = Orville H. Browning (R)
Translate the following into a SQL query
List all dates of succession in the state class Missouri (3).
SELECT Date of successors formal installation FROM table WHERE State (class) = Missouri (3)
Translate the following into a SQL query
List the number of vacators when successors were formally installed on June 22, 1868.
SELECT COUNT Vacator FROM table WHERE Date of successors formal installation = June 22, 1868
Translate the following into a SQL query
List all state classes when successors were formally installed on June 22, 1868.
SELECT State (class) FROM table WHERE Date of successors formal installation = June 22, 1868
Translate the following into a SQL query
What was the reason for change to the successor that was seated on December 13, 1880?
SELECT Reason for change FROM table WHERE Date successor seated = December 13, 1880
Translate the following into a SQL query
When the person died May 22, 1895 is the reason for vacancy what is the district?
SELECT District FROM table WHERE Reason for Vacancy = Died May 22, 1895
Translate the following into a SQL query
When frederick remann (r) is the vacator what is the reason for vacancy?
SELECT Reason for Vacancy FROM table WHERE Vacator = Frederick Remann (R)
Translate the following into a SQL query
When rudolph kleberg (d) is the successor is the reason for vacancy?
SELECT Reason for Vacancy FROM table WHERE Successor = Rudolph Kleberg (D)
Translate the following into a SQL query
When massachusetts 6th is the district what is the reason for vacancy?
SELECT Reason for Vacancy FROM table WHERE District = Massachusetts 6th
Translate the following into a SQL query
When rudolph kleberg (d) is the successor what is the date of successors taking office?
SELECT Date of successors taking office FROM table WHERE Successor = Rudolph Kleberg (D)
Translate the following into a SQL query
What geographical region is the province distrito nacional located in?
SELECT Geographical Regions FROM table WHERE Province, Community = Distrito Nacional
Translate the following into a SQL query
What geographical region is contestant laura jiménez ynoa from?
SELECT Geographical Regions FROM table WHERE Contestant = Laura Jiménez Ynoa
Translate the following into a SQL query
How many hometowns have a height of m (ft 10 1⁄2 in)?
SELECT COUNT Hometown FROM table WHERE Height = m (ft 10 1⁄2 in)
Translate the following into a SQL query
Which contestant is from the province of baoruco
SELECT Contestant FROM table WHERE Province, Community = Baoruco
Translate the following into a SQL query
How old is the person with the height of m (ft 3⁄4 in)?
SELECT Age FROM table WHERE Height = m (ft 3⁄4 in)
Translate the following into a SQL query
What was the number of viewers in millions for the broadcast from 2010?
SELECT Viewers (millions) FROM table WHERE Broadcast Date = 2010
Translate the following into a SQL query
Who starred in episode 3?
SELECT Starring FROM table WHERE Episode = 3
Translate the following into a SQL query
How many episodes were broadcast in 2010?
SELECT COUNT Episode FROM table WHERE Broadcast Date = 2010
Translate the following into a SQL query
Who was the radio 1 presenter for the broadcast that had 9.73 million viewers?
SELECT Radio 1 Presenter FROM table WHERE Viewers (millions) = 9.73
Translate the following into a SQL query
Name the powertrain for kmd and c40lf
SELECT Powertrain (Engine/Transmission) FROM table WHERE Division = KMD AND Model = C40LF
Translate the following into a SQL query
Name the division for detroit diesel series 50egr allison wb-400r
SELECT Division FROM table WHERE Powertrain (Engine/Transmission) = Detroit Diesel Series 50EGR Allison WB-400R
Translate the following into a SQL query
Name the manufacturer for 2011
SELECT Manufacturer FROM table WHERE Order Year = 2011
Translate the following into a SQL query
List the number of locations for the team known as the billikens.
SELECT COUNT Location FROM table WHERE Nickname = Billikens
Translate the following into a SQL query
How many people are enrolled at the university in milwaukee, wisconsin
SELECT MIN Enrollment FROM table WHERE Location = Milwaukee, Wisconsin
Translate the following into a SQL query
In what year did the teams leave the conference?
SELECT MAX Left FROM table
Translate the following into a SQL query
What university team is referred to as the tigers?
SELECT Institution FROM table WHERE Nickname = Tigers
Translate the following into a SQL query
When 43.048° n is the latitude what is the magnitude?
SELECT Magnitude FROM table WHERE Latitude = 43.048° N
Translate the following into a SQL query
When 9:47:38 is the time (utc) how many measurements of latitude are there?
SELECT COUNT Latitude FROM table WHERE Time (UTC) = 9:47:38
Translate the following into a SQL query
When 42.903° n is the latitude how many measurements of longitude are there?
SELECT COUNT Longitude FROM table WHERE Latitude = 42.903° N
Translate the following into a SQL query
When 11:40:26 is the time (utc) what is the depth?
SELECT Depth FROM table WHERE Time (UTC) = 11:40:26
Translate the following into a SQL query
Who is every main presenter for the year 2011?
SELECT Main presenter FROM table WHERE Year premiered = 2011
Translate the following into a SQL query
Who is every main presenter for the Estonia region/country?
SELECT Main presenter FROM table WHERE Region/Country = Estonia
Translate the following into a SQL query
What is the highest year premiered for the TV2 network when main present is øyvind mund?
SELECT MAX Year premiered FROM table WHERE Network = TV2 AND Main presenter = Øyvind Mund
Translate the following into a SQL query
How many years premiered have Sa Beining as main presenter?
SELECT COUNT Year premiered FROM table WHERE Main presenter = Sa Beining
Translate the following into a SQL query
What is every year premiered when Behzat Uighur is main presenter?
SELECT Year premiered FROM table WHERE Main presenter = Behzat Uighur
Translate the following into a SQL query
What is the highest year premiered when Benjamin Castaldi is main presenter?
SELECT MAX Year premiered FROM table WHERE Main presenter = Benjamin Castaldi
Translate the following into a SQL query
Name the episode number for tasers and mind erasers
SELECT Episode number Production number FROM table WHERE Title = Tasers and Mind Erasers
Translate the following into a SQL query
Name the original air date for 7 1-07
SELECT Original airdate FROM table WHERE Episode number Production number = 7 1-07
Translate the following into a SQL query
Name the total viewers on hallmark for pilot
SELECT Total viewers on Hallmark+1 FROM table WHERE Title = Pilot
Translate the following into a SQL query
Name the rank on channel mooning and crooning
SELECT Rank on channel FROM table WHERE Title = Mooning and Crooning
Translate the following into a SQL query
Name the rank on channel for pilot
SELECT Rank on channel FROM table WHERE Title = Pilot
Translate the following into a SQL query
What is the manner of departure for the team racing santander?
SELECT Manner of departure FROM table WHERE Team = Racing Santander
Translate the following into a SQL query
Who replaced on the date of appointment 2 november 2010?
SELECT Replaced by FROM table WHERE Date of appointment = 2 November 2010
Translate the following into a SQL query
What is the team for the position in table 19th?
SELECT Team FROM table WHERE Position in table = 19th
Translate the following into a SQL query
What is the team that the replaced by is miroslav đukić?
SELECT Team FROM table WHERE Replaced by = Miroslav Đukić
Translate the following into a SQL query
How many times was the date of vacancy 14 february 2011?
SELECT COUNT Position in table FROM table WHERE Date of vacancy = 14 February 2011
Translate the following into a SQL query
what is the date of appointment for the team osasuna?
SELECT Date of appointment FROM table WHERE Team = Osasuna
Translate the following into a SQL query
What is the lowest amount of L in any season?
SELECT MIN L FROM table
Translate the following into a SQL query
What was the L in the season where Levi Wright had the most runs?
SELECT L FROM table WHERE Most runs = Levi Wright
Translate the following into a SQL query
Name the total number of votes for 3rd voted out day 9
SELECT COUNT Vote FROM table WHERE Finish = 3rd Voted Out Day 9
Translate the following into a SQL query
Name the eliminated 7th voted out day 21
SELECT Eliminated FROM table WHERE Finish = 7th Voted Out Day 21
Translate the following into a SQL query
Name the vote for thiago
SELECT Vote FROM table WHERE Eliminated = Thiago
Translate the following into a SQL query
Name the vote for 9th voted out day 22
SELECT Vote FROM table WHERE Finish = 9th Voted Out Day 22
Translate the following into a SQL query
Name the reward eliminated hilca
SELECT Reward FROM table WHERE Eliminated = Hilca
Translate the following into a SQL query
When the country is vest, what were the exports?
SELECT Exports (US$ mil) FROM table WHERE County = Vest
Translate the following into a SQL query
What was the major version when the webkit version was 528.17?
SELECT Major version FROM table WHERE WebKit version = 528.17
Translate the following into a SQL query
List major versions released on May 12, 2009, that had a minor version of 3.2.3.
SELECT Major version FROM table WHERE Release date = May 12, 2009 AND Minor version = 3.2.3
Translate the following into a SQL query
What was the minor version released on April 16, 2008?
SELECT Minor version FROM table WHERE Release date = April 16, 2008
Translate the following into a SQL query
List all webkit versions when the major version was Safari 3, and the minor version was 3.1.2.
SELECT WebKit version FROM table WHERE Major version = Safari 3 AND Minor version = 3.1.2
Translate the following into a SQL query
List all OS's with a webkit version of 525.29.1.
SELECT Operating System FROM table WHERE WebKit version = 525.29.1
Translate the following into a SQL query
What is the webkit version when the minor version was 3.1.2.?
SELECT WebKit version FROM table WHERE Minor version = 3.1.2