instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What year was stage 8 reached?
SELECT Year FROM table WHERE Stages = 8
Translate the following into a SQL query
What is the lowest number of bronze medals for teams ranked below 13?
SELECT MIN Bronze FROM table WHERE Rank > 13
Translate the following into a SQL query
How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals?
SELECT COUNT Gold FROM table WHERE Bronze = 3 AND Rank > 7 AND Total < 5
Translate the following into a SQL query
What is the lowest score in the Highest score column when Master P was the Worst dancer(s), Drew Lachey was the Best dancer(s), and the Lowest score was under 8?
SELECT MIN Highest score FROM table WHERE Worst dancer(s) = master p AND Best dancer(s) = drew lachey AND Lowest score < 8
Translate the following into a SQL query
Which of the Worst dancer(s) has the Lowest score of 14?
SELECT Worst dancer(s) FROM table WHERE Lowest score = 14
Translate the following into a SQL query
What is the Dance with the Highest score under 30 and Stacy Keibler as the Best dancer(s)?
SELECT Dance FROM table WHERE Highest score < 30 AND Best dancer(s) = stacy keibler
Translate the following into a SQL query
What is the lowest of the Highest score for the Quickstep Dance and the Lowest score under 16?
SELECT MIN Highest score FROM table WHERE Dance = quickstep AND Lowest score < 16
Translate the following into a SQL query
What is his record at ufc 67?
SELECT Record FROM table WHERE Event = ufc 67
Translate the following into a SQL query
What is his record at ufc 115?
SELECT Record FROM table WHERE Event = ufc 115
Translate the following into a SQL query
Which opponent had an attendance of 40,070?
SELECT Opponent FROM table WHERE Attendance = 40,070
Translate the following into a SQL query
What's the result for the game held on December 27, 2004 with a week greater than 2?
SELECT Result FROM table WHERE Week > 2 AND Date = december 27, 2004
Translate the following into a SQL query
Who was the opponent for week 6?
SELECT Opponent FROM table WHERE Week = 6
Translate the following into a SQL query
Which opponent had the result of W 24-14?
SELECT Opponent FROM table WHERE Result = w 24-14
Translate the following into a SQL query
What's the attendance for the game held on January 2, 2005?
SELECT Attendance FROM table WHERE Date = january 2, 2005
Translate the following into a SQL query
Which had an attendance of larger than 33,435?
SELECT Result FROM table WHERE Attendance > 33,435
Translate the following into a SQL query
Which team lost under interim head coach, Dewayne Walker?
SELECT Team FROM table WHERE Result = lost AND Interim head coach = dewayne walker
Translate the following into a SQL query
What was the result under interim head coach, Gary Darnell?
SELECT Result FROM table WHERE Interim head coach = gary darnell
Translate the following into a SQL query
What was the result in 2008 under head coach Mike Sherman?
SELECT Result FROM table WHERE 2008 head coach = mike sherman
Translate the following into a SQL query
What team has a bowl of humanitarian?
SELECT Team FROM table WHERE Bowl = humanitarian
Translate the following into a SQL query
What is the result under the season coach Rich Rodriguez?
SELECT Result FROM table WHERE Season coach = rich rodriguez
Translate the following into a SQL query
Who is the 2008 head coach of UCLA?
SELECT 2008 head coach FROM table WHERE Team = ucla
Translate the following into a SQL query
In what score did the match against Marcos Daniel end?
SELECT Score FROM table WHERE Opponent in the final = marcos daniel
Translate the following into a SQL query
What was the score of the game played on a clay surface on June 6, 2005?
SELECT Score FROM table WHERE Surface = clay AND Date = june 6, 2005
Translate the following into a SQL query
On what date did the match against Flavio Cipolla, played on a clay surface, occur?
SELECT Date FROM table WHERE Surface = clay AND Opponent in the final = flavio cipolla
Translate the following into a SQL query
Which home team had a home team score of 15.8 (98)?
SELECT Home team FROM table WHERE Home team score = 15.8 (98)
Translate the following into a SQL query
What was Fitzroy's score when they were the home team?
SELECT Home team score FROM table WHERE Home team = fitzroy
Translate the following into a SQL query
Who was the home team when the away team had a score of 11.18 (84)?
SELECT Home team FROM table WHERE Away team score = 11.18 (84)
Translate the following into a SQL query
Where was the Hawthorn game played?
SELECT Venue FROM table WHERE Away team = hawthorn
Translate the following into a SQL query
What was the away teams score at Princes Park?
SELECT Away team score FROM table WHERE Venue = princes park
Translate the following into a SQL query
Which Rider finished with a speed of 81.91mph?
SELECT Rider FROM table WHERE Speed = 81.91mph
Translate the following into a SQL query
Which Rider finished with a speed of 80.18mph?
SELECT Rider FROM table WHERE Speed = 80.18mph
Translate the following into a SQL query
What is the home team's score at princes park?
SELECT Home team score FROM table WHERE Venue = princes park
Translate the following into a SQL query
What is the largest crowd when the home team scores 16.16 (112)?
SELECT MAX Crowd FROM table WHERE Home team score = 16.16 (112)
Translate the following into a SQL query
What is the venue for the Footscray home team?
SELECT Venue FROM table WHERE Home team = footscray
Translate the following into a SQL query
Which home team's venue is Windy Hill?
SELECT Home team FROM table WHERE Venue = windy hill
Translate the following into a SQL query
What is the score for Hawthorn as an away team?
SELECT Away team score FROM table WHERE Away team = hawthorn
Translate the following into a SQL query
What is the score of the away team when the home team is Essendon?
SELECT Away team score FROM table WHERE Home team = essendon
Translate the following into a SQL query
What date was the Home team fitzroy?
SELECT Date FROM table WHERE Home team = fitzroy
Translate the following into a SQL query
What is the largest crowd when st kilda was the away team?
SELECT MAX Crowd FROM table WHERE Away team = st kilda
Translate the following into a SQL query
What was the score of essendon when they were the away team?
SELECT Away team score FROM table WHERE Away team = essendon
Translate the following into a SQL query
What is the home team when there were more than 13,000 in the crowd at brunswick street oval?
SELECT Home team FROM table WHERE Crowd > 13,000 AND Venue = brunswick street oval
Translate the following into a SQL query
What away team played when the home team scoreed 5.7 (37)?
SELECT Away team FROM table WHERE Home team score = 5.7 (37)
Translate the following into a SQL query
What home team played at the western oval?
SELECT Home team FROM table WHERE Venue = western oval
Translate the following into a SQL query
Which mid-hill zone has a slightly warm temperature?
SELECT High hill zone FROM table WHERE Mid-Hill Zone = slightly warm temperature
Translate the following into a SQL query
Which one took place on December 3, 1995?
SELECT Result FROM table WHERE Date = december 3, 1995
Translate the following into a SQL query
Who was the opponent of the New Orleans Saints?
SELECT Result FROM table WHERE Opponent = new orleans saints
Translate the following into a SQL query
What grid has 23 laps done by Josh Brookes?
SELECT Grid FROM table WHERE Laps = 23 AND Rider = josh brookes
Translate the following into a SQL query
What is noriyuki haga's time?
SELECT Time FROM table WHERE Rider = noriyuki haga
Translate the following into a SQL query
What laps have a Time of +28.778?
SELECT Laps FROM table WHERE Time = +28.778
Translate the following into a SQL query
Where was the game held where Hawthorn was the away team?
SELECT Venue FROM table WHERE Away team = hawthorn
Translate the following into a SQL query
What was the date of the game when Richmond was the home team?
SELECT Date FROM table WHERE Home team = richmond
Translate the following into a SQL query
Who was the home team at the game played at Kardinia Park?
SELECT Home team FROM table WHERE Venue = kardinia park
Translate the following into a SQL query
What is the away team score when the venue was Western Oval?
SELECT Away team score FROM table WHERE Venue = western oval
Translate the following into a SQL query
What is the date of the game with an away team score of 6.12 (48)?
SELECT Date FROM table WHERE Away team score = 6.12 (48)
Translate the following into a SQL query
What is the away team when the away team score is 8.17 (65)?
SELECT Away team FROM table WHERE Away team score = 8.17 (65)
Translate the following into a SQL query
What is the date of the game when the venue is MCG?
SELECT Date FROM table WHERE Venue = mcg
Translate the following into a SQL query
What is the home team score when the away team is Essendon?
SELECT Home team score FROM table WHERE Away team = essendon
Translate the following into a SQL query
What is the name of the away team whose venue is Kardinia Park?
SELECT Away team FROM table WHERE Venue = kardinia park
Translate the following into a SQL query
What was the result when they were on a bye week?
SELECT Result FROM table WHERE Stadium = bye week
Translate the following into a SQL query
What was the result when the attendance was 25,418?
SELECT Result FROM table WHERE Attendance = 25,418
Translate the following into a SQL query
Which of the Latest version was released on Release date 1987-12-09?
SELECT Latest version FROM table WHERE Release date = 1987-12-09
Translate the following into a SQL query
Which Source model has a 16-bit* Architecture?
SELECT Source model FROM table WHERE Architecture = 16-bit*
Translate the following into a SQL query
Which of the Latest version had a 16-bit Architecture and was released on Release date 1985-11-20?
SELECT Latest version FROM table WHERE Architecture = 16-bit AND Release date = 1985-11-20
Translate the following into a SQL query
Which Architecture was released on Release date 1988-05-27?
SELECT Architecture FROM table WHERE Release date = 1988-05-27
Translate the following into a SQL query
Which Source model has a Release date of 1992-04-06?
SELECT Source model FROM table WHERE Release date = 1992-04-06
Translate the following into a SQL query
Who is the away side when collingwood is at home?
SELECT Away team FROM table WHERE Home team = collingwood
Translate the following into a SQL query
Who is the home team at arden street oval?
SELECT Home team FROM table WHERE Venue = arden street oval
Translate the following into a SQL query
Who is the home team that scores 12.10 (82)?
SELECT Home team FROM table WHERE Home team score = 12.10 (82)
Translate the following into a SQL query
What is the WPW freq with a day power of 250?
SELECT SUM Freq FROM table WHERE Owner = wpw AND Day Power ( W ) > 250
Translate the following into a SQL query
What is the Triad frew with a day power of 5,000?
SELECT COUNT Freq FROM table WHERE Day Power ( W ) = 5,000 AND Owner = triad
Translate the following into a SQL query
Is WPEO in stereo?
SELECT Stereo FROM table WHERE Call = wpeo
Translate the following into a SQL query
What is Park Tae-Hwan's final time?
SELECT Time FROM table WHERE Name = park tae-hwan
Translate the following into a SQL query
What was the largest crowd for an away Carlton game?
SELECT MAX Crowd FROM table WHERE Away team = carlton
Translate the following into a SQL query
Who was the home team for the game played at Corio Oval?
SELECT Home team FROM table WHERE Venue = corio oval
Translate the following into a SQL query
Who was the home team for the game where the away team scored 16.8 (104) and the crowd was over 12,000?
SELECT Home team FROM table WHERE Crowd > 12,000 AND Away team score = 16.8 (104)
Translate the following into a SQL query
What was the crowd size at the game where the home team scored 12.17 (89)?
SELECT AVG Crowd FROM table WHERE Home team score = 12.17 (89)
Translate the following into a SQL query
What is the Euro for a ticket with a Price per "Within" Day of &0 8?
SELECT SUM Price in Euro FROM table WHERE Price per "Within" Day = &0 8
Translate the following into a SQL query
What is the lowest Euro for a ticket with a price per valid day of & 34?
SELECT MIN Price in Euro FROM table WHERE Price per Valid Day = & 34
Translate the following into a SQL query
The safety position is represented in the draft by which colleges?
SELECT College FROM table WHERE Position = safety
Translate the following into a SQL query
In how many rounds of the draft was there a college from Georgia involved?
SELECT COUNT Round FROM table WHERE College = georgia
Translate the following into a SQL query
What is the Time of Driver Jan Heylen (r)?
SELECT Time/Retired FROM table WHERE Driver = jan heylen (r)
Translate the following into a SQL query
What Grid has Driver Cristiano da Matta?
SELECT Grid FROM table WHERE Driver = cristiano da matta
Translate the following into a SQL query
Which Driver has less than 84 laps, more than 9 points and is on Rocketsports Racing Team?
SELECT Driver FROM table WHERE Laps < 84 AND Points > 9 AND Team = rocketsports racing
Translate the following into a SQL query
Which team has less than 73 laps and a gearbox time?
SELECT Team FROM table WHERE Laps < 73 AND Time/Retired = gearbox
Translate the following into a SQL query
What is the car with the lowest extinct year that has a NBR class of 32?
SELECT MIN Extinct FROM table WHERE NBR class = 32
Translate the following into a SQL query
What is the home team that played at Corio Oval?
SELECT Home team FROM table WHERE Venue = corio oval
Translate the following into a SQL query
At which venue did the home team score 12.15 (87)?
SELECT Venue FROM table WHERE Home team score = 12.15 (87)
Translate the following into a SQL query
At which venue did the away team score 15.9 (99)?
SELECT Venue FROM table WHERE Away team score = 15.9 (99)
Translate the following into a SQL query
On which date was St Kilda the home team?
SELECT Date FROM table WHERE Home team = st kilda
Translate the following into a SQL query
What is the Austin record of Kansas State?
SELECT at Austin FROM table WHERE Texas vs. = kansas state
Translate the following into a SQL query
What was the result of the last 5 meetings for a team with an L 1 streak?
SELECT Last 5 Meetings FROM table WHERE Current Streak = l 1
Translate the following into a SQL query
Who is the partner on a date later than 1971 who is the runner-up with a score of 3–6, 3–6?
SELECT Partner FROM table WHERE Date > 1971 AND Outcome = runner-up AND Score in the final = 3–6, 3–6
Translate the following into a SQL query
What is the first year that Mario Lemieux from Canada won playing center?
SELECT MIN Year FROM table WHERE Country = canada AND Position = center AND Player = mario lemieux
Translate the following into a SQL query
What country did mario lemieux play for in 1994?
SELECT Country FROM table WHERE Player = mario lemieux AND Year = 1994
Translate the following into a SQL query
What player played center in 2010?
SELECT Player FROM table WHERE Position = center AND Year = 2010
Translate the following into a SQL query
What is the drop number on 10/02/2007?
SELECT Drop FROM table WHERE Date = 10/02/2007
Translate the following into a SQL query
What is the drop number on 08/06/2011?
SELECT Drop FROM table WHERE Date = 08/06/2011
Translate the following into a SQL query
How many drops occurred with 0 pens and Fangatapu Apikotoa playing?
SELECT Drop FROM table WHERE Pens = 0 AND Player = fangatapu apikotoa
Translate the following into a SQL query
Who is the player associated with the Esher venue?
SELECT Player FROM table WHERE Venue = esher
Translate the following into a SQL query
What is the conversion number with 0 drops on 02/07/2011?
SELECT Conv FROM table WHERE Drop = 0 AND Date = 02/07/2011