instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who was the opponent when the time was 1:47?
SELECT Opponent FROM table WHERE Time = 1:47
Translate the following into a SQL query
What venue did South Melbourne play as the away team?
SELECT Venue FROM table WHERE Away team = south melbourne
Translate the following into a SQL query
What was the home team's score at the match in front of 19,115 at Punt Road Oval?
SELECT Home team score FROM table WHERE Crowd > 19,115 AND Venue = punt road oval
Translate the following into a SQL query
What was the away team's score in the match at Victoria Park?
SELECT Away team score FROM table WHERE Venue = victoria park
Translate the following into a SQL query
What was thome home team whose opponent scored 9.14 (68) in front of 19,115?
SELECT Home team FROM table WHERE Crowd > 19,115 AND Away team score = 9.14 (68)
Translate the following into a SQL query
Which position has a Round of 7, and a College of kansas state?
SELECT Position FROM table WHERE Round = 7 AND College = kansas state
Translate the following into a SQL query
How many rounds have an Overall larger than 17, and a Position of quarterback?
SELECT COUNT Round FROM table WHERE Overall > 17 AND Position = quarterback
Translate the following into a SQL query
Which average overall has a Round of 1, and a Position of center?
SELECT AVG Overall FROM table WHERE Round = 1 AND Position = center
Translate the following into a SQL query
Where did North Melbourne play as the home team?
SELECT Venue FROM table WHERE Home team = north melbourne
Translate the following into a SQL query
What was the attendance when VFL played MCG?
SELECT MAX Crowd FROM table WHERE Venue = mcg
Translate the following into a SQL query
What was the home team score when the away team scored 10.10 (70)?
SELECT Home team score FROM table WHERE Away team score = 10.10 (70)
Translate the following into a SQL query
How many people were in the crowd when the away team scored 9.12 (66)?
SELECT Crowd FROM table WHERE Away team score = 9.12 (66)
Translate the following into a SQL query
What was the score of the away team when they played at Windy Hill?
SELECT Away team score FROM table WHERE Venue = windy hill
Translate the following into a SQL query
How large was the crowd when the away team was melbourne?
SELECT Crowd FROM table WHERE Away team = melbourne
Translate the following into a SQL query
How many people watched a Glenferrie Oval?
SELECT COUNT Crowd FROM table WHERE Venue = glenferrie oval
Translate the following into a SQL query
How faced Geelong at home?
SELECT Away team score FROM table WHERE Home team = geelong
Translate the following into a SQL query
How many people watch Essendon as an away team?
SELECT SUM Crowd FROM table WHERE Away team = essendon
Translate the following into a SQL query
Where did South Melbourne go to play a team at home?
SELECT Home team FROM table WHERE Away team = south melbourne
Translate the following into a SQL query
Where did a home team score 9.9 (63)?
SELECT Venue FROM table WHERE Home team score = 9.9 (63)
Translate the following into a SQL query
What is essendon's away team score?
SELECT Away team score FROM table WHERE Away team = essendon
Translate the following into a SQL query
Which home team has an away team score of 11.15 (81)?
SELECT Home team FROM table WHERE Away team score = 11.15 (81)
Translate the following into a SQL query
What is the date with geelong as Away team?
SELECT Date FROM table WHERE Away team = geelong
Translate the following into a SQL query
What is the highest crowd at arden street oval?
SELECT MAX Crowd FROM table WHERE Venue = arden street oval
Translate the following into a SQL query
What is geelong's aberage crowd as Away Team?
SELECT AVG Crowd FROM table WHERE Away team = geelong
Translate the following into a SQL query
What was the date of the game when North Melbourne was the away team?
SELECT Date FROM table WHERE Away team = north melbourne
Translate the following into a SQL query
Where was the game held when the home team scored 8.18 (66)?
SELECT Venue FROM table WHERE Home team score = 8.18 (66)
Translate the following into a SQL query
Who was the away team when the home team scored 16.16 (112)?
SELECT Away team FROM table WHERE Home team score = 16.16 (112)
Translate the following into a SQL query
What is the team with grid 9?
SELECT Team FROM table WHERE Grid = 9
Translate the following into a SQL query
What team features garth tander?
SELECT Team FROM table WHERE Name = garth tander
Translate the following into a SQL query
How many stages are in a distance of 2,192 km?
SELECT Stages FROM table WHERE Distance = 2,192 km
Translate the following into a SQL query
How long was the 16 staged event in 1997?
SELECT Distance FROM table WHERE Stages = 16 AND Year = 1997
Translate the following into a SQL query
What was the winning time in 1984?
SELECT Time FROM table WHERE Year = 1984
Translate the following into a SQL query
Who won the 17 staged event in 1987?
SELECT Winner FROM table WHERE Stages = 17 AND Year = 1987
Translate the following into a SQL query
Which event happened in 1988?
SELECT Name FROM table WHERE Year = 1988
Translate the following into a SQL query
Where did Rick Mears win, after starting in Pole Position?
SELECT City/Location FROM table WHERE Pole position = rick mears AND Winning driver = rick mears
Translate the following into a SQL query
Where is the budweiser/g. i. joe's 200?
SELECT City/Location FROM table WHERE Race Name = budweiser/g. i. joe's 200
Translate the following into a SQL query
Where is Emerson Fittipaldi starting in Pole position?
SELECT City/Location FROM table WHERE Pole position = emerson fittipaldi
Translate the following into a SQL query
Which Circuit is on July 24?
SELECT Circuit FROM table WHERE Date = july 24
Translate the following into a SQL query
What date did Delage win?
SELECT Date FROM table WHERE Winning constructor = delage
Translate the following into a SQL query
What circuit did Luigi Villoresi win the Lausanne Grand Prix?
SELECT Circuit FROM table WHERE Winning driver = luigi villoresi AND Name = lausanne grand prix
Translate the following into a SQL query
Which Grand Prix did Nello Pagani win?
SELECT Name FROM table WHERE Winning driver = nello pagani
Translate the following into a SQL query
What did the home team score when playing Fitzroy as the away team?
SELECT Home team score FROM table WHERE Away team = fitzroy
Translate the following into a SQL query
What did the home team score when playing at Western Oval?
SELECT Home team score FROM table WHERE Venue = western oval
Translate the following into a SQL query
What away team played Collingwood?
SELECT Away team FROM table WHERE Home team = collingwood
Translate the following into a SQL query
On what date did Collingwood play at home?
SELECT Date FROM table WHERE Home team = collingwood
Translate the following into a SQL query
Name the average round where Dave Stachelski was picked smaller than 187.
SELECT AVG Round FROM table WHERE Overall < 187 AND Player = dave stachelski
Translate the following into a SQL query
Which position did David Nugent play with an overall small than 187?
SELECT Position FROM table WHERE Overall > 187 AND Player = david nugent
Translate the following into a SQL query
Name the college that has an overall larger than 187 and a round smaller than 7 for the defensive end position.
SELECT College FROM table WHERE Overall > 187 AND Round < 7 AND Position = defensive end
Translate the following into a SQL query
Which player has less than 201 games, is ranked 2, and played between 2007-2012?
SELECT Player FROM table WHERE Games < 201 AND Rank = 2 AND Years = 2007-2012
Translate the following into a SQL query
How many average games did Nick Rimando have?
SELECT AVG Games FROM table WHERE Player = nick rimando
Translate the following into a SQL query
What is the party of the politician who left office on January 12, 1857
SELECT Party FROM table WHERE Left office = january 12, 1857
Translate the following into a SQL query
What is the party of the governor under Hugh Thomas Miller.
SELECT Governor FROM table WHERE Name = hugh thomas miller
Translate the following into a SQL query
Who left office on January 9, 1893
SELECT Name FROM table WHERE Left office = january 9, 1893
Translate the following into a SQL query
Who took office under the government of Matthew E. Welsh?
SELECT Took office FROM table WHERE Governor = matthew e. welsh
Translate the following into a SQL query
Which governor took office on January 13, 1877
SELECT Governor FROM table WHERE Took office = january 13, 1877
Translate the following into a SQL query
What is the score of the Geelong away team?
SELECT Away team score FROM table WHERE Away team = geelong
Translate the following into a SQL query
What is the crowd for the team with a score of 10.9 (69)?
SELECT COUNT Crowd FROM table WHERE Home team score = 10.9 (69)
Translate the following into a SQL query
What is the score of the team that plays in lake oval?
SELECT Away team score FROM table WHERE Venue = lake oval
Translate the following into a SQL query
What the date of the game of the team that plays in princes park?
SELECT Date FROM table WHERE Venue = princes park
Translate the following into a SQL query
What was the score of the home team of carlton?
SELECT Home team score FROM table WHERE Home team = carlton
Translate the following into a SQL query
How many people watched the away team of Geelong?
SELECT Crowd FROM table WHERE Away team = geelong
Translate the following into a SQL query
Which home team has the Brunswick Street Oval venue?
SELECT Home team score FROM table WHERE Venue = brunswick street oval
Translate the following into a SQL query
Which home team has the Brunswick Street Oval venue?
SELECT Home team FROM table WHERE Venue = brunswick street oval
Translate the following into a SQL query
Which Away team has an Away team score of 11.18 (84)?
SELECT Away team FROM table WHERE Away team score = 11.18 (84)
Translate the following into a SQL query
Which Away team has a Home team of Collingwood?
SELECT Away team FROM table WHERE Home team = collingwood
Translate the following into a SQL query
Which Away team has a Home score of 9.15 (69)?
SELECT Away team FROM table WHERE Home team score = 9.15 (69)
Translate the following into a SQL query
Which is the lowest crop total with New South Wales at 42 kilotonnes and Victorian at less than 68 kilotonnes?
SELECT MIN Total FROM table WHERE New South Wales = 42 AND Victoria < 68
Translate the following into a SQL query
Who had a qual 1 best of 1:01.704?
SELECT Qual 1 FROM table WHERE Best = 1:01.704
Translate the following into a SQL query
What team had a qual 1 of 1:02.755?
SELECT Team FROM table WHERE Qual 1 = 1:02.755
Translate the following into a SQL query
What is the qual 1 for rusport and had a best of 58.665?
SELECT Qual 1 FROM table WHERE Team = rusport AND Best = 58.665
Translate the following into a SQL query
What team had a qual 1 of 59.895?
SELECT Team FROM table WHERE Qual 1 = 59.895
Translate the following into a SQL query
Who had a qual 1 of 1:01.461?
SELECT Name FROM table WHERE Qual 1 = 1:01.461
Translate the following into a SQL query
What is the LFN support with 32-bit architecture on Windows Home Server?
SELECT LFN support FROM table WHERE Architecture = 32-bit AND Name = windows home server
Translate the following into a SQL query
What is the LFN support on Windows NT 3.1?
SELECT LFN support FROM table WHERE Name = windows nt 3.1
Translate the following into a SQL query
What venue has the away side scoring 15.23 (113)?
SELECT Venue FROM table WHERE Away team score = 15.23 (113)
Translate the following into a SQL query
What venue features hawthorn as the away team?
SELECT Venue FROM table WHERE Away team = hawthorn
Translate the following into a SQL query
How many people attended the game with the home side scoring 11.13 (79)?
SELECT COUNT Crowd FROM table WHERE Home team score = 11.13 (79)
Translate the following into a SQL query
How many cop apps in the season with fewer than 12 league apps?
SELECT SUM Cup Apps FROM table WHERE League Apps < 12
Translate the following into a SQL query
What season saw 6 cup apps and 5 cup goals?
SELECT Season FROM table WHERE Cup Apps = 6 AND Cup Goals = 5
Translate the following into a SQL query
How many league apps in the season with more than 2 cup goals and more than 6 cup apps?
SELECT SUM League Apps FROM table WHERE Cup Goals > 2 AND Cup Apps > 6
Translate the following into a SQL query
How many cup goals for the season with more than 34 league apps?
SELECT AVG Cup Goals FROM table WHERE League Apps > 34
Translate the following into a SQL query
How many cup goals in the season with more than 5 league apps, 1 cup apps and fewer than 4 league goals?
SELECT SUM Cup Goals FROM table WHERE League Apps > 5 AND Cup Apps = 1 AND League Goals < 4
Translate the following into a SQL query
How many cup apps for the season where there are more than 10 league goals and 23 league apps?
SELECT Cup Apps FROM table WHERE League Goals > 10 AND League Apps = 23
Translate the following into a SQL query
Which route has a Date of 2 july?
SELECT Route FROM table WHERE Date = 2 july
Translate the following into a SQL query
Which length has a Stage of 9?
SELECT Length FROM table WHERE Stage = 9
Translate the following into a SQL query
Which date has a Terrain of plain stage, and a Stage of 4?
SELECT Date FROM table WHERE Terrain = plain stage AND Stage = 4
Translate the following into a SQL query
Who is the away team at the game at MCG with the crowd is larger than 15,500?
SELECT Away team FROM table WHERE Crowd > 15,500 AND Venue = mcg
Translate the following into a SQL query
What is the score for Fitzroy when they are the home team?
SELECT Home team score FROM table WHERE Home team = fitzroy
Translate the following into a SQL query
What is the date of the game at Arden Street Oval?
SELECT Date FROM table WHERE Venue = arden street oval
Translate the following into a SQL query
What is the smallest crowd for a game when Melbourne is the home team?
SELECT MIN Crowd FROM table WHERE Home team = melbourne
Translate the following into a SQL query
Who drafted the player from Michigan after 2010?
SELECT Drafting Team FROM table WHERE Graduated > 2010 AND College/Prior = michigan
Translate the following into a SQL query
Where was the player from who graduated from Michigan after 2010?
SELECT Home Town FROM table WHERE Graduated > 2010 AND College/Prior = michigan
Translate the following into a SQL query
From what town was Steve Zakuani?
SELECT Home Town FROM table WHERE Player = steve zakuani
Translate the following into a SQL query
What year did Omar Gonzalez graduate?
SELECT SUM Graduated FROM table WHERE Player = omar gonzalez
Translate the following into a SQL query
Which university hosted in Long Beach?
SELECT Host FROM table WHERE City = long beach
Translate the following into a SQL query
What is the venue that Saint Joseph's University hosted at?
SELECT Venue FROM table WHERE Host = saint joseph's university
Translate the following into a SQL query
In which city is Hayman Hall (Tom Gola Arena) located?
SELECT City FROM table WHERE Venue = hayman hall (tom gola arena)
Translate the following into a SQL query
Which venue is in the city of Villanova?
SELECT Venue FROM table WHERE City = villanova
Translate the following into a SQL query
On which date did Ger Loughnane from Team Clare have a match?
SELECT Date FROM table WHERE Team = clare AND Player = ger loughnane
Translate the following into a SQL query
What team opposed Tipperary in the Munster Final game?
SELECT Team FROM table WHERE Opposition = tipperary AND Game = munster final