instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
With a record of 43-26, what was the score that game?
SELECT Score FROM table WHERE Record = 43-26
Translate the following into a SQL query
On June 8, what's the loss when the Blue Jays played the Tigers?
SELECT Loss FROM table WHERE Opponent = tigers AND Date = june 8
Translate the following into a SQL query
What date was the record 38-22?
SELECT Date FROM table WHERE Record = 38-22
Translate the following into a SQL query
The game that had a record of 39-25, what was the score?
SELECT Score FROM table WHERE Record = 39-25
Translate the following into a SQL query
Which runner-up has a 10 strokes margin of victory?
SELECT Runner-up FROM table WHERE Margin of victory = 10 strokes
Translate the following into a SQL query
Which of the events only lasted no more than 0:55?
SELECT Event FROM table WHERE Time = 0:55
Translate the following into a SQL query
Which event only lasted for 3 rounds against Fernando Terere?
SELECT Event FROM table WHERE Round = 3 AND Opponent = fernando terere
Translate the following into a SQL query
What is the Primary Sponsor for the team owned by Randy Humphrey?
SELECT Primary Sponsor(s) FROM table WHERE Owner(s) = randy humphrey
Translate the following into a SQL query
Who is the Driver on Bob Keselowski's team?
SELECT Driver(s) FROM table WHERE Owner(s) = bob keselowski
Translate the following into a SQL query
Walter Giles is Crew Chief of what team?
SELECT Team FROM table WHERE Crew Chief = walter giles
Translate the following into a SQL query
What club does the stadium stc krymteplitsia belong to?
SELECT Club FROM table WHERE Stadium = stc krymteplitsia
Translate the following into a SQL query
What was Tony Bettenhausen's qualifying time in 1947?
SELECT Qual FROM table WHERE Year = 1947
Translate the following into a SQL query
Which year did Tony Bettenhausen complete more than 200 laps?
SELECT Year FROM table WHERE Laps > 200
Translate the following into a SQL query
What was the value in 2006 when 2003 was not held and 2012 was A?
SELECT 2006 FROM table WHERE 2003 = not held AND 2012 = a
Translate the following into a SQL query
What was the 2008 value when 2012 was Grand Slam Tournaments?
SELECT 2008 FROM table WHERE 2012 = grand slam tournaments
Translate the following into a SQL query
What was the value in 2008 when 2012 was 1R, 2010 was A, and 2005 was A?
SELECT 2008 FROM table WHERE 2012 = 1r AND 2010 = a AND 2005 = a
Translate the following into a SQL query
What was the value in 2003 when 2006 was WTA Premier Mandatory Tournaments?
SELECT 2003 FROM table WHERE 2006 = wta premier mandatory tournaments
Translate the following into a SQL query
What was the value in 2009 when 2005 was A for the Australian Open?
SELECT 2009 FROM table WHERE 2005 = a AND Tournament = australian open
Translate the following into a SQL query
What was the value in 2012 when 2002 was Q1 and 2010 was 1R?
SELECT 2012 FROM table WHERE 2002 = q1 AND 2010 = 1r
Translate the following into a SQL query
What type has a GNIS ID of 1139805
SELECT type FROM table WHERE GNIS ID = 1139805
Translate the following into a SQL query
Which name has a USGS Map of clear lake?
SELECT name FROM table WHERE USGS Map = clear lake
Translate the following into a SQL query
What is the status of Norris?
SELECT Status FROM table WHERE Name = norris
Translate the following into a SQL query
What is the source for Laird?
SELECT Source FROM table WHERE Name = laird
Translate the following into a SQL query
What 1958 CIE is class s?
SELECT 1958 CIÉ FROM table WHERE Class = s
Translate the following into a SQL query
What day withdrawn is associated with fleet numbers of 12, 25, 42–46, 50, 70–71, 74–77, 106–107, 129?
SELECT Date withdrawn FROM table WHERE Fleet numbers = 12, 25, 42–46, 50, 70–71, 74–77, 106–107, 129
Translate the following into a SQL query
Which player has a score of 74-74-73-70=291?
SELECT Player FROM table WHERE Score = 74-74-73-70=291
Translate the following into a SQL query
What is the average earnings of a United States player who had a score of 72-68-74-72=286?
SELECT AVG Earnings ( $ ) FROM table WHERE Country = united states AND Score = 72-68-74-72=286
Translate the following into a SQL query
What was the attendance at the game that had a loss of Mercker (3-1)?
SELECT Attendance FROM table WHERE Loss = mercker (3-1)
Translate the following into a SQL query
What was the attendance at the game that had a loss of Ayala (6-12)?
SELECT Attendance FROM table WHERE Loss = ayala (6-12)
Translate the following into a SQL query
What was the loss of the game that had a score of 9-7?
SELECT Loss FROM table WHERE Score = 9-7
Translate the following into a SQL query
What was the loss of the game attended by 14,691?
SELECT Loss FROM table WHERE Attendance = 14,691
Translate the following into a SQL query
What was the loss of the game attended by 29,704?
SELECT Loss FROM table WHERE Attendance = 29,704
Translate the following into a SQL query
What is the Winner, when the Location is Clemson, SC, and when the Date is November 17, 2012?
SELECT Winner FROM table WHERE Location = clemson, sc AND Date = november 17, 2012
Translate the following into a SQL query
What is the Location, when the Score is 38-29?
SELECT Location FROM table WHERE Score = 38-29
Translate the following into a SQL query
What is the Location, when the Score is 35-31?
SELECT Location FROM table WHERE Score = 35-31
Translate the following into a SQL query
What is the Score, when the Location is Clemson, SC, when the Winner is Clemson, and when the Date is November 11, 2006?
SELECT Score FROM table WHERE Location = clemson, sc AND Winner = clemson AND Date = november 11, 2006
Translate the following into a SQL query
What year did finish 1st in LMP1 class?
SELECT AVG Year FROM table WHERE Class = lmp1 AND Class Pos. = 1st
Translate the following into a SQL query
What was the game result on November 16, 1969?
SELECT Result FROM table WHERE Date = november 16, 1969
Translate the following into a SQL query
What is the general classification of stage 3
SELECT General classification FROM table WHERE Stage = 3
Translate the following into a SQL query
How many points did lech piasecki, stephen roche, and carrera jeans-vagabond have?
SELECT Points classification FROM table WHERE Young rider classification = lech piasecki AND General classification = stephen roche AND Winner = carrera jeans-vagabond
Translate the following into a SQL query
What venue was the 11 September 2012 game?
SELECT Venue FROM table WHERE Date = 11 september 2012
Translate the following into a SQL query
What is the lowest Decile for a school with a roll smaller than 3?
SELECT MIN Decile FROM table WHERE Roll < 3
Translate the following into a SQL query
What is the Gender of students at a school with a Decile of 5 and a Roll of 90?
SELECT Gender FROM table WHERE Decile = 5 AND Roll = 90
Translate the following into a SQL query
Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5.
SELECT Years FROM table WHERE Roll > 23 AND Decile > 5
Translate the following into a SQL query
What is the total number of Rolls of State schools in Hapuku with a Decile greater than 4?
SELECT COUNT Roll FROM table WHERE Authority = state AND Area = hapuku AND Decile > 4
Translate the following into a SQL query
What is the D45 associated with a D42 of r 22?
SELECT D 45 FROM table WHERE D 42 = r 22
Translate the following into a SQL query
What is the D43 associated with a D41 of r 21?
SELECT D 43 FROM table WHERE D 41 = r 21
Translate the following into a SQL query
What is the D42 associated with a D47 of d 27?
SELECT D 42 FROM table WHERE D 47 = d 27
Translate the following into a SQL query
What is the D43 associated with a D41 of r 16?
SELECT D 43 FROM table WHERE D 41 = r 16
Translate the following into a SQL query
What is the record for the game when the loss was hargan (14–13)?
SELECT Record FROM table WHERE Loss = hargan (14–13)
Translate the following into a SQL query
What is the record for the game with a score of 7–5?
SELECT Record FROM table WHERE Score = 7–5
Translate the following into a SQL query
What date was the game with loss of Aker (3–8)?
SELECT Date FROM table WHERE Loss = aker (3–8)
Translate the following into a SQL query
What team was the opponent when the score was 7–1?
SELECT Opponent FROM table WHERE Score = 7–1
Translate the following into a SQL query
What was the score when the opponent was the Orioles and the loss shows morehead (5–4)?
SELECT Score FROM table WHERE Opponent = orioles AND Loss = morehead (5–4)
Translate the following into a SQL query
Name the opponent with a record of 60-61
SELECT Opponent FROM table WHERE Record = 60-61
Translate the following into a SQL query
Who had a perfection percentage of 77.96%?
SELECT Name FROM table WHERE Perfection = 77.96%
Translate the following into a SQL query
What was the rank of Svetlana Fedorenko?
SELECT Rank FROM table WHERE Name = svetlana fedorenko
Translate the following into a SQL query
Who had a perfection percentage of 73.24%?
SELECT Name FROM table WHERE Perfection = 73.24%
Translate the following into a SQL query
What was the score of the game on June 1?
SELECT Score FROM table WHERE Date = june 1
Translate the following into a SQL query
What was the score against andrei pavel?
SELECT Score FROM table WHERE Opponent = andrei pavel
Translate the following into a SQL query
When was the tournament of bologna?
SELECT Date FROM table WHERE Tournament = bologna
Translate the following into a SQL query
Who played on clay and had a score of 6–1, 7–6?
SELECT Opponent FROM table WHERE Surface = clay AND Score = 6–1, 7–6
Translate the following into a SQL query
Who played on clay on 3 march 2012?
SELECT Opponent FROM table WHERE Surface = clay AND Date = 3 march 2012
Translate the following into a SQL query
What was the score against fabrice martin?
SELECT Score FROM table WHERE Opponent = fabrice martin
Translate the following into a SQL query
What was the surface of the score of 7–5, 3–6, 7–6?
SELECT Surface FROM table WHERE Score = 7–5, 3–6, 7–6
Translate the following into a SQL query
What's the Order with an Elector of Marino Bulcani?
SELECT Order FROM table WHERE Elector = marino bulcani
Translate the following into a SQL query
What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-Priest, and an Elector of Poncello Orsini?
SELECT Elevator FROM table WHERE Elevated = 1378, september 18 AND Order = cardinal-priest AND Elector = poncello orsini
Translate the following into a SQL query
What is listed as the Elector with the Title of Deacon of S. Maria in Domnica?
SELECT Elector FROM table WHERE Title = deacon of s. maria in domnica
Translate the following into a SQL query
What's listed for the Elevated category that has an Order of Cardinal-Bishop?
SELECT Elevated FROM table WHERE Order = cardinal-bishop
Translate the following into a SQL query
The Milford School has what Division Record?
SELECT Division Record FROM table WHERE School = milford
Translate the following into a SQL query
What is the name of the School of the Sussex Tech's Team?
SELECT Team FROM table WHERE School = sussex tech
Translate the following into a SQL query
What was Arnold Palmer's score in the tournamnet?
SELECT Score FROM table WHERE Player = arnold palmer
Translate the following into a SQL query
What the name of Peter White's party?
SELECT Party FROM table WHERE Member = peter white
Translate the following into a SQL query
What term did an Electorate of indi have in office?
SELECT Term in office FROM table WHERE Electorate = indi
Translate the following into a SQL query
What term did hon ralph hunt serve in office?
SELECT Term in office FROM table WHERE Member = hon ralph hunt
Translate the following into a SQL query
What party is Peter Fisher from Vic serve in office?
SELECT Party FROM table WHERE State = vic AND Member = peter fisher
Translate the following into a SQL query
How many laps were done in 2012?
SELECT SUM Laps FROM table WHERE Year = 2012
Translate the following into a SQL query
On what day was the score of 1–6 6–1 3–6 achieved?
SELECT Date FROM table WHERE Score = 1–6 6–1 3–6
Translate the following into a SQL query
Name the average gold for czech republic and bronze less than 1 when total is less than 14
SELECT AVG Gold FROM table WHERE Total < 14 AND Bronze < 1 AND Nation = czech republic
Translate the following into a SQL query
Name the highest rank when silver is 4 and bronze is less than 3
SELECT MAX Rank FROM table WHERE Silver = 4 AND Bronze < 3
Translate the following into a SQL query
Name the total number of total for bronze of 4 and silver more than 6
SELECT COUNT Total FROM table WHERE Bronze = 4 AND Silver > 6
Translate the following into a SQL query
When the Surface was Carpet (i), what was the Outcome?
SELECT Outcome FROM table WHERE Surface = carpet (i)
Translate the following into a SQL query
What is the draw number of the song with a place lower than 6 and more than 38 votes?
SELECT SUM Draw FROM table WHERE Place > 6 AND Votes > 38
Translate the following into a SQL query
What is the total number of votes Sahlene with a place below 1 has?
SELECT COUNT Votes FROM table WHERE Artist = sahlene AND Place > 1
Translate the following into a SQL query
What is the highest place of the song with 38 votes and a draw great than 3?
SELECT MAX Place FROM table WHERE Votes = 38 AND Draw > 3
Translate the following into a SQL query
How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have?
SELECT SUM Votes FROM table WHERE Draw < 4 AND Artist = yvetta kadakas & ivo linna
Translate the following into a SQL query
What year was there a finish of 3?
SELECT Year FROM table WHERE Finish = 3
Translate the following into a SQL query
What year was the start 33?
SELECT SUM Year FROM table WHERE Start = 33
Translate the following into a SQL query
When was there a team of Simon and the start was 3?
SELECT Year FROM table WHERE Team = simon AND Start = 3
Translate the following into a SQL query
What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96?
SELECT City FROM table WHERE Spire (m) = 105 AND Roof ( m ) < 96 AND Built = 1985
Translate the following into a SQL query
What's the average number of floors that were built in 2004, and have a roof (m) of 106?
SELECT AVG Floors FROM table WHERE Built = 2004 AND Roof ( m ) = 106
Translate the following into a SQL query
What's the total number of floors built after 2006, and have a rank of 12?
SELECT SUM Floors FROM table WHERE Built > 2006 AND Rank = 12
Translate the following into a SQL query
What is the sum of attendance for H/A values of "n"?
SELECT SUM Attendance FROM table WHERE H / A = n
Translate the following into a SQL query
Name the score which has opponent of stefano galvani
SELECT Score FROM table WHERE Opponent = stefano galvani
Translate the following into a SQL query
Name the score with opponent of javier genaro-martinez
SELECT Score FROM table WHERE Opponent = javier genaro-martinez
Translate the following into a SQL query
Name the outcome for dunlop world challenge
SELECT Outcome FROM table WHERE Tournament = dunlop world challenge
Translate the following into a SQL query
Who was the visiting team on December 6?
SELECT Visiting Team FROM table WHERE Date = december 6
Translate the following into a SQL query
Who was the host team on October 4?
SELECT Host Team FROM table WHERE Date = october 4
Translate the following into a SQL query
In New Zealand, what's the value that has an unknown date and is an energy business?
SELECT Value ( USD ) FROM table WHERE Date = unknown AND Business = energy AND Country = new zealand
Translate the following into a SQL query
What company has an unknown date and is an energy business?
SELECT Company FROM table WHERE Business = energy AND Date = unknown