instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who is the constructor whose circuit was Oulton Park?
SELECT Constructor FROM table WHERE Circuit = oulton park
Translate the following into a SQL query
What is the name of the race for which the circuit was Snetterton?
SELECT Race Name FROM table WHERE Circuit = snetterton
Translate the following into a SQL query
During what years did the Guard from Oklahoma with a height of 6-6 play for the Rockets?
SELECT Years for Rockets FROM table WHERE Height in Ft. = 6-6 AND Position = guard AND School/Club Team/Country = oklahoma
Translate the following into a SQL query
What was the away team's score at MCG when attendance was more than 24,365?
SELECT Away team score FROM table WHERE Crowd > 24,365 AND Venue = mcg
Translate the following into a SQL query
how many times what the position 6th, the competition was super league xvii and played was larger than 27?
SELECT COUNT Drawn FROM table WHERE Position = 6th AND Competition = super league xvii AND Played > 27
Translate the following into a SQL query
What is the average cap number in scotland in 1986–1998 leass than 69?
SELECT COUNT Average FROM table WHERE Caps < 69 AND Scotland career = 1986–1998
Translate the following into a SQL query
Which caps was in scotland in 1920–1923?
SELECT Caps FROM table WHERE Scotland career = 1920–1923
Translate the following into a SQL query
What is the goal low with caps less than 38 and an average less than 1.083?
SELECT MIN Goals FROM table WHERE Caps < 38 AND Average < 1.083
Translate the following into a SQL query
What is the goal top with caps of 38 and an average less than 0.579?
SELECT MAX Goals FROM table WHERE Caps = 38 AND Average < 0.579
Translate the following into a SQL query
What is the low goal for kenny miller with an average smaller than 0.261?
SELECT MIN Goals FROM table WHERE Name = kenny miller AND Average < 0.261
Translate the following into a SQL query
What home team plays at victoria park?
SELECT Home team FROM table WHERE Venue = victoria park
Translate the following into a SQL query
What home team scored 23.17 (155)?
SELECT Home team FROM table WHERE Home team score = 23.17 (155)
Translate the following into a SQL query
Where did away team st kilda play with a crowd larger than 22,764?
SELECT Venue FROM table WHERE Crowd > 22,764 AND Away team = st kilda
Translate the following into a SQL query
When north melbourne played as the home team, what was the away team score?
SELECT Away team score FROM table WHERE Home team = north melbourne
Translate the following into a SQL query
What is the away team when home scored 17.15 (117)?
SELECT Away team FROM table WHERE Home team score = 17.15 (117)
Translate the following into a SQL query
What is the away team score at victoria park?
SELECT Away team score FROM table WHERE Venue = victoria park
Translate the following into a SQL query
What is the high goal against associated with 18 wins, a Goal Difference of 43, and under 6 draws?
SELECT MAX Goals against FROM table WHERE Wins = 18 AND Goal Difference = 43 AND Draws < 6
Translate the following into a SQL query
What is the average win total associated with under 4 draws, and under 15 goals?
SELECT AVG Wins FROM table WHERE Draws < 4 AND Goals for < 15
Translate the following into a SQL query
Who was the home team that played at Moorabbin Oval?
SELECT Home team FROM table WHERE Venue = moorabbin oval
Translate the following into a SQL query
How large was the crowd when the away team scored 11.15 (81)?
SELECT COUNT Crowd FROM table WHERE Away team score = 11.15 (81)
Translate the following into a SQL query
Who was the home team when the away team scored 12.19 (91) and the crowd was larger than 20,350?
SELECT Home team FROM table WHERE Crowd > 20,350 AND Away team score = 12.19 (91)
Translate the following into a SQL query
How large was the crowd when Carlton was the away team?
SELECT COUNT Crowd FROM table WHERE Away team = carlton
Translate the following into a SQL query
Which home team scored 19.11 (125)?
SELECT Home team FROM table WHERE Home team score = 19.11 (125)
Translate the following into a SQL query
I want the sum of year for mark barron
SELECT SUM Year FROM table WHERE Player name = mark barron
Translate the following into a SQL query
Tell me the year for defensive tackle and college of lsu
SELECT Year FROM table WHERE Position = defensive tackle AND College = lsu
Translate the following into a SQL query
On April 28, what was the average number of people attending?
SELECT AVG Attendance FROM table WHERE Date = april 28
Translate the following into a SQL query
Which player is a centre?
SELECT Player FROM table WHERE Position = centre
Translate the following into a SQL query
What was the venue when Collingwood was the away team?
SELECT Venue FROM table WHERE Away team = collingwood
Translate the following into a SQL query
Where did Brian Hightower play when he has the Conv of 0?
SELECT Venue FROM table WHERE Conv = 0 AND Player = brian hightower
Translate the following into a SQL query
What was Dick Hyland's conv?
SELECT Conv FROM table WHERE Player = dick hyland
Translate the following into a SQL query
How many tries took place on 06/07/1996?
SELECT Tries FROM table WHERE Date = 06/07/1996
Translate the following into a SQL query
Which player played on 07/06/1997?
SELECT Player FROM table WHERE Date = 07/06/1997
Translate the following into a SQL query
The home team scored 11.17 (83) on what day?
SELECT Date FROM table WHERE Home team score = 11.17 (83)
Translate the following into a SQL query
When the crowd was over 16,000 people and south melbourne was the away team, what date was the game?
SELECT Date FROM table WHERE Crowd > 16,000 AND Away team = south melbourne
Translate the following into a SQL query
Which home team scored 16.16 (112)?
SELECT Home team FROM table WHERE Home team score = 16.16 (112)
Translate the following into a SQL query
When the Away team is melbourne, what venue do they play at?
SELECT Venue FROM table WHERE Away team = melbourne
Translate the following into a SQL query
What is the lowest interview of Texas, with an average larger than 9.531?
SELECT MIN Interview FROM table WHERE State = texas AND Average > 9.531
Translate the following into a SQL query
What is the total interviews of Iowa, and with an evening gown smaller than 9.625?
SELECT COUNT Interview FROM table WHERE State = iowa AND Evening Gown < 9.625
Translate the following into a SQL query
What is the sum of the average of Hawaii, with an interviewer larger than 9.636?
SELECT SUM Average FROM table WHERE State = hawaii AND Interview > 9.636
Translate the following into a SQL query
What is the highest evening gown with an average of 9.531 and swimsuit smaller than 9.449?
SELECT MAX Evening Gown FROM table WHERE Average = 9.531 AND Swimsuit < 9.449
Translate the following into a SQL query
What is the sum of swimsuit with an evening gown of 9.773 and average larger than 9.674?
SELECT SUM Swimsuit FROM table WHERE Evening Gown = 9.773 AND Average > 9.674
Translate the following into a SQL query
What is the average of the swimsuit smaller than 9.545 , of Iowa, with an evening gown larger than 9.625?
SELECT AVG Average FROM table WHERE Swimsuit < 9.545 AND State = iowa AND Evening Gown > 9.625
Translate the following into a SQL query
Name the leading scorer for 1 april 2008
SELECT Leading scorer FROM table WHERE Date = 1 april 2008
Translate the following into a SQL query
Name the home for 16 april 2008
SELECT Home FROM table WHERE Date = 16 april 2008
Translate the following into a SQL query
Name the score for bucks with timberwolves
SELECT Score FROM table WHERE Visitor = bucks AND Home = timberwolves
Translate the following into a SQL query
Which sail is in the America 3 Foundation syndicate on the America 3 yacht?
SELECT Sail FROM table WHERE Syndicate = america 3 foundation AND Yacht = america 3
Translate the following into a SQL query
Which syndicate is associated with the stars & stripes yacht?
SELECT Syndicate FROM table WHERE Yacht = stars & stripes
Translate the following into a SQL query
Which Yacht Club is part of the America 3 Foundation syndicate on the America 3 yacht?
SELECT Yacht Club FROM table WHERE Syndicate = america 3 foundation AND Yacht = america 3
Translate the following into a SQL query
Which nation has the America 3 Foundation syndicate and the jayhawk yacht?
SELECT Nation FROM table WHERE Syndicate = america 3 foundation AND Yacht = jayhawk
Translate the following into a SQL query
Which Nation has the USA-18 sail?
SELECT Nation FROM table WHERE Sail = usa-18
Translate the following into a SQL query
When did a home team score 4.12 (36)?
SELECT Date FROM table WHERE Home team score = 4.12 (36)
Translate the following into a SQL query
How big was the crowd when collingwood visited?
SELECT COUNT Crowd FROM table WHERE Away team = collingwood
Translate the following into a SQL query
What away team is based in moorabbin oval?
SELECT Away team FROM table WHERE Venue = moorabbin oval
Translate the following into a SQL query
What date did af giles play?
SELECT Date FROM table WHERE Player = af giles
Translate the following into a SQL query
How many catches does hh dippenaar have?
SELECT Catches FROM table WHERE Player = hh dippenaar
Translate the following into a SQL query
What player has a date of 12-02-2003?
SELECT Player FROM table WHERE Date = 12-02-2003
Translate the following into a SQL query
Who had a versus of sri lanka?
SELECT Player FROM table WHERE Versus = sri lanka
Translate the following into a SQL query
Who had a date of 19-02-2003?
SELECT Player FROM table WHERE Date = 19-02-2003
Translate the following into a SQL query
What date had a versus of source: cricinfo.com?
SELECT Date FROM table WHERE Versus = source: cricinfo.com
Translate the following into a SQL query
When south Melbourne was the home team, what was the away team?
SELECT Away team FROM table WHERE Home team = south melbourne
Translate the following into a SQL query
What was the smallest crowd size for away team st kilda?
SELECT MIN Crowd FROM table WHERE Away team = st kilda
Translate the following into a SQL query
What was the score of the game against Milwaukee?
SELECT Score FROM table WHERE Visitor = milwaukee
Translate the following into a SQL query
Was the third place winner Yannick Noah?
SELECT Winner FROM table WHERE Third Place = yannick noah
Translate the following into a SQL query
What was the away team score when the home team essendon was playing?
SELECT Away team score FROM table WHERE Home team = essendon
Translate the following into a SQL query
The home team scored 15.15 (105) at what venue?
SELECT Venue FROM table WHERE Home team score = 15.15 (105)
Translate the following into a SQL query
Which away team scored 16.12 (108)?
SELECT Away team FROM table WHERE Away team score = 16.12 (108)
Translate the following into a SQL query
When the home team scored 16.26 (122) what was the opposing score?
SELECT Away team score FROM table WHERE Home team score = 16.26 (122)
Translate the following into a SQL query
Which home team scored 13.20 (98)?
SELECT Home team FROM table WHERE Home team score = 13.20 (98)
Translate the following into a SQL query
Who set the record for youngest nominee?
SELECT Record Set FROM table WHERE Superlative = youngest nominee
Translate the following into a SQL query
After the year 2011, who was the youngest nominee?
SELECT Record Set FROM table WHERE Year > 2011 AND Superlative = youngest nominee
Translate the following into a SQL query
When did Quvenzhané Wallis first win?
SELECT MIN Year FROM table WHERE Actress = quvenzhané wallis
Translate the following into a SQL query
When was the last year when Katharine Hepburn won?
SELECT MAX Year FROM table WHERE Actress = katharine hepburn
Translate the following into a SQL query
who was the winner in 2003?
SELECT Winner FROM table WHERE Year = 2003
Translate the following into a SQL query
where did marie-laure taya win?
SELECT Venue FROM table WHERE Winner = marie-laure taya
Translate the following into a SQL query
what venue saw a score of 285?
SELECT Venue FROM table WHERE Score = 285
Translate the following into a SQL query
What is the largest laps for Time/Retired of + 2 laps, and a Grid of 13?
SELECT MAX Laps FROM table WHERE Time/Retired = + 2 laps AND Grid = 13
Translate the following into a SQL query
What company constructed the car with more than 0 laps and shows 5 for grid?
SELECT Constructor FROM table WHERE Laps > 0 AND Grid = 5
Translate the following into a SQL query
What is the sum of laps for Derek Warwick?
SELECT SUM Laps FROM table WHERE Driver = derek warwick
Translate the following into a SQL query
What years runner-up is Birmingham city, with over 1 runners-up?
SELECT Years runner-up FROM table WHERE Runners-up > 1 AND Club = birmingham city
Translate the following into a SQL query
Which Home team score has an Away team of st kilda?
SELECT Home team score FROM table WHERE Away team = st kilda
Translate the following into a SQL query
Which Home team has a Venue of victoria park?
SELECT Home team FROM table WHERE Venue = victoria park
Translate the following into a SQL query
Which Away team has an Away team score of 12.19 (91)?
SELECT Away team FROM table WHERE Away team score = 12.19 (91)
Translate the following into a SQL query
Which Home team has an Away team score of 12.19 (91)?
SELECT Home team FROM table WHERE Away team score = 12.19 (91)
Translate the following into a SQL query
Who was the center from Washington State?
SELECT Player FROM table WHERE Position = center AND School/Club Team = washington state
Translate the following into a SQL query
What school did Paul Dawkins play for?
SELECT School/Club Team FROM table WHERE Player = paul dawkins
Translate the following into a SQL query
Name the place with building of victoria hall
SELECT Place FROM table WHERE Building = victoria hall
Translate the following into a SQL query
Name the least date for the place which has a building of victoria hall
SELECT MIN Date FROM table WHERE Building = victoria hall
Translate the following into a SQL query
Name the size which is past 2000
SELECT Size FROM table WHERE Date > 2000
Translate the following into a SQL query
Name the country that has mänttä
SELECT Country FROM table WHERE Place = mänttä
Translate the following into a SQL query
What round was Nick Gillis?
SELECT Round FROM table WHERE Player = nick gillis
Translate the following into a SQL query
What is the distance to funao?
SELECT Distance (km) FROM table WHERE Station = funao
Translate the following into a SQL query
What station has a Rapid of ↑, is 3.4 km away, and has a Japanese title of 下鴨生?
SELECT Station FROM table WHERE Rapid = ↑ AND Distance (km) > 3.4 AND Japanese = 下鴨生
Translate the following into a SQL query
What location is less than 7.1 km away, and has a Rapid of ●?
SELECT Location FROM table WHERE Distance (km) < 7.1 AND Rapid = ●
Translate the following into a SQL query
What is the name of the father who was born in 1204 and married ottokar ii?
SELECT Father FROM table WHERE Spouse = ottokar ii AND Birth = 1204
Translate the following into a SQL query
What is the birth date of the woman who ceased to be Queen on 18 Jun 1297?
SELECT Birth FROM table WHERE Ceased to be Queen = 18 jun 1297
Translate the following into a SQL query
Leopold VI, Duke of Austria is the father-in-law of which person?
SELECT Spouse FROM table WHERE Father = leopold vi, duke of austria
Translate the following into a SQL query
What is the birth date of the person who died on 18 October 1335?
SELECT Birth FROM table WHERE Death = 18 october 1335
Translate the following into a SQL query
When did the person who died on 6 Dec 1240 get married?
SELECT Marriage FROM table WHERE Death = 6 dec 1240
Translate the following into a SQL query
What time/retired for a grid less than 19, under 21 laps, and made by aprilia?
SELECT Time/Retired FROM table WHERE Grid < 19 AND Manufacturer = aprilia AND Laps < 21
Translate the following into a SQL query
What is the grid for dirk heidolf?
SELECT SUM Grid FROM table WHERE Rider = dirk heidolf