instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the Opponent at the Honda Center on March 29?
SELECT Opponent FROM table WHERE Arena = honda center AND Date = march 29
Translate the following into a SQL query
What is the Opponent when the Record is 34–31–6?
SELECT Opponent FROM table WHERE Record = 34–31–6
Translate the following into a SQL query
What is Date, when Away Team is "Minehead"?
SELECT Date FROM table WHERE Away team = minehead
Translate the following into a SQL query
What is Date, when Away Team is "Barnet"?
SELECT Date FROM table WHERE Away team = barnet
Translate the following into a SQL query
What is Tie no, when Home Team is "Hull City"?
SELECT Tie no FROM table WHERE Home team = hull city
Translate the following into a SQL query
What is Away Team, when Home Team is "Swindon Town"?
SELECT Away team FROM table WHERE Home team = swindon town
Translate the following into a SQL query
What is Away Team, when Home Team is "Boston United"?
SELECT Away team FROM table WHERE Home team = boston united
Translate the following into a SQL query
What was Nick Faldo's score?
SELECT Score FROM table WHERE Player = nick faldo
Translate the following into a SQL query
What country placed t8 and scored 71-71-71=213?
SELECT Country FROM table WHERE Place = t8 AND Score = 71-71-71=213
Translate the following into a SQL query
What was the place when the score was 67-73-73=213?
SELECT Place FROM table WHERE Score = 67-73-73=213
Translate the following into a SQL query
What was the place when the score was 70-69-74=213?
SELECT Place FROM table WHERE Score = 70-69-74=213
Translate the following into a SQL query
What was United States place when the player was Fred Couples?
SELECT Place FROM table WHERE Country = united states AND Player = fred couples
Translate the following into a SQL query
WHAT IS THE TOURNAMENT WITH 2008 AND 2011 WITH A?
SELECT Tournament FROM table WHERE 2008 = a AND 2011 = a
Translate the following into a SQL query
WHAT IS THE 2012 WITH 2005 OF 1R?
SELECT 2012 FROM table WHERE 2005 = 1r
Translate the following into a SQL query
WHAT IS THE 2010 WITH 2012 OF 2R AT MIAMI MASTERS?
SELECT 2010 FROM table WHERE 2012 = 2r AND Tournament = miami masters
Translate the following into a SQL query
WHAT IS THE 2008 WITH TOURNAMENT OF WIN-LOSS, AND 2005 A?
SELECT 2008 FROM table WHERE Tournament = win-loss AND 2005 = a
Translate the following into a SQL query
WHAT IS THE 2007 AT MADRID MASTERS?
SELECT 2007 FROM table WHERE Tournament = madrid masters
Translate the following into a SQL query
WHAT IS THE 2011 WITH 2007 AT A AND2 008 AT 3R?
SELECT 2011 FROM table WHERE 2007 = a AND 2008 = 3r
Translate the following into a SQL query
What game was released before 2010 with a Metacritic of 85/100?
SELECT Game Title FROM table WHERE Metacritic = 85/100 AND Year Released < 2010
Translate the following into a SQL query
What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%?
SELECT Metacritic FROM table WHERE Year Released > 2005 AND Platform = playstation 3 AND GameRankings = 84.44%
Translate the following into a SQL query
What is the GameRankings Released of 2011 with a Metacritic of 83/100?
SELECT GameRankings FROM table WHERE Metacritic = 83/100 AND Year Released = 2011
Translate the following into a SQL query
How many weeks have an attendance less than 26,048?
SELECT SUM Week FROM table WHERE Attendance < 26,048
Translate the following into a SQL query
WHAT IS THE 11AM WITH LOCAL PROGRAMS AT 4PM AND GENERAL HOSPITAL AT 3PM?
SELECT 11:00 am FROM table WHERE 4:00 pm = local programs AND 3:00 pm = general hospital
Translate the following into a SQL query
WHAT IS THE 4:30PM WITH AN 8:00AM CBS THIS MORNING?
SELECT 4:30 pm FROM table WHERE 8:00 am = cbs this morning
Translate the following into a SQL query
WHAT IS THE 4:30PM WITH 1:30PM LOCAL PROGRAMS?
SELECT 4:30 pm FROM table WHERE 1:30 pm = local programs
Translate the following into a SQL query
WHAT IS THE 8:00AM WITH PORT CHARLES AT 12:30PM?
SELECT 8:00 am FROM table WHERE 12:30 pm = port charles
Translate the following into a SQL query
What was the record when the Denver Broncos played the New York Titans at Bears Stadium?
SELECT Record FROM table WHERE Game site = bears stadium AND Opponent = new york titans
Translate the following into a SQL query
What was the result of the match on December 9, 1962?
SELECT Result FROM table WHERE Date = december 9, 1962
Translate the following into a SQL query
What is To par, when Score is "70-68-68-71=277"?
SELECT To par FROM table WHERE Score = 70-68-68-71=277
Translate the following into a SQL query
What is the score of the match on 12 September 1990?
SELECT Score FROM table WHERE Date = 12 september 1990
Translate the following into a SQL query
For what league was the player in G position drafted?
SELECT League from FROM table WHERE Position = g
Translate the following into a SQL query
What pick number was player Greg McKegg?
SELECT AVG Pick # FROM table WHERE Player = greg mckegg
Translate the following into a SQL query
What Place has a Player of tony jacklin?
SELECT Place FROM table WHERE Player = tony jacklin
Translate the following into a SQL query
What Place has a Player of bernhard langer?
SELECT Place FROM table WHERE Player = bernhard langer
Translate the following into a SQL query
What Player has a Country of west germany?
SELECT Player FROM table WHERE Country = west germany
Translate the following into a SQL query
What Player has a To par of –2?
SELECT Player FROM table WHERE To par = –2
Translate the following into a SQL query
What To par has a Place of t2, and a Country of united states?
SELECT To par FROM table WHERE Place = t2 AND Country = united states
Translate the following into a SQL query
What Score has a Place of t2, and a Country of england?
SELECT Score FROM table WHERE Place = t2 AND Country = england
Translate the following into a SQL query
How many tries were there for club cwmtwrch rfc?
SELECT Tries against FROM table WHERE Club = cwmtwrch rfc
Translate the following into a SQL query
What is the draw when the tries against was 69?
SELECT Drawn FROM table WHERE Tries against = 69
Translate the following into a SQL query
What is the try bonus when the loss is 13 and the draw is 2?
SELECT Try bonus FROM table WHERE Lost = 13 AND Drawn = 2
Translate the following into a SQL query
What is the average Finish, when Team is "Buck Baker", and when Start is less than 13?
SELECT AVG Finish FROM table WHERE Team = buck baker AND Start < 13
Translate the following into a SQL query
What is the average Year, when Start is "11"?
SELECT AVG Year FROM table WHERE Start = 11
Translate the following into a SQL query
What is the lowest Year, when Finish is "29", and when Start is less than 24?
SELECT MIN Year FROM table WHERE Finish = 29 AND Start < 24
Translate the following into a SQL query
What is the highest Year, when Finish is "51", and when Start is less than 64?
SELECT MAX Year FROM table WHERE Finish = 51 AND Start < 64
Translate the following into a SQL query
What is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is "1973"?
SELECT Manufacturer FROM table WHERE Finish > 29 AND Start < 23 AND Year = 1973
Translate the following into a SQL query
What is the opposing team with 11 against?
SELECT Opposing Teams FROM table WHERE Against = 11
Translate the following into a SQL query
What is the venue where Argentina was the opposing team in a test match?
SELECT Venue FROM table WHERE Opposing Teams = argentina AND Status = test match
Translate the following into a SQL query
What is the status of the game against France with more than 16 against?
SELECT Status FROM table WHERE Against > 16 AND Opposing Teams = france
Translate the following into a SQL query
On what date is there a status of Five Nations and an against of 23?
SELECT Date FROM table WHERE Status = five nations AND Against = 23
Translate the following into a SQL query
What model has a number built smaller than 6.526, and the Chassis code w109.015?
SELECT Model FROM table WHERE Number built < 6.526 AND Chassis code = w109.015
Translate the following into a SQL query
What was the record at Tiger Stadium?
SELECT Record FROM table WHERE Game site = tiger stadium
Translate the following into a SQL query
What was the attendance on September 19, 1971, after week 1?
SELECT AVG Attendance FROM table WHERE Date = september 19, 1971 AND Week > 1
Translate the following into a SQL query
How many Bronze medals did the team ranked 1 win?
SELECT Bronze FROM table WHERE Rank = 1
Translate the following into a SQL query
What is the name of the person who plays the GK position and is from the Wolverhampton Wanderers?
SELECT Name FROM table WHERE Position = gk AND From = wolverhampton wanderers
Translate the following into a SQL query
What is the date for Liverpool, and player Robbie Threlfall?
SELECT Date From FROM table WHERE From = liverpool AND Name = robbie threlfall
Translate the following into a SQL query
What is the date for Watford and player Lionel Ainsworth?
SELECT Date To FROM table WHERE From = watford AND Name = lionel ainsworth
Translate the following into a SQL query
What is the date for the MF position and player Jennison Myrie-Williams?
SELECT Date From FROM table WHERE Position = mf AND Name = jennison myrie-williams
Translate the following into a SQL query
What is the position of the player from Leicester City?
SELECT Position FROM table WHERE From = leicester city
Translate the following into a SQL query
What Goals has a Team of zamora, and Average larger than 0.89?
SELECT AVG Goals FROM table WHERE Team = zamora AND Average > 0.89
Translate the following into a SQL query
What is the sum of Goals win an Average larger than 1?
SELECT COUNT Goals FROM table WHERE Average > 1
Translate the following into a SQL query
What is the smallest Matches with a Goalkeeper of josé bermúdez, and Goals larger than 18?
SELECT MIN Matches FROM table WHERE Goalkeeper = josé bermúdez AND Goals > 18
Translate the following into a SQL query
What is the total of Matches with Goals of 18, and an Average larger than 0.55?
SELECT SUM Matches FROM table WHERE Goals = 18 AND Average > 0.55
Translate the following into a SQL query
What is the largest Average with Goals smaller than 34, Matches larger than 30, and a Team of cultural leonesa?
SELECT MAX Average FROM table WHERE Goals < 34 AND Matches > 30 AND Team = cultural leonesa
Translate the following into a SQL query
Which To par has a Score of 78-74-71-75=298?
SELECT AVG To par FROM table WHERE Score = 78-74-71-75=298
Translate the following into a SQL query
How much To par has a Country of united states, and a Money ($) of 90?
SELECT COUNT To par FROM table WHERE Country = united states AND Money ( $ ) = 90
Translate the following into a SQL query
What is are the highest matches with £5,000 in prize money?
SELECT MAX Matches FROM table WHERE Prize money = £5,000
Translate the following into a SQL query
What is the prize money amount after match 1, with 102 new entries to the round?
SELECT Prize money FROM table WHERE Matches > 1 AND New entries this round = 102
Translate the following into a SQL query
In what place did Darren Clarke finish?
SELECT Place FROM table WHERE Player = darren clarke
Translate the following into a SQL query
What was Ernie Els's score?
SELECT Score FROM table WHERE Player = ernie els
Translate the following into a SQL query
In what place did Tom Lehman finish?
SELECT Place FROM table WHERE Player = tom lehman
Translate the following into a SQL query
In what place did the golfer that scored 68-70-69=207 finish?
SELECT Place FROM table WHERE Score = 68-70-69=207
Translate the following into a SQL query
What were the highest laps for glenn seton gregg hansford?
SELECT MAX Laps FROM table WHERE Drivers = glenn seton gregg hansford
Translate the following into a SQL query
What driver had 101 laps?
SELECT Drivers FROM table WHERE Laps = 101
Translate the following into a SQL query
Gary Barnett who has been in 0 FA Cups plays what position?
SELECT Position FROM table WHERE FA Cup Apps = 0 AND Name = gary barnett
Translate the following into a SQL query
What is the maximum league cup goals when there has been 0 FA cup appearances, and MF is the position, with 1 league appearance, and smaller than 0 total goals?
SELECT MAX League Cup Goals FROM table WHERE FA Cup Apps = 0 AND Position = mf AND League Apps = 1 AND Total Goals < 0
Translate the following into a SQL query
How many FLT appearances for the player with less than 5 total goals, and 3 FA Cup appearances, 4 league goals, and plays MF?
SELECT FLT Apps FROM table WHERE Total Goals < 5 AND FA Cup Apps = 3 AND Position = mf AND League Goals = 4
Translate the following into a SQL query
Who was the opponent when the attendance was 87,453?
SELECT Opponent# FROM table WHERE Attendance = 87,453
Translate the following into a SQL query
What was the attendance when they had a ranking of #4?
SELECT Attendance FROM table WHERE Rank # = 4
Translate the following into a SQL query
What's the average Played for a draw of 5 and more than 43 points?
SELECT AVG Played FROM table WHERE Draw = 5 AND Points > 43
Translate the following into a SQL query
What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth?
SELECT Govt salary FROM table WHERE Romanised name = chen wei-on, kenneth
Translate the following into a SQL query
What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀?
SELECT Portfolio attachment FROM table WHERE age at appointment = 48 AND Chinese name = 梁鳳儀
Translate the following into a SQL query
What is the Romanised name of the Undersecretary with an education portfolio attachment?
SELECT Romanised name FROM table WHERE Portfolio attachment = education
Translate the following into a SQL query
What is the best top 10 when there are fewer than 0 wins?
SELECT MAX Top 10s FROM table WHERE Wins < 0
Translate the following into a SQL query
Where did naylor move from?
SELECT Moving from FROM table WHERE Name = naylor
Translate the following into a SQL query
What type ends in 2011, has a free transfer fee, and is sourced in leeds united?
SELECT Type FROM table WHERE Ends = 2011 AND Transfer fee = free AND Source = leeds united
Translate the following into a SQL query
What is the type of sco country?
SELECT Type FROM table WHERE Country = sco
Translate the following into a SQL query
What is the type that ends in 2009?
SELECT Type FROM table WHERE Ends = 2009
Translate the following into a SQL query
What is the transfer fee of assoumani, who has a summer transfer window?
SELECT Transfer fee FROM table WHERE Transfer window = summer AND Name = assoumani
Translate the following into a SQL query
What is the ends with a free transfer fee and was moved from middlesbrough?
SELECT Ends FROM table WHERE Transfer fee = free AND Moving from = middlesbrough
Translate the following into a SQL query
Which Week has Attendance of 51,558?
SELECT MIN Week FROM table WHERE Attendance = 51,558
Translate the following into a SQL query
Which Attendance has a Result of w 24-14, and a Week smaller than 7?
SELECT SUM Attendance FROM table WHERE Result = w 24-14 AND Week < 7
Translate the following into a SQL query
Which Attendance has an Opponent of at los angeles rams, and a Week larger than 12?
SELECT MAX Attendance FROM table WHERE Opponent = at los angeles rams AND Week > 12
Translate the following into a SQL query
Which method has a record of 4-0?
SELECT Method FROM table WHERE Record = 4-0
Translate the following into a SQL query
What is the record when the method is decision and the location is Martigues, France?
SELECT Record FROM table WHERE Method = decision AND Location = martigues, france
Translate the following into a SQL query
Which location has a method of decision and Nikos Tsoukalas for an opponent?
SELECT Location FROM table WHERE Method = decision AND Opponent = nikos tsoukalas
Translate the following into a SQL query
What is the method when the location is Auckland, New Zealand, Darren Berry as the opponent, and resulted in a win?
SELECT Method FROM table WHERE Location = auckland, new zealand AND Result = win AND Opponent = darren berry
Translate the following into a SQL query
What is the location when the record is 9-7?
SELECT Location FROM table WHERE Record = 9-7
Translate the following into a SQL query
What is the location when KO is the method, the result is a win, and the record is 2-0?
SELECT Location FROM table WHERE Method = ko AND Result = win AND Record = 2-0
Translate the following into a SQL query
What 1:00 pm has a 6:30 pm of local programs, and a 7:30 am of animaniacs?
SELECT 1:00 pm FROM table WHERE 6:30 pm = local programs AND 7:30 am = animaniacs