instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the losing bonus that had 53 points?
SELECT Losing bonus FROM table WHERE Points = 53
Translate the following into a SQL query
List all points against with a 0 try bonus and points for of 150.
SELECT Points against FROM table WHERE Try bonus = 0 AND Points for = 150
Translate the following into a SQL query
Name the tries against when tries for is 30
SELECT Tries against FROM table WHERE Tries for = 30
Translate the following into a SQL query
Name the points when tries for is 49
SELECT Points FROM table WHERE Tries for = 49
Translate the following into a SQL query
Name the try bonus for lost being 11 and losing bonus is 6
SELECT Try bonus FROM table WHERE Lost = 11 AND Losing bonus = 6
Translate the following into a SQL query
What is the aggregate when the second leg is 1-3?
SELECT Aggregate FROM table WHERE 2nd leg = 1-3
Translate the following into a SQL query
For home of River Plate, what is the first leg listed?
SELECT 1st Leg FROM table WHERE Home (2nd leg) = River Plate
Translate the following into a SQL query
With an aggregate of 0-2, what is listed for home?
SELECT Home (2nd leg) FROM table WHERE Aggregate = 0-2
Translate the following into a SQL query
If the home is Atlético Tucumán, what is the name of the first leg?
SELECT 1st Leg FROM table WHERE Home (2nd leg) = Atlético Tucumán
Translate the following into a SQL query
If second leg is Newell's Old Boys, what name is first leg?
SELECT 1st Leg FROM table WHERE Home (2nd leg) = Newell's Old Boys
Translate the following into a SQL query
What is the chinese name for whom chan chi-yuen, paul is listed as the romanised name?
SELECT Chinese name FROM table WHERE Romanised name = Chan Chi-yuen, Paul
Translate the following into a SQL query
The name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to?
SELECT Foreign nationality FROM table WHERE Romanised name = Cheung, Raymond Man-to
Translate the following into a SQL query
For the chinese name 盧奕基 how many in total is the govt salary?
SELECT COUNT Govt salary FROM table WHERE Chinese name = 盧奕基
Translate the following into a SQL query
For the name romanised name is lo yik-kee, victor what is the total number foreign nationality that is listed?
SELECT COUNT Foreign nationality FROM table WHERE Romanised name = Lo Yik-kee, Victor
Translate the following into a SQL query
For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name.
SELECT Romanised name FROM table WHERE Prior occupation = Assistant Police Commissioner (ret'd)
Translate the following into a SQL query
Name the most played when points is 105
SELECT MAX Played FROM table WHERE Points = 105
Translate the following into a SQL query
Name the total number of points for newell's old boys
SELECT COUNT Points FROM table WHERE Team = Newell's Old Boys
Translate the following into a SQL query
Name the points for 1992-93 for 42
SELECT Points FROM table WHERE 1992-93 = 42
Translate the following into a SQL query
If the aggregate is 3-4, what is the first leg?
SELECT Home (1st leg) FROM table WHERE Aggregate = 3-4
Translate the following into a SQL query
If the second leg is Instituto, what is the total number of aggregate?
SELECT COUNT Aggregate FROM table WHERE Home (2nd leg) = Instituto
Translate the following into a SQL query
If the second leg is 1-1, what is the first leg?
SELECT Home (1st leg) FROM table WHERE 2nd leg = 1-1
Translate the following into a SQL query
If the second leg is 3-2, what is the first leg?
SELECT Home (1st leg) FROM table WHERE 2nd leg = 3-2
Translate the following into a SQL query
If the second leg is 1-1, what is the first leg?
SELECT 1st Leg FROM table WHERE 2nd leg = 1-1
Translate the following into a SQL query
How many games were played by the Vélez Sársfield team from 1989-90?
SELECT 1989-90 FROM table WHERE Team = Vélez Sársfield
Translate the following into a SQL query
What was the average of the team if they played 31 games from 1990-1991?
SELECT Average FROM table WHERE 1990-1991 = 31
Translate the following into a SQL query
What was the team that scored 122 points?
SELECT Team FROM table WHERE Points = 122
Translate the following into a SQL query
What was the average if the game played during 1990-91 is 40 and the points are less than 121.0?
SELECT Average FROM table WHERE 1990-1991 = 40 AND Points < 121.0
Translate the following into a SQL query
What is the opponent played on October 4?
SELECT Opponent FROM table WHERE Date = October 4
Translate the following into a SQL query
Where is riverfront stadium the game site for the week?
SELECT MIN Week FROM table WHERE Game site = Riverfront Stadium
Translate the following into a SQL query
How many number of lakes are there in the Valdez-Cordova (CA) area?
SELECT MIN # s Lake and GNIS query Link FROM table WHERE Borough or Census area = Valdez-Cordova (CA)
Translate the following into a SQL query
What was the comment on the Denali area?
SELECT Comment FROM table WHERE Borough or Census area = Denali
Translate the following into a SQL query
How many dams are there in the Lake and Peninsula area?
SELECT MAX # s Dam and GNIS query Link FROM table WHERE Borough or Census area = Lake and Peninsula
Translate the following into a SQL query
How many dams are there in the Nome (CA) area?
SELECT MIN # s Dam and GNIS query Link FROM table WHERE Borough or Census area = Nome (CA)
Translate the following into a SQL query
How many comments are there in the Bethel (CA) Borough area?
SELECT COUNT Comment FROM table WHERE Borough or Census area = Bethel (CA)
Translate the following into a SQL query
How many total numbers of attendance are there during the game in October 27?
SELECT COUNT Attendance FROM table WHERE Date = October 27
Translate the following into a SQL query
What was the game record when the opponent was 'at Los Angeles Raiders'?
SELECT Record FROM table WHERE Opponent = at Los Angeles Raiders
Translate the following into a SQL query
When was the game played when the opponent was 'at Los Angeles Rams'?
SELECT Date FROM table WHERE Opponent = at Los Angeles Rams
Translate the following into a SQL query
How many total number of attendance were there when the game was held in Anaheim Stadium?
SELECT COUNT Attendance FROM table WHERE Game site = Anaheim Stadium
Translate the following into a SQL query
How many were in attendance when the game was held in Arrowhead Stadium?
SELECT MIN Attendance FROM table WHERE Game site = Arrowhead Stadium
Translate the following into a SQL query
What is the highest position a team with 7 draws earned?
SELECT MAX Position FROM table WHERE Draws = 7
Translate the following into a SQL query
Name the original air date for ai% for 83
SELECT Original air date FROM table WHERE AI (%) = 83
Translate the following into a SQL query
Name the story number for paul cornell
SELECT Story No. FROM table WHERE Written by = Paul Cornell
Translate the following into a SQL query
Name the total number directed by for uk viewers being 6.86
SELECT COUNT Directed by FROM table WHERE UK viewers (million) = 6.86
Translate the following into a SQL query
Name the least ai %
SELECT MIN AI (%) FROM table
Translate the following into a SQL query
What is the highest number of games played?
SELECT MAX Games played FROM table
Translate the following into a SQL query
In the game with 31 points, how many goals were conceded?
SELECT COUNT Goals conceded FROM table WHERE Points = 31
Translate the following into a SQL query
How many games had 22 points?
SELECT COUNT Games played FROM table WHERE Points = 22
Translate the following into a SQL query
How many wins had 58 goals scored?
SELECT Wins FROM table WHERE Goals scored = 58
Translate the following into a SQL query
How many clubs had 29 points?
SELECT COUNT Club FROM table WHERE Points = 29
Translate the following into a SQL query
Which clubs had draws of 9?
SELECT Club FROM table WHERE Draws = 9
Translate the following into a SQL query
How many draws were there when the conceded goals was numbered at 45?
SELECT COUNT Draws FROM table WHERE Goals conceded = 45
Translate the following into a SQL query
What is the least amount of games played with 21 losses?
SELECT MIN Games played FROM table WHERE Loses = 21
Translate the following into a SQL query
How many games did each team played?
SELECT MIN Games played FROM table
Translate the following into a SQL query
HOw many points where there when the number of goals scored was 47?
SELECT MAX Points FROM table WHERE Goals scored = 47
Translate the following into a SQL query
How many goals were scored by club team fm (losc) vilnius
SELECT Goals scored FROM table WHERE Club = FM (LOSC) Vilnius
Translate the following into a SQL query
How many losses occurred when the club team was ekranas-2 panevėžys
SELECT MAX Loses FROM table WHERE Club = Ekranas-2 Panevėžys
Translate the following into a SQL query
What was the highest number of wins for any team?
SELECT MAX Wins FROM table
Translate the following into a SQL query
What is the June 22 ncaat baseball record for Fresno State Bulldogs?
SELECT NCAAT Record FROM table WHERE Date = June 22
Translate the following into a SQL query
How many saves were in the Georgia game, versus the Bulldogs, with a score of 7-6?
SELECT Save FROM table WHERE Score = 7-6
Translate the following into a SQL query
What is the June 21 ncaat baseball record for Fresno State Bulldogs?
SELECT NCAAT Record FROM table WHERE Date = June 21
Translate the following into a SQL query
What is the Papal name of the Pope announced as Ioannis Pauli Primi?
SELECT Papal Name FROM table WHERE Papal Name As Announced in Latin = Ioannis Pauli primi
Translate the following into a SQL query
What is the announced birth name of the pope whose numeral is not given and whose latin declension is genitive?
SELECT Birth Name As Announced in Latin (Accusative case Forename Undeclined Surname) FROM table WHERE Numeral in Papal Name = not given AND Latin declension of Papal Name = genitive
Translate the following into a SQL query
What pope was announced in latin as Pium?
SELECT Papal Name FROM table WHERE Papal Name As Announced in Latin = Pium
Translate the following into a SQL query
What is the latin birth name of the pope announced as Ioannis Pauli Primi?
SELECT Birth Name As Announced in Latin (Accusative case Forename Undeclined Surname) FROM table WHERE Papal Name As Announced in Latin = Ioannis Pauli primi
Translate the following into a SQL query
how many times did estudiantes de la plata participate in 2008 suruga bank championship
SELECT COUNT 2008 Suruga Bank Championship FROM table WHERE Team / Competition = Estudiantes de La Plata
Translate the following into a SQL query
How did the team which was first round eliminated by estudiantes do in 2008 recopa sudamericana
SELECT 2008 Recopa Sudamericana FROM table WHERE 2008 Copa Sudamericana = First Round eliminated by Estudiantes
Translate the following into a SQL query
how many teams were first round eliminated by estudiantes in 2008 copa sudamericana
SELECT COUNT 2008 Suruga Bank Championship FROM table WHERE 2008 Copa Sudamericana = First Round eliminated by Estudiantes
Translate the following into a SQL query
What date was the match against Morocco played?
SELECT Date FROM table WHERE Against = Morocco
Translate the following into a SQL query
What country did Gil play against on 21–23 september 2007?
SELECT Against FROM table WHERE Date = 21–23 September 2007
Translate the following into a SQL query
Who was Gil's partner on 10–12 july 2009
SELECT Partnering FROM table WHERE Date = 10–12 July 2009
Translate the following into a SQL query
Where was the successor formally installed on December 3, 1858?
SELECT State (class) FROM table WHERE Date of successors formal installation = December 3, 1858
Translate the following into a SQL query
Why did the change happen in the state where the formal installation happen on February 14, 1859?
SELECT Reason for change FROM table WHERE Date of successors formal installation = February 14, 1859
Translate the following into a SQL query
Name the vacator for tennessee 1st
SELECT Vacator FROM table WHERE District = Tennessee 1st
Translate the following into a SQL query
If the passengers are 15,505,566, what is the iata code?
SELECT IATA Code FROM table WHERE Passengers = 15,505,566
Translate the following into a SQL query
If the location is Chicago, Illinois, what is the airport name?
SELECT Airport Name FROM table WHERE Location = Chicago, Illinois
Translate the following into a SQL query
If the amount of passengers is 15,505,566, what is the %/chg. for 2009/10?
SELECT % Chg. 2009/10 FROM table WHERE Passengers = 15,505,566
Translate the following into a SQL query
What university did Steve Hoar attend.
SELECT Alma Mater FROM table WHERE Player = Steve Hoar
Translate the following into a SQL query
List the plats that attended Wilfrid Laurier University.
SELECT Player FROM table WHERE Alma Mater = Wilfrid Laurier University
Translate the following into a SQL query
List all the international lacrosse league competitions for Toronto Rock.
SELECT International Competition FROM table WHERE National Lacrosse League = Toronto Rock
Translate the following into a SQL query
List all of the NLL Toronto Rock players.
SELECT Player FROM table WHERE National Lacrosse League = Toronto Rock
Translate the following into a SQL query
What rank is the airport whose IATA Code is JFK?
SELECT Rank FROM table WHERE IATA Code = JFK
Translate the following into a SQL query
Which airport has an IATA Code of ORD?
SELECT Airport Name FROM table WHERE IATA Code = ORD
Translate the following into a SQL query
Louisville International Airport had how many tonnes of cargo in 2011?
SELECT Tonnes FROM table WHERE Airport Name = Louisville International Airport
Translate the following into a SQL query
How many tonnes of cargo did the airport have with the IATA Code IND?
SELECT Tonnes FROM table WHERE IATA Code = IND
Translate the following into a SQL query
Who is the incumbent democratic party in district florida 11?
SELECT Incumbent FROM table WHERE Party = Democratic AND District = Florida 11
Translate the following into a SQL query
In which district is the first elected 2000?
SELECT District FROM table WHERE First elected = 2000
Translate the following into a SQL query
When is the first elected in the Florida 19 district?
SELECT First elected FROM table WHERE District = Florida 19
Translate the following into a SQL query
What are the results of incumbent dave weldon?
SELECT COUNT Results FROM table WHERE Incumbent = Dave Weldon
Translate the following into a SQL query
How many districts have the incumbent, Charles Rangel?
SELECT COUNT District FROM table WHERE Incumbent = Charles Rangel
Translate the following into a SQL query
What is the party affiliation of New York 26?
SELECT Party FROM table WHERE District = New York 26
Translate the following into a SQL query
In the district of Pennsylvania 1, what is the total number of political parties?
SELECT COUNT Party FROM table WHERE District = Pennsylvania 1
Translate the following into a SQL query
What year was Tim Holden first elected?
SELECT MIN First elected FROM table WHERE Incumbent = Tim Holden
Translate the following into a SQL query
How many parties were first elected in 1994?
SELECT COUNT Party FROM table WHERE First elected = 1994
Translate the following into a SQL query
In district Pennsylvania 11, what was the total numbers of results?
SELECT COUNT Results FROM table WHERE District = Pennsylvania 11
Translate the following into a SQL query
During what year was Representative Spencer Bachus first elected?
SELECT COUNT First elected FROM table WHERE Incumbent = Spencer Bachus
Translate the following into a SQL query
What is the party affiliation of the incumbent Robert Cramer?
SELECT Party FROM table WHERE Incumbent = Robert Cramer
Translate the following into a SQL query
Who is the incumbent in the Washington 1 district?
SELECT Incumbent FROM table WHERE District = Washington 1
Translate the following into a SQL query
How many categories of first elected are in Washington 4 district?
SELECT COUNT First elected FROM table WHERE District = Washington 4
Translate the following into a SQL query
What was the result in the election where the date of first elected was 2000?
SELECT Results FROM table WHERE First elected = 2000
Translate the following into a SQL query
Who directed the episode titled "Smells Like Teen Sellout"?
SELECT Directed by FROM table WHERE Title = "Smells Like Teen Sellout"