instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What week has a date of September 3, 2000?
SELECT AVG Week FROM table WHERE Date = september 3, 2000
Translate the following into a SQL query
Who was the home team when Hawthorn was the away team?
SELECT Home team FROM table WHERE Away team = hawthorn
Translate the following into a SQL query
Who was the away team when the home team scored 11.14 (80)?
SELECT Away team FROM table WHERE Home team score = 11.14 (80)
Translate the following into a SQL query
What was Fitzroy's score when they were the away team?
SELECT Away team score FROM table WHERE Away team = fitzroy
Translate the following into a SQL query
What was #7 BMW's speed?
SELECT Speed FROM table WHERE Team = bmw AND Rank = 7
Translate the following into a SQL query
What was the crowd size in the match South Melbourne played at home?
SELECT Crowd FROM table WHERE Home team = south melbourne
Translate the following into a SQL query
What was the away team's score at Western Oval?
SELECT Away team score FROM table WHERE Venue = western oval
Translate the following into a SQL query
What was the date when the away team scored 9.16 (70)?
SELECT Date FROM table WHERE Away team score = 9.16 (70)
Translate the following into a SQL query
What was the crowd size when Essendon was the away team?
SELECT COUNT Crowd FROM table WHERE Away team = essendon
Translate the following into a SQL query
What was the home team that scored 13.13 (91) in front of a crowd larger than 10,000?
SELECT Home team FROM table WHERE Crowd > 10,000 AND Home team score = 13.13 (91)
Translate the following into a SQL query
On what date was the time of 16:24.12 achieved?
SELECT Date FROM table WHERE Time = 16:24.12
Translate the following into a SQL query
What year did the Capital City Giants have a game with the final score of 8-0?
SELECT AVG Year FROM table WHERE Team = capital city giants AND Score = 8-0
Translate the following into a SQL query
What team lost a game by a score of 6-0?
SELECT Runner-up FROM table WHERE Score = 6-0
Translate the following into a SQL query
What teams played in Capital Bowl IV?
SELECT Team FROM table WHERE Game = capital bowl iv
Translate the following into a SQL query
What team defeated the Capital City Giants?
SELECT Team FROM table WHERE Runner-up = capital city giants
Translate the following into a SQL query
What is the total tenure rank of the person with an uninterrupted time of 49 years, 349 days?
SELECT Total tenure rank FROM table WHERE Uninterrupted time = 49 years, 349 days
Translate the following into a SQL query
What is the total tenure time of Warren Magnuson, who had an uninterrupted rank larger than 4 and a total tenure rank larger than 9?
SELECT Total tenure time FROM table WHERE Uninterrupted rank > 4 AND Total tenure rank > 9 AND Name = warren magnuson
Translate the following into a SQL query
What round was the overall 63 drafted?
SELECT COUNT Round FROM table WHERE Overall = 63
Translate the following into a SQL query
What is the Swedish name for South Karelia?
SELECT In Swedish FROM table WHERE In English = south karelia
Translate the following into a SQL query
What was the home team in the match where the away team scored 15.12 (102)?
SELECT Home team FROM table WHERE Away team score = 15.12 (102)
Translate the following into a SQL query
What home team plays at Arden Street Oval?
SELECT Home team FROM table WHERE Venue = arden street oval
Translate the following into a SQL query
Who has a Jump 2 of 7.06, and what is this person's Jump 3?
SELECT Jump 3 FROM table WHERE Jump 2 = 7.06
Translate the following into a SQL query
Who has an x under Jump 1, a Jump 2 of 7.28, and what is this person's Best Jump?
SELECT Best Jump FROM table WHERE Jump 1 = x AND Jump 2 = 7.28
Translate the following into a SQL query
What is the Jump 2 of the person that has a Jump 3 of 7.77?
SELECT Jump 2 FROM table WHERE Jump 3 = 7.77
Translate the following into a SQL query
What is the Jump 2 of the person that has a Jump 1 of 7.14
SELECT Jump 2 FROM table WHERE Jump 1 = 7.14
Translate the following into a SQL query
Which player from Tucson, Arizona won the Championship?
SELECT Champion FROM table WHERE City = tucson, arizona
Translate the following into a SQL query
What was the final score of the player from Inglewood, California?
SELECT Score FROM table WHERE City = inglewood, california
Translate the following into a SQL query
What tour was cancelled?
SELECT Name FROM table WHERE Date = cancelled
Translate the following into a SQL query
Who won the Fedex tour of Calabarzon?
SELECT Winner FROM table WHERE Name = fedex tour of calabarzon
Translate the following into a SQL query
What year has the time of 55:29:20?
SELECT COUNT Year FROM table WHERE Time = 55:29:20
Translate the following into a SQL query
What was the score when Mark parterned with lorenzo manta?
SELECT Score FROM table WHERE Partner = lorenzo manta
Translate the following into a SQL query
Who was his partner when he played on carpet?
SELECT Partner FROM table WHERE Surface = carpet
Translate the following into a SQL query
When did he play with peter nyborg?
SELECT Date FROM table WHERE Partner = peter nyborg
Translate the following into a SQL query
What day did he play on hard with tom mercer?
SELECT Date FROM table WHERE Surface = hard AND Partner = tom mercer
Translate the following into a SQL query
What was the week 2's record?
SELECT Record FROM table WHERE Week = 2
Translate the following into a SQL query
What was week 12's record?
SELECT Record FROM table WHERE Week = 12
Translate the following into a SQL query
What was the Bye week attendance?
SELECT Attendance FROM table WHERE Record = bye
Translate the following into a SQL query
When was the kickoff time of the SB XXXVI?
SELECT Kickoff FROM table WHERE Week = sb xxxvi
Translate the following into a SQL query
What was the home team score for the game played at Princes Park?
SELECT Home team score FROM table WHERE Venue = princes park
Translate the following into a SQL query
What event had a time of 6:37.73?
SELECT Event FROM table WHERE Time = 6:37.73
Translate the following into a SQL query
What is the time for the 50m breaststroke?
SELECT Time FROM table WHERE Event = 50m breaststroke
Translate the following into a SQL query
What age group has a time of 6:37.73 at the 200m breaststroke?
SELECT Age Group FROM table WHERE Event = 200m breaststroke AND Time = 6:37.73
Translate the following into a SQL query
What date did the 90-94 year old have a tie of 1:25.91 at the LC pool?
SELECT Date FROM table WHERE Age Group = 90-94 AND Pool = lc AND Time = 1:25.91
Translate the following into a SQL query
How many point totals are there that rank higher than 9 and have a PPG avg higher than 13.4?
SELECT COUNT Total Points FROM table WHERE Rank > 9 AND PPG Avg. > 13.4
Translate the following into a SQL query
How many players played over 125 games and were named david gonzalvez?
SELECT COUNT Rank FROM table WHERE Games > 125 AND Player = david gonzalvez
Translate the following into a SQL query
Which host university is based in Missoula?
SELECT Host FROM table WHERE City = missoula
Translate the following into a SQL query
What state is the city of Ruston in?
SELECT State FROM table WHERE City = ruston
Translate the following into a SQL query
Which mideast regional state contains the city of Seattle?
SELECT State FROM table WHERE Region = mideast AND City = seattle
Translate the following into a SQL query
Which region does Old Dominion University represent?
SELECT Region FROM table WHERE Host = old dominion university
Translate the following into a SQL query
Which state is University of Tennessee based in?
SELECT State FROM table WHERE Host = university of tennessee
Translate the following into a SQL query
What was the grid for Bruno Junqueira for Dale Coyne Racing?
SELECT Grid FROM table WHERE Team = dale coyne racing AND Driver = bruno junqueira
Translate the following into a SQL query
What were the highest points for less than 78 laps and on grid 5?
SELECT MAX Points FROM table WHERE Grid = 5 AND Laps < 78
Translate the following into a SQL query
How many were in the crowd at the Junction Oval venue?
SELECT Crowd FROM table WHERE Venue = junction oval
Translate the following into a SQL query
What was the away team score in the game at Arden Street Oval?
SELECT Away team score FROM table WHERE Venue = arden street oval
Translate the following into a SQL query
What was the date of the Arden Street Oval game?
SELECT Date FROM table WHERE Venue = arden street oval
Translate the following into a SQL query
What was the away team's score during the match where the crowd was larger than 25,819 and the home team scored 14.10 (94)?
SELECT Away team score FROM table WHERE Crowd > 25,819 AND Home team score = 14.10 (94)
Translate the following into a SQL query
What is the sum of all the crowds at matches where the away team's score was 7.6 (48)?
SELECT SUM Crowd FROM table WHERE Away team score = 7.6 (48)
Translate the following into a SQL query
What venue saw a crowd larger than 29,840?
SELECT Venue FROM table WHERE Crowd > 29,840
Translate the following into a SQL query
When does week 11 start?
SELECT Date FROM table WHERE Week = 11
Translate the following into a SQL query
Which week starts on December 28, 1997?
SELECT Week FROM table WHERE Date = december 28, 1997
Translate the following into a SQL query
When does week 1 start?
SELECT Date FROM table WHERE Week = 1
Translate the following into a SQL query
Who one in the Tampa Bay Buccaneers?
SELECT Result FROM table WHERE Opponent = tampa bay buccaneers
Translate the following into a SQL query
Which week starts on November 23, 1997?
SELECT Week FROM table WHERE Date = november 23, 1997
Translate the following into a SQL query
Who is the home team that scored 8.15 (63)?
SELECT Home team FROM table WHERE Home team score = 8.15 (63)
Translate the following into a SQL query
Who is the away team when the home team was Fitzroy?
SELECT Away team FROM table WHERE Home team = fitzroy
Translate the following into a SQL query
What was Melbourne's score when they were the home team?
SELECT Home team score FROM table WHERE Home team = melbourne
Translate the following into a SQL query
What is the date of the game where Collingwood was the home team?
SELECT Date FROM table WHERE Home team = collingwood
Translate the following into a SQL query
Who watches North Melbourne when they are away?
SELECT Crowd FROM table WHERE Away team = north melbourne
Translate the following into a SQL query
What Away team is visiting Carlton?
SELECT Away team FROM table WHERE Home team = carlton
Translate the following into a SQL query
What team has Windy Hill as their home venue
SELECT Home team score FROM table WHERE Venue = windy hill
Translate the following into a SQL query
When richmond played away, what was the largest number of people who watched?
SELECT MAX Crowd FROM table WHERE Away team = richmond
Translate the following into a SQL query
Which country is ranked higher than 68, with a city named Santa Fe and a stadium that has a capacity of 32,000?
SELECT Country FROM table WHERE Rank > 68 AND Capacity = 32,000 AND City = santa fe
Translate the following into a SQL query
What is the capacity of the stadium with a rank lower than 31 located in the city of Belém ?
SELECT Capacity FROM table WHERE Rank < 31 AND City = belém
Translate the following into a SQL query
What is the sum of week(s) with an attendance of 30,751?
SELECT SUM Week FROM table WHERE Attendance = 30,751
Translate the following into a SQL query
On what date did the home team Essendon play?
SELECT Date FROM table WHERE Home team = essendon
Translate the following into a SQL query
What was South Melbourne's home team score?
SELECT Home team score FROM table WHERE Home team = south melbourne
Translate the following into a SQL query
On what date was the venue of Glenferrie Oval?
SELECT Date FROM table WHERE Venue = glenferrie oval
Translate the following into a SQL query
What was the score for the away team when the home team scored 10.11 (71)?
SELECT Away team score FROM table WHERE Home team score = 10.11 (71)
Translate the following into a SQL query
What was the score for the away team when they played collingwood?
SELECT Away team score FROM table WHERE Home team = collingwood
Translate the following into a SQL query
What was the score when essendon was the home team?
SELECT Home team score FROM table WHERE Home team = essendon
Translate the following into a SQL query
What is the date of the game where Richmond was the away team?
SELECT Date FROM table WHERE Away team = richmond
Translate the following into a SQL query
Who was the home team when Carlton was the away team?
SELECT Home team FROM table WHERE Away team = carlton
Translate the following into a SQL query
Which home team played against Hawthorn?
SELECT Home team score FROM table WHERE Away team = hawthorn
Translate the following into a SQL query
What date did the Geelong team play on as a home team?
SELECT Date FROM table WHERE Home team = geelong
Translate the following into a SQL query
What school/club team did the player who was drafted after round 13 with an overall rank of 384 play for?
SELECT School/Club Team FROM table WHERE Round > 13 AND Overall = 384
Translate the following into a SQL query
What is the largest overall rank for a center drafted before round 10?
SELECT MAX Overall FROM table WHERE Position = center AND Round < 10
Translate the following into a SQL query
What position does the player from Texas State who was drafted before round 11 with an overall rank lower than 306 play?
SELECT Position FROM table WHERE Overall < 306 AND Round < 11 AND School/Club Team = texas state
Translate the following into a SQL query
What is the average overall rank of all players drafted from Duke after round 9?
SELECT AVG Overall FROM table WHERE School/Club Team = duke AND Round > 9
Translate the following into a SQL query
What is the sum of all rounds where a Tennessee State player with an overall rank less than 261 was drafted?
SELECT COUNT Round FROM table WHERE School/Club Team = tennessee state AND Overall < 261
Translate the following into a SQL query
What is the highest overall rank of any Tennessee State player drafted before round 10?
SELECT MIN Overall FROM table WHERE School/Club Team = tennessee state AND Round < 10
Translate the following into a SQL query
How many rounds did Blane Smith play linebacker?
SELECT COUNT Round FROM table WHERE Position = linebacker AND Player = blane smith
Translate the following into a SQL query
How many times was Arizona the team and the round was bigger than 11?
SELECT COUNT Overall FROM table WHERE School/Club Team = arizona AND Round > 11
Translate the following into a SQL query
What is the result of the game after week 5 against the st. louis rams?
SELECT Result FROM table WHERE Week > 5 AND Opponent = st. louis rams
Translate the following into a SQL query
What day did they play on week 4?
SELECT Date FROM table WHERE Week = 4
Translate the following into a SQL query
What is the largest crowd at princes park?
SELECT MAX Crowd FROM table WHERE Venue = princes park
Translate the following into a SQL query
What day is north melbourne the away side?
SELECT Date FROM table WHERE Away team = north melbourne
Translate the following into a SQL query
What day is essendon the home team?
SELECT Date FROM table WHERE Home team = essendon
Translate the following into a SQL query
What away side scores 11.10 (76)?
SELECT Away team FROM table WHERE Away team score = 11.10 (76)
Translate the following into a SQL query
How many games had an assist number greater than 54?
SELECT SUM Games FROM table WHERE Assist > 54
Translate the following into a SQL query
Which years did the USA have a rank lower than 6 and an assist number less than 26?
SELECT Years FROM table WHERE Assist < 26 AND Rank < 6 AND Nation = usa