instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the opponent of the game with a w 87-64 score?
SELECT Opponent FROM table WHERE Score = w 87-64
Translate the following into a SQL query
What is the location/attendance of the game with a 3-1 record?
SELECT Location/Attendance FROM table WHERE Record = 3-1
Translate the following into a SQL query
Who had the highest points of the game on May 27?
SELECT High points FROM table WHERE Date = may 27
Translate the following into a SQL query
Who is the opponent on October 28, 2001?
SELECT Opponent FROM table WHERE Date = october 28, 2001
Translate the following into a SQL query
What was the lowest week at Ralph Wilson Stadium on October 7, 2001?
SELECT MIN Week FROM table WHERE Game Site = ralph wilson stadium AND Date = october 7, 2001
Translate the following into a SQL query
What is the sum of To Par, when Player is "Bob Rosburg"?
SELECT SUM To par FROM table WHERE Player = bob rosburg
Translate the following into a SQL query
What is the total number of To Par, when Score is "70-75-76=221"?
SELECT COUNT To par FROM table WHERE Score = 70-75-76=221
Translate the following into a SQL query
What is Player, when Score is "76-73-73=222"?
SELECT Player FROM table WHERE Score = 76-73-73=222
Translate the following into a SQL query
What is Score, when To Par is greater than 7, when Place is "T4", and when Player is "Bob Rosburg"?
SELECT Score FROM table WHERE To par > 7 AND Place = t4 AND Player = bob rosburg
Translate the following into a SQL query
Which transfer window ends after 2006?
SELECT Transfer window FROM table WHERE Ends > 2006
Translate the following into a SQL query
What is the transfer fee for Paolo Vanoli?
SELECT Transfer fee FROM table WHERE Name = paolo vanoli
Translate the following into a SQL query
What is the nationality of Gavin Rae?
SELECT Nat. FROM table WHERE Name = gavin rae
Translate the following into a SQL query
How much Overall has a Position of ot, and a Round larger than 5?
SELECT COUNT Overall FROM table WHERE Position = ot AND Round > 5
Translate the following into a SQL query
What is the to par for Bart Bryant?
SELECT To par FROM table WHERE Player = bart bryant
Translate the following into a SQL query
Who scored 68-73-66=207 in South Africa?
SELECT Place FROM table WHERE Country = south africa AND Score = 68-73-66=207
Translate the following into a SQL query
What year is Zhong from?
SELECT From FROM table WHERE Name = zhong
Translate the following into a SQL query
Which Royal house has a name of ding?
SELECT Royal house FROM table WHERE Name = ding
Translate the following into a SQL query
What type of state is bo qin?
SELECT Type FROM table WHERE Name = bo qin
Translate the following into a SQL query
What year is the Royal house of ji from?
SELECT From FROM table WHERE Royal house = ji
Translate the following into a SQL query
What type of state has a royal house of ji and has a ruler?
SELECT Type FROM table WHERE Royal house = ji AND Title = ruler
Translate the following into a SQL query
what is the record when the game is 13?
SELECT Record FROM table WHERE Game = 13
Translate the following into a SQL query
who had the high points on november 20?
SELECT High points FROM table WHERE Date = november 20
Translate the following into a SQL query
What is the Score on November 23, 1946 with Washington Capitols Home team?
SELECT Score FROM table WHERE Home = washington capitols AND Date = november 23, 1946
Translate the following into a SQL query
On what Date is the Detroit Falcons the Home team in a game with a Score of 63–66?
SELECT Date FROM table WHERE Home = detroit falcons AND Score = 63–66
Translate the following into a SQL query
What is the Home team on January 24, 1947?
SELECT Home FROM table WHERE Date = january 24, 1947
Translate the following into a SQL query
What is the Home team on November 16, 1946?
SELECT Home FROM table WHERE Date = november 16, 1946
Translate the following into a SQL query
What is the Home team on February 2, 1947?
SELECT Home FROM table WHERE Date = february 2, 1947
Translate the following into a SQL query
Which Laps have a Time of +23.002, and a Grid smaller than 11?
SELECT AVG Laps FROM table WHERE Time = +23.002 AND Grid < 11
Translate the following into a SQL query
Which Laps have a Manufacturer of aprilia, and a Rider of sergio gadea?
SELECT Laps FROM table WHERE Manufacturer = aprilia AND Rider = sergio gadea
Translate the following into a SQL query
Which Grid that has a Rider of mike di meglio, and Laps larger than 23?
SELECT AVG Grid FROM table WHERE Rider = mike di meglio AND Laps > 23
Translate the following into a SQL query
Which Manufacturer has a Grid smaller than 9, and a Time of +22.517?
SELECT Manufacturer FROM table WHERE Grid < 9 AND Time = +22.517
Translate the following into a SQL query
What is Result, when Round is SF?
SELECT Result FROM table WHERE Round = sf
Translate the following into a SQL query
What is Scorers, when Attendance is greater than 11,091, and when Round is R3?
SELECT Scorers FROM table WHERE Attendance > 11,091 AND Round = r3
Translate the following into a SQL query
What is Result, when Date is 11 August 1992?
SELECT Result FROM table WHERE Date = 11 august 1992
Translate the following into a SQL query
What is Result, when Date is 19 August 1992?
SELECT Result FROM table WHERE Date = 19 august 1992
Translate the following into a SQL query
Did he win or lose rof 32: respect?
SELECT Res. FROM table WHERE Event = rof 32: respect
Translate the following into a SQL query
What round did he win rof 29: aftershock in?
SELECT Round FROM table WHERE Res. = win AND Event = rof 29: aftershock
Translate the following into a SQL query
How many rounds did the match last when his record was 6-6?
SELECT Round FROM table WHERE Record = 6-6
Translate the following into a SQL query
How did the match end when his record was 15-11?
SELECT Method FROM table WHERE Record = 15-11
Translate the following into a SQL query
How many laps did ben spies do on the grid less than 7?
SELECT COUNT Laps FROM table WHERE Grid < 7 AND Rider = ben spies
Translate the following into a SQL query
which grid did less than 20 laps in a time of +58.353?
SELECT MIN Grid FROM table WHERE Time = +58.353 AND Laps < 20
Translate the following into a SQL query
what was valentino rossi's rider time?
SELECT Time FROM table WHERE Rider = valentino rossi
Translate the following into a SQL query
Who manufactures Makoto Tamada's vehicle?
SELECT Manufacturer FROM table WHERE Rider = makoto tamada
Translate the following into a SQL query
What is the time/retired of the one with grid of 16?
SELECT Time/Retired FROM table WHERE Grid = 16
Translate the following into a SQL query
What team did gonzalo arconada manage?
SELECT Team FROM table WHERE Outgoing manager = gonzalo arconada
Translate the following into a SQL query
What team replaced their manager on 9 December 2008?
SELECT Team FROM table WHERE Date of vacancy = 9 december 2008
Translate the following into a SQL query
What was the date of appointment for paco chaparro's replacement?
SELECT Date of appointment FROM table WHERE Outgoing manager = paco chaparro
Translate the following into a SQL query
What was the date of appointment for javier aguirre's replacement?
SELECT Date of appointment FROM table WHERE Outgoing manager = javier aguirre
Translate the following into a SQL query
What date did Namigata play against Wen-Hsin Hsu in the finals?
SELECT Date FROM table WHERE Opponent in the final = wen-hsin hsu
Translate the following into a SQL query
What was the result during the week # of top 8?
SELECT Result FROM table WHERE Week # = top 8
Translate the following into a SQL query
What was the theme during the week # of top 24 (12 men)
SELECT Theme FROM table WHERE Week # = top 24 (12 men)
Translate the following into a SQL query
What was the result after the week # top 11?
SELECT Result FROM table WHERE Week # = top 11
Translate the following into a SQL query
What is the league of player ian schultz?
SELECT League FROM table WHERE Player = ian schultz
Translate the following into a SQL query
What is the birthplace and date of pick 4?
SELECT Birthplace, Date FROM table WHERE Pick = 4
Translate the following into a SQL query
What is the pick of player ian schultz from Canada?
SELECT Pick FROM table WHERE Nationality = canada AND Player = ian schultz
Translate the following into a SQL query
Who is the Opponent on January 7?
SELECT Opponent FROM table WHERE Date = january 7
Translate the following into a SQL query
Who is the Opponent on January 16?
SELECT Opponent FROM table WHERE Date = january 16
Translate the following into a SQL query
What is the Score of the game against Philadelphia 76ers?
SELECT Score FROM table WHERE Opponent = philadelphia 76ers
Translate the following into a SQL query
What is the Date of the game where the Cavaliers have a Record of 15-27?
SELECT Date FROM table WHERE Record = 15-27
Translate the following into a SQL query
What was the Opponent in the game with a Score of 102-125?
SELECT Opponent FROM table WHERE Score = 102-125
Translate the following into a SQL query
What is the Cavaliers Record in the game with a Score of 98-99?
SELECT Record FROM table WHERE Score = 98-99
Translate the following into a SQL query
What player has a no pick position in 1976?
SELECT Player FROM table WHERE Position = no pick AND Year = 1976
Translate the following into a SQL query
What pick number was the player that went to baylor college?
SELECT Pick FROM table WHERE College = baylor
Translate the following into a SQL query
What year was the player pick number 15 picked?
SELECT Year FROM table WHERE Pick = 15
Translate the following into a SQL query
What was the record on september 2?
SELECT Record FROM table WHERE Date = september 2
Translate the following into a SQL query
What were phoenix's high points?
SELECT High points FROM table WHERE Opponent = phoenix
Translate the following into a SQL query
When was the record 17-17?
SELECT Date FROM table WHERE Record = 17-17
Translate the following into a SQL query
What were the high points on september 9?
SELECT High points FROM table WHERE Date = september 9
Translate the following into a SQL query
How many games had a record of 16-17?
SELECT COUNT Game FROM table WHERE Record = 16-17
Translate the following into a SQL query
Which leader has been a leader since 2007?
SELECT Leader FROM table WHERE Leader since = 2007
Translate the following into a SQL query
How many seats does leader Raymond McCartney have?
SELECT SUM Number of Seats FROM table WHERE Leader = raymond mccartney
Translate the following into a SQL query
Which leader of the Democratic Unionist party has more than 8 seats?
SELECT Leader FROM table WHERE Number of Seats > 8 AND Party = democratic unionist party
Translate the following into a SQL query
Anuya Bhagvath was nominated for what award?
SELECT Award FROM table WHERE Outcome = nominated AND Name = anuya bhagvath
Translate the following into a SQL query
Which award has film lyricist in the category?
SELECT Award FROM table WHERE Category = film lyricist
Translate the following into a SQL query
What is the category Anuya Bhagvath was nominated for at vijay award?
SELECT Ceremony FROM table WHERE Award = vijay award AND Outcome = nominated AND Name = anuya bhagvath
Translate the following into a SQL query
Which ceremony has the best lyricist category?
SELECT Ceremony FROM table WHERE Category = best lyricist
Translate the following into a SQL query
Which best 3-year period has a best 15-year period of smyslov; kasparov, and a Position of 5?
SELECT best 3-year period FROM table WHERE best 15-year period = smyslov; kasparov AND Position = 5
Translate the following into a SQL query
Which best 5-year period has a best 15-year period of alekhine; lasker?
SELECT best 5-year period FROM table WHERE best 15-year period = alekhine; lasker
Translate the following into a SQL query
Which best 10-year period has a best 2-year period of petrosian?
SELECT best 10-year period FROM table WHERE best 2-year period = petrosian
Translate the following into a SQL query
Which Position has a best 3-year period of petrosian?
SELECT MAX Position FROM table WHERE best 3-year period = petrosian
Translate the following into a SQL query
What is High Rebounds, when Score is 61-59?
SELECT High rebounds FROM table WHERE Score = 61-59
Translate the following into a SQL query
What is Score, when High Rebounds is "Nolan (10)"?
SELECT Score FROM table WHERE High rebounds = nolan (10)
Translate the following into a SQL query
What is Opponent, when High Rebounds is "Pierson (6)"?
SELECT Opponent FROM table WHERE High rebounds = pierson (6)
Translate the following into a SQL query
What is the sum of Game(s), when High Rebounds is "Pierson (6)"?
SELECT SUM Game FROM table WHERE High rebounds = pierson (6)
Translate the following into a SQL query
How many Laps did Bob Wollek have?
SELECT AVG Laps FROM table WHERE Driver = bob wollek
Translate the following into a SQL query
How many Laps did Team Primagaz Competition have?
SELECT Laps FROM table WHERE Team = primagaz competition
Translate the following into a SQL query
What Team had 40 Laps in C1 Class?
SELECT Team FROM table WHERE Class = c1 AND Laps = 40
Translate the following into a SQL query
What Team has Bob Wollek as a Driver with 76 Laps in C1 Class?
SELECT Team FROM table WHERE Class = c1 AND Laps = 76 AND Driver = bob wollek
Translate the following into a SQL query
How many Laps does GP Motorsport Team have?
SELECT SUM Laps FROM table WHERE Team = gp motorsport
Translate the following into a SQL query
what is the location when the score is w 105-99?
SELECT Location FROM table WHERE Score = w 105-99
Translate the following into a SQL query
what is the location on november 23?
SELECT Location FROM table WHERE Date = november 23
Translate the following into a SQL query
Name the highest Ends Lost which has an Shot % larger than 78, and a Ends Won smaller than 38?
SELECT MAX Ends Lost FROM table WHERE Shot % > 78 AND Ends Won < 38
Translate the following into a SQL query
Name the Country which has Stolen Ends larger than 7, and a Skip of david murdoch?
SELECT Country FROM table WHERE Stolen Ends > 7 AND Skip = david murdoch
Translate the following into a SQL query
Name the average Stolen Ends which has an Ends Lost smaller than 35?
SELECT AVG Stolen Ends FROM table WHERE Ends Lost < 35
Translate the following into a SQL query
Name the average Blank Ends which has a Shot % smaller than 78, and a Ends Won larger than 43?
SELECT AVG Blank Ends FROM table WHERE Shot % < 78 AND Ends Won > 43
Translate the following into a SQL query
What rank has skyfall as the title?
SELECT Rank FROM table WHERE Title = skyfall
Translate the following into a SQL query
What director(s) have the intouchables as the title?
SELECT Director(s) FROM table WHERE Title = the intouchables
Translate the following into a SQL query
What studio has 6 as the rank?
SELECT Studio FROM table WHERE Rank = 6
Translate the following into a SQL query
How many ranks have $1,084,439,099 as the worldwide gross?
SELECT SUM Rank FROM table WHERE Worldwide Gross = $1,084,439,099
Translate the following into a SQL query
What is the 1981 value of the Macedonian population with a 1971 number greater than 192 and a 1991 of 1748?
SELECT 1981 FROM table WHERE Number 1971 > 192 AND 1991 = 1748