instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
What is the average number of points of the club with more than 23 goals conceded and a position larger than 12?
|
SELECT AVG Points FROM table WHERE Goals conceded > 23 AND Position > 12
|
Translate the following into a SQL query
|
How many goals did coe get?
|
SELECT MIN Goals FROM table WHERE Name = coe
|
Translate the following into a SQL query
|
What is the total number of ends when the transfer fee was dkk 14m?
|
SELECT COUNT Ends FROM table WHERE Transfer fee = dkk 14m
|
Translate the following into a SQL query
|
Who had a transfer fee of dkk 6m?
|
SELECT Name FROM table WHERE Transfer fee = dkk 6m
|
Translate the following into a SQL query
|
Craig Parry with a score of 68-68=136 is in what place?
|
SELECT Place FROM table WHERE Score = 68-68=136 AND Player = craig parry
|
Translate the following into a SQL query
|
What place is the golfer in who is from Spain?
|
SELECT Place FROM table WHERE Country = spain
|
Translate the following into a SQL query
|
For what country does the golfer play who has a score of 72-65=137?
|
SELECT Country FROM table WHERE Score = 72-65=137
|
Translate the following into a SQL query
|
Golfer Steve Pate is in what place?
|
SELECT Place FROM table WHERE Player = steve pate
|
Translate the following into a SQL query
|
Which Bolton Wanderers career has 293 Apps?
|
SELECT Bolton Wanderers career FROM table WHERE Apps = 293
|
Translate the following into a SQL query
|
Which Bolton Wanderers career has a Total larger than 404, and a Position of fw, and Apps less than 492, and 79 Goals?
|
SELECT Bolton Wanderers career FROM table WHERE Total > 404 AND Position = fw AND Apps < 492 AND Goals = 79
|
Translate the following into a SQL query
|
How many apps have 28 goals, and a Total smaller than 191?
|
SELECT SUM Apps FROM table WHERE Goals = 28 AND Total < 191
|
Translate the following into a SQL query
|
On what Date is Sheffield Wednesday the Home team?
|
SELECT Date FROM table WHERE Home team = sheffield wednesday
|
Translate the following into a SQL query
|
What is the Tie no of the Blackburn Rovers Away game?
|
SELECT Tie no FROM table WHERE Away team = blackburn rovers
|
Translate the following into a SQL query
|
What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2β0?
|
SELECT Away team FROM table WHERE Score = 2β0 AND Home team = wolverhampton wanderers
|
Translate the following into a SQL query
|
What is the Home team at the Blackburn Rovers Away game?
|
SELECT Home team FROM table WHERE Away team = blackburn rovers
|
Translate the following into a SQL query
|
What is the Home team in the game with a Score of 2β3?
|
SELECT Home team FROM table WHERE Score = 2β3
|
Translate the following into a SQL query
|
What is the 1st leg with Team 2 Lyon?
|
SELECT 1st leg FROM table WHERE Team 2 = lyon
|
Translate the following into a SQL query
|
Which team is Team 1 with a Team 2 being Sporting CP?
|
SELECT Team 1 FROM table WHERE Team 2 = sporting cp
|
Translate the following into a SQL query
|
What is the second leg for Team 1 Servette?
|
SELECT 2nd leg FROM table WHERE Team 1 = servette
|
Translate the following into a SQL query
|
What was the 1999 Tournament at the US Open?
|
SELECT 1999 FROM table WHERE Tournament = us open
|
Translate the following into a SQL query
|
What tournament was an A 1988, and a 2R 1999?
|
SELECT Tournament FROM table WHERE 1988 = a AND 1999 = 2r
|
Translate the following into a SQL query
|
What is the 1991 for 2R 1999?
|
SELECT 1991 FROM table WHERE 1999 = 2r
|
Translate the following into a SQL query
|
What is the 1999 for an A 1991, and a 1r 1997?
|
SELECT 1999 FROM table WHERE 1991 = a AND 1997 = 1r
|
Translate the following into a SQL query
|
What is the 1991 with a 2r 1996?
|
SELECT 1991 FROM table WHERE 1996 = 2r
|
Translate the following into a SQL query
|
When was the Attendance larger than 74,382?
|
SELECT Date FROM table WHERE Attendance > 74,382
|
Translate the following into a SQL query
|
Which Opponents have Attendance larger than 10,346, and a Date of 25 november 2008?
|
SELECT Opponents FROM table WHERE Attendance > 10,346 AND Date = 25 november 2008
|
Translate the following into a SQL query
|
Which venue has a status of Five Nations and an against of 22?
|
SELECT Venue FROM table WHERE Status = five nations AND Against = 22
|
Translate the following into a SQL query
|
What is the sum of the rounds of the match with brett chism as the opponent?
|
SELECT SUM Round FROM table WHERE Opponent = brett chism
|
Translate the following into a SQL query
|
What is the lwoest round of wild bill's fight night 21 at 5:00?
|
SELECT MIN Round FROM table WHERE Time = 5:00 AND Event = wild bill's fight night 21
|
Translate the following into a SQL query
|
Which Country has a To par smaller than 7, and a Place of 1?
|
SELECT Country FROM table WHERE To par < 7 AND Place = 1
|
Translate the following into a SQL query
|
Which Place has a Country of australia, and a Score of 70-70-72=212?
|
SELECT Place FROM table WHERE Country = australia AND Score = 70-70-72=212
|
Translate the following into a SQL query
|
What was sweden's score in T9 place?
|
SELECT Score FROM table WHERE Place = t9 AND Country = sweden
|
Translate the following into a SQL query
|
Which To par has a Country of england, and a Place of t9, and a Player of graeme storm?
|
SELECT MAX To par FROM table WHERE Country = england AND Place = t9 AND Player = graeme storm
|
Translate the following into a SQL query
|
What is Distance, when Venue is "Belgrade"?
|
SELECT Distance FROM table WHERE Venue = belgrade
|
Translate the following into a SQL query
|
What is Date, when Athlete is "Yussuf Alli"?
|
SELECT Date FROM table WHERE Athlete = yussuf alli
|
Translate the following into a SQL query
|
What is Distance, when Athlete is "Irving Saladino"?
|
SELECT Distance FROM table WHERE Athlete = irving saladino
|
Translate the following into a SQL query
|
What is Athlete, when Nation is "Nigeria"?
|
SELECT Athlete FROM table WHERE Nation = nigeria
|
Translate the following into a SQL query
|
What is Nation, when Date is "2004-07-22"?
|
SELECT Nation FROM table WHERE Date = 2004-07-22
|
Translate the following into a SQL query
|
What is Distance, when Date is "2008-01-12"?
|
SELECT Distance FROM table WHERE Date = 2008-01-12
|
Translate the following into a SQL query
|
What is the Week of the game with a Result of w 48β20?
|
SELECT Week FROM table WHERE Result = w 48β20
|
Translate the following into a SQL query
|
What is the Record of the game with a Result of l 14β16?
|
SELECT Record FROM table WHERE Result = l 14β16
|
Translate the following into a SQL query
|
What is the Date of the game with a Record of 2β3β1?
|
SELECT Date FROM table WHERE Record = 2β3β1
|
Translate the following into a SQL query
|
What opponent has 32 as the round?
|
SELECT Opponent FROM table WHERE Round = 32
|
Translate the following into a SQL query
|
What year was Kelin nominated?
|
SELECT Year/Ceremony FROM table WHERE English title = kelin
|
Translate the following into a SQL query
|
What was the to par score in the match that had a score of 76-71-78-67=292?
|
SELECT COUNT To par FROM table WHERE Score = 76-71-78-67=292
|
Translate the following into a SQL query
|
What is Robert Allenby's average to par score?
|
SELECT AVG To par FROM table WHERE Player = robert allenby
|
Translate the following into a SQL query
|
Can you tell me the Tournament that has the 2009 of 1r, and the 2012 of w?
|
SELECT Tournament FROM table WHERE 2009 = 1r AND 2012 = w
|
Translate the following into a SQL query
|
Can you tell me the 2010 that has the 2008 of grand slam tournaments?
|
SELECT 2010 FROM table WHERE 2008 = grand slam tournaments
|
Translate the following into a SQL query
|
Can you tell me the 2009 that has the 2011 of A?
|
SELECT 2009 FROM table WHERE 2011 = a
|
Translate the following into a SQL query
|
What is the to par for the player with total of 155?
|
SELECT AVG To par FROM table WHERE Total = 155
|
Translate the following into a SQL query
|
Who won Bronze with Notes of 2.5km, 16controls?
|
SELECT Bronze FROM table WHERE Notes = 2.5km, 16controls
|
Translate the following into a SQL query
|
Who won Gold later than 2004 with Notes of 2.73km, 14controls?
|
SELECT Gold FROM table WHERE Year > 2004 AND Notes = 2.73km, 14controls
|
Translate the following into a SQL query
|
Who won Bronze with notes of 2.5km, 14controls?
|
SELECT Bronze FROM table WHERE Notes = 2.5km, 14controls
|
Translate the following into a SQL query
|
What are the Notes against a Silver for Jenny Johansson earlier than 2006?
|
SELECT Notes FROM table WHERE Year < 2006 AND Silver = jenny johansson
|
Translate the following into a SQL query
|
What is the Constituency number for Meerut?
|
SELECT Constituency number FROM table WHERE Name = meerut
|
Translate the following into a SQL query
|
What is the name for the constituency at number 48?
|
SELECT Name FROM table WHERE Constituency number = 48
|
Translate the following into a SQL query
|
When bronze is more than 3, what is the rank?
|
SELECT Rank FROM table WHERE Bronze > 3
|
Translate the following into a SQL query
|
When rank is 7 and silver is less than 0, what is the total gold?
|
SELECT SUM Gold FROM table WHERE Rank = 7 AND Silver < 0
|
Translate the following into a SQL query
|
What player is from Wales?
|
SELECT Player FROM table WHERE Country = wales
|
Translate the following into a SQL query
|
What player scored 73-68-66=207?
|
SELECT Player FROM table WHERE Score = 73-68-66=207
|
Translate the following into a SQL query
|
What Seve Ballesteros's score?
|
SELECT Score FROM table WHERE Player = seve ballesteros
|
Translate the following into a SQL query
|
What country is Craig Parry from?
|
SELECT Country FROM table WHERE Player = craig parry
|
Translate the following into a SQL query
|
What country has a score of 66-73-69=208?
|
SELECT Country FROM table WHERE Score = 66-73-69=208
|
Translate the following into a SQL query
|
What is Road Team, when Result is "74-71"?
|
SELECT Road Team FROM table WHERE Result = 74-71
|
Translate the following into a SQL query
|
What is Result, when Date is "April 3"?
|
SELECT Result FROM table WHERE Date = april 3
|
Translate the following into a SQL query
|
What is Game, when Road Team is "Syracuse", and when Result is "96-89"?
|
SELECT Game FROM table WHERE Road Team = syracuse AND Result = 96-89
|
Translate the following into a SQL query
|
What is Home Team, when Date is "April 10"?
|
SELECT Home Team FROM table WHERE Date = april 10
|
Translate the following into a SQL query
|
What is Game, when Road Team is "Syracuse", and when Result is "109-82"?
|
SELECT Game FROM table WHERE Road Team = syracuse AND Result = 109-82
|
Translate the following into a SQL query
|
What is Road Team, when Date is "April 10"?
|
SELECT Road Team FROM table WHERE Date = april 10
|
Translate the following into a SQL query
|
What was the earliest round with Neil Colzie and a pick smaller than 24?
|
SELECT MIN Round FROM table WHERE Player = neil colzie AND Pick < 24
|
Translate the following into a SQL query
|
What team had a pick of 24 and an overall pick of 310?
|
SELECT School/Club Team FROM table WHERE Pick = 24 AND Overall Pick = 310
|
Translate the following into a SQL query
|
What was the score of the replay game when watford was the away team?
|
SELECT Score FROM table WHERE Tie no = replay AND Away team = watford
|
Translate the following into a SQL query
|
Who was the home team when walsall was the away team?
|
SELECT Home team FROM table WHERE Away team = walsall
|
Translate the following into a SQL query
|
What is Name, when Venue is "Hong Kong"?
|
SELECT Name FROM table WHERE Venue = hong kong
|
Translate the following into a SQL query
|
What is Name, when Venue is "Motherwell"?
|
SELECT Name FROM table WHERE Venue = motherwell
|
Translate the following into a SQL query
|
In 1987, what is the Runners-up when Stefan Edberg is Champion?
|
SELECT Runners-up FROM table WHERE Champions = stefan edberg AND Year = 1987
|
Translate the following into a SQL query
|
What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament?
|
SELECT Runners-up FROM table WHERE Champions = ivan lendl AND Name of Tournament = seiko super tennis AND Year < 1990
|
Translate the following into a SQL query
|
In What Tournament did Boris Becker have a Score of 7β6, 6β4?
|
SELECT Name of Tournament FROM table WHERE Champions = boris becker AND Score = 7β6, 6β4
|
Translate the following into a SQL query
|
What is the external weapon with the falcon shield animal?
|
SELECT External weapon FROM table WHERE Shield animal = falcon
|
Translate the following into a SQL query
|
What cart has a serpent shield animal?
|
SELECT Cart FROM table WHERE Shield animal = serpent
|
Translate the following into a SQL query
|
What is the external weapon of knight zeke?
|
SELECT External weapon FROM table WHERE Knight = zeke
|
Translate the following into a SQL query
|
What is the shield animal of knight phil?
|
SELECT Shield animal FROM table WHERE Knight = phil
|
Translate the following into a SQL query
|
What is the external weapon with a ramhead cart?
|
SELECT External weapon FROM table WHERE Cart = ramhead cart
|
Translate the following into a SQL query
|
On what date was the away team Sheffield Wednesday?
|
SELECT Date FROM table WHERE Away team = sheffield wednesday
|
Translate the following into a SQL query
|
What was the tie number for the game with an away team of Hartlepool United?
|
SELECT Tie no FROM table WHERE Away team = hartlepool united
|
Translate the following into a SQL query
|
What was the score in Tie number 16?
|
SELECT Score FROM table WHERE Tie no = 16
|
Translate the following into a SQL query
|
What is the duration of the commissioner from the zeeland province?
|
SELECT Duration FROM table WHERE Province = zeeland
|
Translate the following into a SQL query
|
Which round has an H/A of H?
|
SELECT Round FROM table WHERE H / A = h
|
Translate the following into a SQL query
|
Rich round has an H/A of A and the opponent Sheffield United?
|
SELECT Round FROM table WHERE H / A = a AND Opponents = sheffield united
|
Translate the following into a SQL query
|
What is the population (2008) when the capital was Sanniquellie, created later than 1964?
|
SELECT SUM Population (2008) FROM table WHERE Capital = sanniquellie AND Created > 1964
|
Translate the following into a SQL query
|
What is the highest population (2008) created earlier than 1857, and the county was Sinoe?
|
SELECT MAX Population (2008) FROM table WHERE Created < 1857 AND County = sinoe
|
Translate the following into a SQL query
|
What is the earliest created year when the map# was 10?
|
SELECT MIN Created FROM table WHERE map# = 10
|
Translate the following into a SQL query
|
What is the Venue of the game with a Score of 0β0?
|
SELECT Venue FROM table WHERE Score = 0β0
|
Translate the following into a SQL query
|
What is the Venue of the Friendly Competition with a Score of 1β4?
|
SELECT Venue FROM table WHERE Competition = friendly AND Score = 1β4
|
Translate the following into a SQL query
|
What is the Venue of the WCQ5 Competition?
|
SELECT Venue FROM table WHERE Competition = wcq5
|
Translate the following into a SQL query
|
What is the Date of the Competition with a Score of 2β0?
|
SELECT Date FROM table WHERE Score = 2β0
|
Translate the following into a SQL query
|
What is the Venue of the Competition with a Score of 0β2?
|
SELECT Venue FROM table WHERE Score = 0β2
|
Translate the following into a SQL query
|
What is the Venue of the Competition with a Score of 2β0?
|
SELECT Venue FROM table WHERE Score = 2β0
|
Translate the following into a SQL query
|
What is the binary meaning for symbol p?
|
SELECT Binary meaning FROM table WHERE Symbol = p
|
Translate the following into a SQL query
|
What;s the SI Meaning for symbol m?
|
SELECT SI Meaning FROM table WHERE Symbol = m
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.