instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is richard virenque's lowest rank?
SELECT MIN Rank FROM table WHERE Name = richard virenque
Translate the following into a SQL query
Which Years have a Rank larger than 2, and Wins of 2, and a Country of france?
SELECT Years FROM table WHERE Rank > 2 AND Wins = 2 AND Country = france
Translate the following into a SQL query
What is the home team with the ny rangers as the visitor team?
SELECT Home FROM table WHERE Visitor = ny rangers
Translate the following into a SQL query
What is the record on October 13, when philadelphia was the home team?
SELECT Record FROM table WHERE Home = philadelphia AND Date = october 13
Translate the following into a SQL query
What is Season, when Opponent is source: . last updated: 28 june 2007.?
SELECT Season FROM table WHERE Opponent = source: . last updated: 28 june 2007.
Translate the following into a SQL query
What is Venue, when Figures is 5/29?
SELECT Venue FROM table WHERE Figures = 5/29
Translate the following into a SQL query
What is Opponent, when Rank is 3?
SELECT Opponent FROM table WHERE Rank = 3
Translate the following into a SQL query
What is Player, when Figures is source: . last updated: 28 june 2007.?
SELECT Player FROM table WHERE Figures = source: . last updated: 28 june 2007.
Translate the following into a SQL query
What is Player, when Opponent is source: . last updated: 28 june 2007.?
SELECT Player FROM table WHERE Opponent = source: . last updated: 28 june 2007.
Translate the following into a SQL query
For the match played on 7 January 1956, with away team of Accrington Stanley, who was the home team?
SELECT Home team FROM table WHERE Date = 7 january 1956 AND Away team = accrington stanley
Translate the following into a SQL query
Which Tie number had Fulham as the away team?
SELECT Tie no FROM table WHERE Away team = fulham
Translate the following into a SQL query
Which Tie number had Middlesbrough as the away team?
SELECT Tie no FROM table WHERE Away team = middlesbrough
Translate the following into a SQL query
On what day was Tie #29 played?
SELECT Date FROM table WHERE Tie no = 29
Translate the following into a SQL query
Which Tie number was played on 9 January 1956?
SELECT Tie no FROM table WHERE Date = 9 january 1956
Translate the following into a SQL query
What is the Tie number for the match that had away team of Scunthorpe & Lindsey United?
SELECT Tie no FROM table WHERE Away team = scunthorpe & lindsey united
Translate the following into a SQL query
WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279?
SELECT Place FROM table WHERE Score = 76-69-64-70=279
Translate the following into a SQL query
WHAT IS THE PLACE WITH A SCORE OF 73-65-73-71=282?
SELECT Place FROM table WHERE Score = 73-65-73-71=282
Translate the following into a SQL query
WHAT IS THE TO PAR FOR ERNIE ELS?
SELECT To par FROM table WHERE Player = ernie els
Translate the following into a SQL query
WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279?
SELECT Place FROM table WHERE Score = 69-71-66-73=279
Translate the following into a SQL query
What was the winning score at Burdine's Invitational?
SELECT Winning score FROM table WHERE Tournament = burdine's invitational
Translate the following into a SQL query
Who was the runner-up when the winning score is +3 (69-70-71-77=287)?
SELECT Runner(s)-up FROM table WHERE Winning score = +3 (69-70-71-77=287)
Translate the following into a SQL query
Which tournament has a winning score at –7 (66-72-69-74=281)?
SELECT Tournament FROM table WHERE Winning score = –7 (66-72-69-74=281)
Translate the following into a SQL query
On what date is Jerilyn Britz the runner-up?
SELECT Date FROM table WHERE Runner(s)-up = jerilyn britz
Translate the following into a SQL query
On what date is the winning score –8 (70-71-67=208)?
SELECT Date FROM table WHERE Winning score = –8 (70-71-67=208)
Translate the following into a SQL query
What is Matches, when Year is "2003"?
SELECT Matches FROM table WHERE Year = 2003
Translate the following into a SQL query
What is Draws, when Losses is "Did Not Qualify"?
SELECT Draws FROM table WHERE Losses = did not qualify
Translate the following into a SQL query
What is Result, when Losses is "Did Not Qualify"?
SELECT Result FROM table WHERE Losses = did not qualify
Translate the following into a SQL query
What is Year, when Wins is "0"?
SELECT Year FROM table WHERE Wins = 0
Translate the following into a SQL query
What is Draws, when Wins is "Did Not Qualify"?
SELECT Draws FROM table WHERE Wins = did not qualify
Translate the following into a SQL query
What is Matches, when Draws is "Did Not Qualify", and when Year is "1995"?
SELECT Matches FROM table WHERE Draws = did not qualify AND Year = 1995
Translate the following into a SQL query
Which Date has a Score of 112–118?
SELECT Date FROM table WHERE Score = 112–118
Translate the following into a SQL query
Which Record has a Score of 111–101?
SELECT Record FROM table WHERE Score = 111–101
Translate the following into a SQL query
Which Game has a Score of 122–125?
SELECT Game FROM table WHERE Score = 122–125
Translate the following into a SQL query
Which Streak has a Game of 3?
SELECT Streak FROM table WHERE Game = 3
Translate the following into a SQL query
Which Score has a Record of 1–3?
SELECT Score FROM table WHERE Record = 1–3
Translate the following into a SQL query
How many totals had a silver larger than 2?
SELECT COUNT Total FROM table WHERE Silver > 2
Translate the following into a SQL query
What was the average bronze when gold was larger than 1 and silver was larger than 2?
SELECT AVG Bronze FROM table WHERE Gold > 1 AND Silver > 2
Translate the following into a SQL query
What was the college team of the player whose former WNBA team was the Cleveland Rockers?
SELECT College/Country/Team FROM table WHERE Former WNBA Team = cleveland rockers
Translate the following into a SQL query
What nationality was the player whose college team was Georgia Tech?
SELECT Nationality FROM table WHERE College/Country/Team = georgia tech
Translate the following into a SQL query
What was the new WNBA team of the player selected with a pick over 7?
SELECT New WNBA Team FROM table WHERE Pick > 7
Translate the following into a SQL query
Which player had a pick under 6 and a new WNBA team of the Minnesota Lynx?
SELECT Player FROM table WHERE Pick < 6 AND New WNBA Team = minnesota lynx
Translate the following into a SQL query
Billy Ray Brown plays for what country?
SELECT Country FROM table WHERE Player = billy ray brown
Translate the following into a SQL query
The country of Spain has what score?
SELECT Score FROM table WHERE Country = spain
Translate the following into a SQL query
The golfer from the United states with a score of 72-70-69=211 is in what place?
SELECT Place FROM table WHERE Country = united states AND Score = 72-70-69=211
Translate the following into a SQL query
The golfer Jeff Sluman golfs for what country?
SELECT Country FROM table WHERE Player = jeff sluman
Translate the following into a SQL query
Mike Reid from the United States has what score?
SELECT Score FROM table WHERE Country = united states AND Player = mike reid
Translate the following into a SQL query
What player has 71-72-66=209 as the score?
SELECT Player FROM table WHERE Score = 71-72-66=209
Translate the following into a SQL query
What to par has 7 as the place?
SELECT To par FROM table WHERE Place = 7
Translate the following into a SQL query
What player has 72-67-71=210 as the score?
SELECT Player FROM table WHERE Score = 72-67-71=210
Translate the following into a SQL query
What to par has t5 as the place, with larry mize as the player?
SELECT To par FROM table WHERE Place = t5 AND Player = larry mize
Translate the following into a SQL query
What player has t5 as the place?
SELECT Player FROM table WHERE Place = t5
Translate the following into a SQL query
What score has fred couples as the player?
SELECT Score FROM table WHERE Player = fred couples
Translate the following into a SQL query
On what Date in Stade Leopold Senghor, Dakar was the Score 4–0?
SELECT Date FROM table WHERE Score = 4–0 AND Venue = stade leopold senghor, dakar
Translate the following into a SQL query
Who has the highest assists on april 28?
SELECT High assists FROM table WHERE Date = april 28
Translate the following into a SQL query
What was the name of the player from Olympiacos in 2008?
SELECT Name FROM table WHERE 2008 club = olympiacos
Translate the following into a SQL query
Who played for Olympiacos in 2008?
SELECT Name FROM table WHERE 2008 club = olympiacos
Translate the following into a SQL query
What is Points, when Series is Queensland Formula Ford Championship, and when Position is 1st?
SELECT Points FROM table WHERE Series = queensland formula ford championship AND Position = 1st
Translate the following into a SQL query
What is Driver, when Position is 2nd, and when Season is 2001?
SELECT Driver FROM table WHERE Position = 2nd AND Season = 2001
Translate the following into a SQL query
What is Position, when Series is Queensland Formula Ford Championship, when Season is after 2001, and when Points is 234?
SELECT Position FROM table WHERE Series = queensland formula ford championship AND Season > 2001 AND Points = 234
Translate the following into a SQL query
What is Series, when Season is 2007?
SELECT Series FROM table WHERE Season = 2007
Translate the following into a SQL query
What was the Attendance on September 26, 1971?
SELECT AVG Attendance FROM table WHERE Date = september 26, 1971
Translate the following into a SQL query
Who was the opponent before week 12, on November 11, 1990?
SELECT Opponent FROM table WHERE Week < 12 AND Date = november 11, 1990
Translate the following into a SQL query
Which date had an attendance of 76,518?
SELECT Date FROM table WHERE Attendance = 76,518
Translate the following into a SQL query
What was the attendance of the game that ended with L 31-0
SELECT Attendance FROM table WHERE Result = l 31-0
Translate the following into a SQL query
What is the year for the country of Morocco?
SELECT MAX Year FROM table WHERE Country = morocco
Translate the following into a SQL query
What is the year for the United Arab Emirates?
SELECT COUNT Year FROM table WHERE Country = united arab emirates
Translate the following into a SQL query
What year was the Mercury City Tower?
SELECT MIN Year FROM table WHERE Structure = mercury city tower
Translate the following into a SQL query
What structure is in Chile?
SELECT Structure FROM table WHERE Country = chile
Translate the following into a SQL query
What 2007-08 season has marcianise as the city?
SELECT 2007–08 season FROM table WHERE City = marcianise
Translate the following into a SQL query
What is the highest capacity that has serie c2/c champions for the 2007-08 season?
SELECT MAX Capacity FROM table WHERE 2007–08 season = serie c2/c champions
Translate the following into a SQL query
What is the average capacity that has foligno as the city?
SELECT AVG Capacity FROM table WHERE City = foligno
Translate the following into a SQL query
What is the highest capacity that has stadio marcello torre as the stadium?
SELECT MAX Capacity FROM table WHERE Stadium = stadio marcello torre
Translate the following into a SQL query
What is the score for the game where Birmingham City was the home team on 10 March 1984?
SELECT Score FROM table WHERE Date = 10 march 1984 AND Home team = birmingham city
Translate the following into a SQL query
Who played the away team Derby County?
SELECT Home team FROM table WHERE Away team = derby county
Translate the following into a SQL query
Who is the home team that tied no 2?
SELECT Home team FROM table WHERE Tie no = 2
Translate the following into a SQL query
What was the score of the game when Sheffield Wednesday was the home team?
SELECT Score FROM table WHERE Home team = sheffield wednesday
Translate the following into a SQL query
Which years did the player from Providence play for the Grizzlies as small forward?
SELECT Years for Grizzlies FROM table WHERE Position = small forward AND School/Club Team = providence
Translate the following into a SQL query
What is the nationality of Stromile Swift?
SELECT Nationality FROM table WHERE Player = stromile swift
Translate the following into a SQL query
Which years did the player from Providence play for Memphis?
SELECT Years for Grizzlies FROM table WHERE School/Club Team = providence
Translate the following into a SQL query
Which team has a record of 7-1?
SELECT Opponent FROM table WHERE Record = 7-1
Translate the following into a SQL query
What game number was the first game played at the Summit this season?
SELECT MIN Game FROM table WHERE Location = the summit
Translate the following into a SQL query
What was the final score for the game played against the New York Knicks?
SELECT Score FROM table WHERE Opponent = new york knicks
Translate the following into a SQL query
For the game played at the Boston Garden with a score of 118-110, what is the opposing team's record?
SELECT Record FROM table WHERE Location = boston garden AND Score = 118-110
Translate the following into a SQL query
What is Finish, when Year(s) Won is "1962 , 1967"?
SELECT Finish FROM table WHERE Year(s) won = 1962 , 1967
Translate the following into a SQL query
What is Player, when To Par is greater than 6, and when Year(s) Won is "1962 , 1967"?
SELECT Player FROM table WHERE To par > 6 AND Year(s) won = 1962 , 1967
Translate the following into a SQL query
What is Finish, when To Par is less than 14, and when Year(s) Won is "1952 , 1963"?
SELECT Finish FROM table WHERE To par < 14 AND Year(s) won = 1952 , 1963
Translate the following into a SQL query
What is the highest To Par, when Year(s) Won is "1962 , 1967"?
SELECT MAX To par FROM table WHERE Year(s) won = 1962 , 1967
Translate the following into a SQL query
What is the Total, when To Par is less than 14, when Finish is T12, and when Player is "Julius Boros"?
SELECT Total FROM table WHERE To par < 14 AND Finish = t12 AND Player = julius boros
Translate the following into a SQL query
What is the highest number of artists on Scarface?
SELECT MAX Number FROM table WHERE Artist = scarface
Translate the following into a SQL query
What is the average number for Black Milk?
SELECT AVG Number FROM table WHERE Artist = black milk
Translate the following into a SQL query
What is the lowest average for number 2?
SELECT MIN Average score FROM table WHERE Number = 2
Translate the following into a SQL query
What is the highest score for Black Milk?
SELECT MAX Average score FROM table WHERE Artist = black milk
Translate the following into a SQL query
What surface was played on when Piet Norval was a partner?
SELECT Surface FROM table WHERE Partner = piet norval
Translate the following into a SQL query
What was the surface played on when they were a runner-up in 2007?
SELECT Surface FROM table WHERE Outcome = runner-up AND Year = 2007
Translate the following into a SQL query
What is Goals, when Assists is greater than 28, and when Player is Steve Walker?
SELECT Goals FROM table WHERE Assists > 28 AND Player = steve walker
Translate the following into a SQL query
What is the average Games, when Player is Robert Hock, and when Goals is less than 24?
SELECT AVG Games FROM table WHERE Player = robert hock AND Goals < 24
Translate the following into a SQL query
What is the average Assists, when Club is Iserlohn Roosters,when Points is 71, and when Goals is greater than 44?
SELECT AVG Assists FROM table WHERE Club = iserlohn roosters AND Points = 71 AND Goals > 44
Translate the following into a SQL query
What is the average Goals, when Club is Iserlohn Roosters, and when Games is less than 56?
SELECT AVG Goals FROM table WHERE Club = iserlohn roosters AND Games < 56
Translate the following into a SQL query
What is the location of the game with a 115-105 score?
SELECT Location FROM table WHERE Score = 115-105
Translate the following into a SQL query
What is the record of the game with a 110-106 score?
SELECT Record FROM table WHERE Score = 110-106