instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Where did they play the San Diego Chargers?
SELECT Game site FROM table WHERE Opponent = San Diego Chargers
Translate the following into a SQL query
How many times during the season were the seahawks 8-6?
SELECT COUNT Result FROM table WHERE Record = 8-6
Translate the following into a SQL query
On what day was the team playing at milwaukee county stadium?
SELECT Date FROM table WHERE Game site = Milwaukee County Stadium
Translate the following into a SQL query
How many times did the team play at oakland-alameda county coliseum?
SELECT COUNT Date FROM table WHERE Game site = Oakland-Alameda County Coliseum
Translate the following into a SQL query
Which episode was watched by 11.75 million U.S. viewers?
SELECT Title FROM table WHERE U.S. viewers (millions) = 11.75
Translate the following into a SQL query
How many U.S. viewers, in millions, watched the episode that aired on November 13, 2007?
SELECT U.S. viewers (millions) FROM table WHERE Original air date = November 13, 2007
Translate the following into a SQL query
How many episodes originally aired on April 29, 2008?
SELECT COUNT No. in series FROM table WHERE Original air date = April 29, 2008
Translate the following into a SQL query
How many millions of U.S. viewers watched episode 185?
SELECT U.S. viewers (millions) FROM table WHERE No. in series = 185
Translate the following into a SQL query
Who directed the episode that originally aired on January 15, 2008?
SELECT Directed by FROM table WHERE Original air date = January 15, 2008
Translate the following into a SQL query
How many players weight 95?
SELECT COUNT Player FROM table WHERE Weight = 95
Translate the following into a SQL query
What's Enrique de la Fuente's weight?
SELECT MIN Weight FROM table WHERE Player = Enrique de la Fuente
Translate the following into a SQL query
What was the election date for H. Brent Coles?
SELECT Date of Election FROM table WHERE Appointed Successor = H. Brent Coles
Translate the following into a SQL query
What was the election date for Arthur Hodges?
SELECT Date of Election FROM table WHERE Elected Successor = Arthur Hodges
Translate the following into a SQL query
What is the country for # 8
SELECT Country FROM table WHERE # = 8
Translate the following into a SQL query
what is the country where the player is phil mickelson?
SELECT Country FROM table WHERE Player = Phil Mickelson
Translate the following into a SQL query
What is the highest reset points where the events is 23?
SELECT MAX Reset Points FROM table WHERE Events = 23
Translate the following into a SQL query
What round was held at Knowsley Road, resulting in a lose.
SELECT Round FROM table WHERE Venue = Knowsley Road AND Result = Lose
Translate the following into a SQL query
What's the score of the QF round?
SELECT Score FROM table WHERE Round = QF
Translate the following into a SQL query
How many rounds ended with a score of 16-52?
SELECT COUNT Round FROM table WHERE Score = 16-52
Translate the following into a SQL query
Who was the opponent in round 2?
SELECT Opponent FROM table WHERE Round = 2
Translate the following into a SQL query
When was the game happening at Halton Stadium?
SELECT Date FROM table WHERE Venue = Halton Stadium
Translate the following into a SQL query
What competition ended with a score of 38-14?
SELECT Competition FROM table WHERE Score = 38-14
Translate the following into a SQL query
what's the population with country being chile
SELECT Population FROM table WHERE Country = Chile
Translate the following into a SQL query
what's the s mestizo with asians being 0.2% and whites being 74.8%
SELECT s Mestizo FROM table WHERE Asians = 0.2% AND Whites = 74.8%
Translate the following into a SQL query
what's the country with es mulatto being 3.5%
SELECT Country FROM table WHERE es Mulatto = 3.5%
Translate the following into a SQL query
what's the s mestizo with population being 29461933
SELECT s Mestizo FROM table WHERE Population = 29461933
Translate the following into a SQL query
what's the native american with es mulatto being 0.7%
SELECT Native American FROM table WHERE es Mulatto = 0.7%
Translate the following into a SQL query
how many native american with whites being 1.0%
SELECT COUNT Native American FROM table WHERE Whites = 1.0%
Translate the following into a SQL query
When did the episode directed by David Duchovny originally air?
SELECT Original air date FROM table WHERE Directed by = David Duchovny
Translate the following into a SQL query
What's the title of the episode directed by David von Ancken, with a episode number bigger than 16.0?
SELECT Title FROM table WHERE Directed by = David Von Ancken AND No. in series > 16.0
Translate the following into a SQL query
How many episodes have been directed by David Duchovny?
SELECT COUNT Title FROM table WHERE Directed by = David Duchovny
Translate the following into a SQL query
What's the smallest episode number of an episode whose number in the series is 22?
SELECT MIN No. in season FROM table WHERE No. in series = 22
Translate the following into a SQL query
Name the number of shows when there was 2 million views
SELECT COUNT U.S. viewers (million) FROM table WHERE No. in season = 2
Translate the following into a SQL query
What is the episode number for "here I go again"?
SELECT MIN No. in series FROM table WHERE Title = "Here I Go Again"
Translate the following into a SQL query
what is the original air date for the episoe written by vanessa reisen?
SELECT Original air date FROM table WHERE Written by = Vanessa Reisen
Translate the following into a SQL query
What is the u.s. viewers (million) for the title "the recused"
SELECT U.S. viewers (million) FROM table WHERE Title = "The Recused"
Translate the following into a SQL query
what is the maximum completed for delta bessborough
SELECT MAX Completed FROM table WHERE Building = Delta Bessborough
Translate the following into a SQL query
what is the maximum completed for address on 410 22nd st e
SELECT Completed FROM table WHERE Address = 410 22nd St E
Translate the following into a SQL query
what is the total number of building for address on 201 1st avenue south
SELECT COUNT Building FROM table WHERE Address = 201 1st Avenue South
Translate the following into a SQL query
what are all the building with 12 storeys
SELECT Building FROM table WHERE Storeys = 12
Translate the following into a SQL query
what is the minimum storeys on 325 5th ave n
SELECT MIN Storeys FROM table WHERE Address = 325 5th Ave N
Translate the following into a SQL query
What is the region 2 for the complete fifth series?
SELECT Region 2 FROM table WHERE Complete Series = The Complete Fifth Series
Translate the following into a SQL query
What is the number of region 4 for the series of the complete seventh series?
SELECT COUNT Region 4 FROM table WHERE Complete Series = The Complete Seventh Series
Translate the following into a SQL query
What is the region 1 where region 4 is tba is the complete eighth series?
SELECT Region 1 FROM table WHERE Region 4 = TBA AND Complete Series = The Complete Eighth Series
Translate the following into a SQL query
Name the region 4 for the complete fifth series
SELECT Region 4 FROM table WHERE Complete Series = The Complete Fifth Series
Translate the following into a SQL query
How many tries were against when the number won was 14?
SELECT Tries against FROM table WHERE Won = 14
Translate the following into a SQL query
What was the number of bonus tries when there were 522 points against?
SELECT Try bonus FROM table WHERE Points against = 522
Translate the following into a SQL query
How many numbers were listed under losing bonus when there were 68 tries for?
SELECT COUNT Losing bonus FROM table WHERE Tries for = 68
Translate the following into a SQL query
What amount of points for were there when there was 52 points?
SELECT Points for FROM table WHERE Points = 52
Translate the following into a SQL query
What was the number of points against when the amount won is 10?
SELECT Points against FROM table WHERE Won = 10
Translate the following into a SQL query
What is listed under try bonus when listed under Tries for is tries for?
SELECT Try bonus FROM table WHERE Tries for = Tries for
Translate the following into a SQL query
What is the original date of the repeat air date of 26/01/1969?
SELECT Originalairdate FROM table WHERE Repeatairdate(s) = 26/01/1969
Translate the following into a SQL query
What is the repeat date of the episode that aired 22/12/1968?
SELECT Repeatairdate(s) FROM table WHERE Originalairdate = 22/12/1968
Translate the following into a SQL query
who is the writer of the episode with prod.code 30-17
SELECT Writer(s) FROM table WHERE Prod.Code = 30-17
Translate the following into a SQL query
what is the prod.code of the episode with original air date 01/12/1968?
SELECT COUNT Prod.Code FROM table WHERE Originalairdate = 01/12/1968
Translate the following into a SQL query
In the 2008/2009 season one team had a season total points of 31, for that team how many total points were scored against them?
SELECT Points against FROM table WHERE Points = 31
Translate the following into a SQL query
In the 2008/2009 season one team had 1 losing bonus, How many points did that team score that year?
SELECT Points for FROM table WHERE Losing bonus = 1
Translate the following into a SQL query
In the 2008/2009 season one team had 47 tries against, how many games did they win that year?
SELECT Won FROM table WHERE Tries against = 47
Translate the following into a SQL query
In the 2008/2009 season one team had 39 tries against, how many losing bonuses did they have that year?
SELECT Losing bonus FROM table WHERE Tries against = 39
Translate the following into a SQL query
Who were the candidates when ed markey was the incumbent?
SELECT Candidates FROM table WHERE Incumbent = Ed Markey
Translate the following into a SQL query
How many times was the incumbent mike capuano
SELECT COUNT Result FROM table WHERE Incumbent = Mike Capuano
Translate the following into a SQL query
Who were the candidates when Barney Frank was the incumbent?
SELECT Candidates FROM table WHERE Incumbent = Barney Frank
Translate the following into a SQL query
What was the earliest year someone was first elected from Massachusetts 3
SELECT MIN First elected FROM table WHERE District = Massachusetts 3
Translate the following into a SQL query
What party did incumbent Albert Wynn belong to?
SELECT Party FROM table WHERE Incumbent = Albert Wynn
Translate the following into a SQL query
What was the result of the election in the Maryland 7 district?
SELECT Results FROM table WHERE District = Maryland 7
Translate the following into a SQL query
How many candidates ran in the election where Wayne Gilchrest was the incumbent?
SELECT COUNT Candidates FROM table WHERE Incumbent = Wayne Gilchrest
Translate the following into a SQL query
What were the results in the election where Albert Wynn was the incumbent?
SELECT Results FROM table WHERE Incumbent = Albert Wynn
Translate the following into a SQL query
Who were the candidates in the Maryland 5 district election?
SELECT Candidates FROM table WHERE District = Maryland 5
Translate the following into a SQL query
What district is Henry Hyde in
SELECT District FROM table WHERE Incumbent = Henry Hyde
Translate the following into a SQL query
What year was Luis Gutierrez election
SELECT MIN First elected FROM table WHERE Incumbent = Luis Gutierrez
Translate the following into a SQL query
Which district is Joe Moakley?
SELECT District FROM table WHERE Incumbent = Joe Moakley
Translate the following into a SQL query
What is the lowest first elected?
SELECT MIN First elected FROM table
Translate the following into a SQL query
Name the first election for john mchugh
SELECT COUNT First elected FROM table WHERE Incumbent = John McHugh
Translate the following into a SQL query
Name the results for district new york 24
SELECT Results FROM table WHERE District = New York 24
Translate the following into a SQL query
Name the district for carolyn mccarthy
SELECT District FROM table WHERE Incumbent = Carolyn McCarthy
Translate the following into a SQL query
Name the number of party for new york 29
SELECT COUNT Party FROM table WHERE District = New York 29
Translate the following into a SQL query
Which party does the incumbent first elected in 1994 belong to?
SELECT Party FROM table WHERE First elected = 1994
Translate the following into a SQL query
How many districts have Bart Stupak as the incumbent?
SELECT COUNT District FROM table WHERE Incumbent = Bart Stupak
Translate the following into a SQL query
Who was elected in 1972
SELECT Incumbent FROM table WHERE First elected = 1972
Translate the following into a SQL query
what is the earliest first elected with the results re-elected in the district south carolina 3?
SELECT MAX First elected FROM table WHERE Results = Re-elected AND District = South Carolina 3
Translate the following into a SQL query
what is the party with the incumbent jim demint?
SELECT Party FROM table WHERE Incumbent = Jim DeMint
Translate the following into a SQL query
what is the party for the district south carolina 4?
SELECT Party FROM table WHERE District = South Carolina 4
Translate the following into a SQL query
what is the party when candidates is jim demint (r) 80%?
SELECT Party FROM table WHERE Candidates = Jim DeMint (R) 80%
Translate the following into a SQL query
what is the party when candidates is jim demint (r) 80%?
SELECT Party FROM table WHERE Candidates = Jim DeMint (R) 80%
Translate the following into a SQL query
who are the candidates when the incumbent is lindsey graham?
SELECT Candidates FROM table WHERE Incumbent = Lindsey Graham
Translate the following into a SQL query
What was the results when the incumbent was ernest istook?
SELECT Results FROM table WHERE Incumbent = Ernest Istook
Translate the following into a SQL query
What was the results for the district oklahoma 3?
SELECT Results FROM table WHERE District = Oklahoma 3
Translate the following into a SQL query
How many party were listed for district oklahoma 5?
SELECT COUNT Party FROM table WHERE District = Oklahoma 5
Translate the following into a SQL query
What is the party when the candidates were ernest istook (r) 69% garland mcwatters (d) 28%?
SELECT Party FROM table WHERE Candidates = Ernest Istook (R) 69% Garland McWatters (D) 28%
Translate the following into a SQL query
when was the first elected for districk oklahoma 1?
SELECT First elected FROM table WHERE District = Oklahoma 1
Translate the following into a SQL query
What were the results for the district oklahoma 5?
SELECT Results FROM table WHERE District = Oklahoma 5
Translate the following into a SQL query
How many parties is the incumbent Bob Brady a member of?
SELECT COUNT Party FROM table WHERE Incumbent = Bob Brady
Translate the following into a SQL query
How many candidates were there in the district won by Joe Hoeffel?
SELECT COUNT Candidates FROM table WHERE Incumbent = Joe Hoeffel
Translate the following into a SQL query
Who were the candidates in district Pennsylvania 3?
SELECT Candidates FROM table WHERE District = Pennsylvania 3
Translate the following into a SQL query
What's the first elected year of the district whose incumbent is Jim Greenwood?
SELECT MAX First elected FROM table WHERE Incumbent = Jim Greenwood
Translate the following into a SQL query
What was the result of the election featuring incumbent norman sisisky?
SELECT Results FROM table WHERE Incumbent = Norman Sisisky
Translate the following into a SQL query
Who were the candidates in the district first elected in 1998 whose incumbent ended up being Paul Ryan?
SELECT Candidates FROM table WHERE First elected = 1998 AND Incumbent = Paul Ryan
Translate the following into a SQL query
Who ran in the district elections won by Tom Petri?
SELECT Candidates FROM table WHERE Incumbent = Tom Petri
Translate the following into a SQL query
When was the first election in the district whose incumbent is Ron Kind?
SELECT MIN First elected FROM table WHERE Incumbent = Ron Kind
Translate the following into a SQL query
What year was the first election in the district whose election now was won by Ron Kind?
SELECT MIN First elected FROM table WHERE Incumbent = Ron Kind