instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
who is the constructor when the free practice driver(s) is n/a, the chassis is 005 and the driver is takuma sato?
SELECT Constructor FROM table WHERE Free Practice driver(s) = n/a AND Chassis = 005 AND Driver = takuma sato
Translate the following into a SQL query
what is the rounds when the entrant is scuderia ferrari marlboro?
SELECT Rounds FROM table WHERE Entrant = scuderia ferrari marlboro
Translate the following into a SQL query
what is the chassis when the entrant is mild seven renault f1 team and the driver is jarno trulli?
SELECT Chassis FROM table WHERE Entrant = mild seven renault f1 team AND Driver = jarno trulli
Translate the following into a SQL query
what is the engine when the tyre is m and the driver is fernando alonso?
SELECT Engine † FROM table WHERE Tyre = m AND Driver = fernando alonso
Translate the following into a SQL query
who is the constructor when the driver is juan pablo montoya?
SELECT Constructor FROM table WHERE Driver = juan pablo montoya
Translate the following into a SQL query
What is the low TD for 49 longs and 1436 less yards?
SELECT MIN TD's FROM table WHERE Long = 49 AND Yards < 1436
Translate the following into a SQL query
What is the total count of TD longs more than 29?
SELECT COUNT Long FROM table WHERE TD's > 29
Translate the following into a SQL query
What is the toal rec with more than 27 and averages less than 10.8 and TDs more than 6?
SELECT COUNT Long FROM table WHERE Rec. > 27 AND Avg. < 10.8 AND TD's > 6
Translate the following into a SQL query
How many people attended the game with a record of 86-56
SELECT COUNT Attendance FROM table WHERE Record = 86-56
Translate the following into a SQL query
Name the date that had a record of 90-60
SELECT Date FROM table WHERE Record = 90-60
Translate the following into a SQL query
On the game where the home team scored 9.9 (63) and the crowd exceeded 14,589, what was the date?
SELECT Date FROM table WHERE Crowd > 14,589 AND Home team score = 9.9 (63)
Translate the following into a SQL query
On the game where the home team scored 9.9 (63), where was the venue.
SELECT Venue FROM table WHERE Home team score = 9.9 (63)
Translate the following into a SQL query
On which date did the away team score 10.11 (71)?
SELECT Date FROM table WHERE Away team score = 10.11 (71)
Translate the following into a SQL query
What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217?
SELECT MAX Sinclair Total FROM table WHERE Rank = 3 AND World Record (kg) < 217
Translate the following into a SQL query
What is the name of the venue that they away team Collingwood played at?
SELECT Venue FROM table WHERE Away team = collingwood
Translate the following into a SQL query
What is the score of the away team where the home team scored 14.8 (92)?
SELECT Away team score FROM table WHERE Home team score = 14.8 (92)
Translate the following into a SQL query
What is the name of the home team that scored 11.16 (82)?
SELECT Home team FROM table WHERE Home team score = 11.16 (82)
Translate the following into a SQL query
What is the score of the away team whose opponent scored 14.8 (92)?
SELECT Away team score FROM table WHERE Home team score = 14.8 (92)
Translate the following into a SQL query
On what date did the home team score 9.14 (68)?
SELECT Date FROM table WHERE Home team score = 9.14 (68)
Translate the following into a SQL query
How much did the away team St Kilda score?
SELECT Away team score FROM table WHERE Away team = st kilda
Translate the following into a SQL query
What date did Carlton play as the away team?
SELECT Date FROM table WHERE Away team = carlton
Translate the following into a SQL query
What was the home team's score at Windy Hill?
SELECT Home team score FROM table WHERE Venue = windy hill
Translate the following into a SQL query
What is the lowest grid value with fewer than 17 laps and constructor Sauber - Petronas?
SELECT MIN Grid FROM table WHERE Laps < 17 AND Constructor = sauber - petronas
Translate the following into a SQL query
Which Time/Retired entry has greater than 51 laps and driver Cristiano da Matta?
SELECT Time/Retired FROM table WHERE Laps > 51 AND Driver = cristiano da matta
Translate the following into a SQL query
How many ties did the Montreal Victorias have with a GA of less than 24?
SELECT MAX Ties FROM table WHERE Team = montreal victorias AND Goals Against < 24
Translate the following into a SQL query
How many years was the record 3:40.8?
SELECT COUNT Year FROM table WHERE Record = 3:40.8
Translate the following into a SQL query
What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?
SELECT Event FROM table WHERE Year < 1964 AND Athlete = lászló tábori gunnar nielsen
Translate the following into a SQL query
Who is the leading scorer of the game where the Kings is the home team?
SELECT Leading scorer FROM table WHERE Home = kings
Translate the following into a SQL query
Who is the visitor team of the game on March 2, 2008?
SELECT Visitor FROM table WHERE Date = march 2, 2008
Translate the following into a SQL query
What is the attendance total of the game with the Lakers as the home team?
SELECT COUNT Attendance FROM table WHERE Home = lakers
Translate the following into a SQL query
Which week had 39,056 people in attendance?
SELECT Week FROM table WHERE Attendance = 39,056
Translate the following into a SQL query
What is the kickoff time for week 3?
SELECT Kickoff [a ] FROM table WHERE Week = 3
Translate the following into a SQL query
What is the kickoff time for the Hubert H. Humphrey Metrodome?
SELECT Kickoff [a ] FROM table WHERE Game site = hubert h. humphrey metrodome
Translate the following into a SQL query
What is the result when the Indianapolis Colts are the opponents?
SELECT Result FROM table WHERE Opponent = indianapolis colts
Translate the following into a SQL query
Who was the opponent on September 13, 1992?
SELECT Opponent FROM table WHERE Date = september 13, 1992
Translate the following into a SQL query
What is the result on November 1, 1992?
SELECT Result FROM table WHERE Date = november 1, 1992
Translate the following into a SQL query
What was the away score when the home team was Melbourne?
SELECT Away team score FROM table WHERE Home team = melbourne
Translate the following into a SQL query
Who played Collingwood?
SELECT Away team FROM table WHERE Home team = collingwood
Translate the following into a SQL query
Who was the visiting team on April 8 where more than 19,141 were in attendance?
SELECT Visitor FROM table WHERE Attendance > 19,141 AND Date = april 8
Translate the following into a SQL query
How big was the crowd for Essendon?
SELECT SUM Crowd FROM table WHERE Home team = essendon
Translate the following into a SQL query
Which team played against North Melbourne as the home team?
SELECT Home team FROM table WHERE Away team = north melbourne
Translate the following into a SQL query
Which home team plays at Punt Road Oval?
SELECT Home team FROM table WHERE Venue = punt road oval
Translate the following into a SQL query
Which team plays at Punt Road Oval?
SELECT Home team FROM table WHERE Venue = punt road oval
Translate the following into a SQL query
When did a home team score 9.6 (60)?
SELECT Date FROM table WHERE Home team score = 9.6 (60)
Translate the following into a SQL query
What did the away team score at corio oval?
SELECT Away team score FROM table WHERE Venue = corio oval
Translate the following into a SQL query
Who did the cowboys play when 65,537 attended?
SELECT Opponent FROM table WHERE Attendance = 65,537
Translate the following into a SQL query
What is the name of the tournament when antonia xenia tout nataša zorić was the opponenet?
SELECT Tournament FROM table WHERE Opponents = antonia xenia tout nataša zorić
Translate the following into a SQL query
What date was georgie stoop emily webley-smith the opponent?
SELECT Date FROM table WHERE Opponents = georgie stoop emily webley-smith
Translate the following into a SQL query
What is the surface of the match when the opponent was iryna bremond valeria savinykh?
SELECT Surface FROM table WHERE Opponents = iryna bremond valeria savinykh
Translate the following into a SQL query
What is the name of the opponent for the Sutton tournament?
SELECT Opponents FROM table WHERE Tournament = sutton
Translate the following into a SQL query
What is the name of the opponent when anastasia pivovarova was the partner?
SELECT Opponents FROM table WHERE Partner = anastasia pivovarova
Translate the following into a SQL query
What is the home team's score when the away team's score is 15.15 (105)?
SELECT Home team FROM table WHERE Away team score = 15.15 (105)
Translate the following into a SQL query
What is south melbourne's home side score?
SELECT Home team score FROM table WHERE Home team = south melbourne
Translate the following into a SQL query
What rounds did Roy Salvadori drive for David Brown Corporation?
SELECT Rounds FROM table WHERE Entrant = david brown corporation AND Driver = roy salvadori
Translate the following into a SQL query
What are the results for years after 2007?
SELECT Result FROM table WHERE Year > 2007
Translate the following into a SQL query
Which characters after 2003 won?
SELECT Character FROM table WHERE Result = won AND Year > 2003
Translate the following into a SQL query
For 2006 what category has the Show of kasautii zindagii kay?
SELECT Category FROM table WHERE For The Show = kasautii zindagii kay AND Year = 2006
Translate the following into a SQL query
What is the character for 2005?
SELECT Character FROM table WHERE Year = 2005
Translate the following into a SQL query
What is a category before 2012?
SELECT Category FROM table WHERE Year < 2012
Translate the following into a SQL query
What is the largest crude birth rate when natural change is 215 at a rate greater than 7.2?
SELECT MAX Crude birth rate (per 1000) FROM table WHERE Natural change = 215 AND Natural change (per 1000) > 7.2
Translate the following into a SQL query
What is natural change with a crude death rate of 8.7 and less than 472 live births?
SELECT Natural change FROM table WHERE Crude death rate (per 1000) = 8.7 AND Live births < 472
Translate the following into a SQL query
What owner or owners have an operational description?
SELECT Owner(s) FROM table WHERE Description = operational
Translate the following into a SQL query
What is the date for the Operational Livery?
SELECT Date FROM table WHERE Livery = operational
Translate the following into a SQL query
What is the date listed for the item that has undergoing overhaul, restoration or repairs listed under description?
SELECT Date FROM table WHERE Description = undergoing overhaul, restoration or repairs
Translate the following into a SQL query
Who is the home team that scored 12.14 (86) when their opponent scored 22.15 (147)?
SELECT Home team FROM table WHERE Home team score = 12.14 (86) AND Away team score = 22.15 (147)
Translate the following into a SQL query
Who is the home team that played at MCG?
SELECT Home team score FROM table WHERE Venue = mcg
Translate the following into a SQL query
What is the size of the smallest crowd that watched a game at Arden Street Oval?
SELECT MIN Crowd FROM table WHERE Venue = arden street oval
Translate the following into a SQL query
What is the score of the away team who played home team Hawthorn?
SELECT Away team score FROM table WHERE Home team = hawthorn
Translate the following into a SQL query
Who is the away team that played home team Footscray?
SELECT Away team FROM table WHERE Home team = footscray
Translate the following into a SQL query
How many people attended the game where Fitzroy was the away team?
SELECT COUNT Crowd FROM table WHERE Away team = fitzroy
Translate the following into a SQL query
I want the NGC number for leo of irregular galaxy
SELECT NGC number FROM table WHERE Constellation = leo AND Object type = irregular galaxy
Translate the following into a SQL query
Tell me the highest NGC number for right ascension of 09h40m28.5s
SELECT MAX NGC number FROM table WHERE Right ascension ( J2000 ) = 09h40m28.5s
Translate the following into a SQL query
What is the constellation for open cluster?
SELECT Constellation FROM table WHERE Object type = open cluster
Translate the following into a SQL query
Which event was Tatyana Lebedeva in?
SELECT Event FROM table WHERE Athlete = tatyana lebedeva
Translate the following into a SQL query
What event was Fatima Whitbread Trine Hattestad in?
SELECT Event FROM table WHERE Athlete = fatima whitbread trine hattestad
Translate the following into a SQL query
What is Milcah Chemos' record?
SELECT Record FROM table WHERE Athlete = milcah chemos
Translate the following into a SQL query
What is the record for the 400 m event on 4 september 2009?
SELECT Record FROM table WHERE Date = 4 september 2009 AND Event = 400 m
Translate the following into a SQL query
What event was on 26 August 2005?
SELECT Event FROM table WHERE Date = 26 august 2005
Translate the following into a SQL query
What was the date of the discus throw for Bulgaria?
SELECT Date FROM table WHERE Nationality = bulgaria AND Event = discus throw
Translate the following into a SQL query
Where was the game held when the away team scored 16.11 (107)?
SELECT Venue FROM table WHERE Away team score = 16.11 (107)
Translate the following into a SQL query
What was the away team's score when the home team scored 16.19 (115)?
SELECT Away team score FROM table WHERE Home team score = 16.19 (115)
Translate the following into a SQL query
What was the home team's score when the away team scored 16.14 (110)?
SELECT Home team score FROM table WHERE Away team score = 16.14 (110)
Translate the following into a SQL query
What is the date ground A and Cartagena as an opponent?
SELECT Date FROM table WHERE Ground = a AND Opponent = cartagena
Translate the following into a SQL query
What ground has a match smaller than 2?
SELECT Ground FROM table WHERE Match < 2
Translate the following into a SQL query
What is the score of the competition of friendly, at match 7?
SELECT Score1 FROM table WHERE Competition or tour = friendly AND Match = 7
Translate the following into a SQL query
What was the lowest Pick number of Player Brian Bradley from Canada, in a Draft year before 1985?
SELECT MIN Pick FROM table WHERE Nationality = canada AND Draft < 1985 AND Player = brian bradley
Translate the following into a SQL query
Which Round was Player Adam Cracknell Picked after 231 in a Draft year after 1988?
SELECT Round FROM table WHERE Pick > 231 AND Draft > 1988 AND Player = adam cracknell
Translate the following into a SQL query
Name the total number of yards for avg of 9 and rec of 1
SELECT COUNT Yards FROM table WHERE Avg. = 9 AND Rec. = 1
Translate the following into a SQL query
What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34?
SELECT MAX Losses FROM table WHERE Points For < 79 AND Games Played = 10 AND Point Differential < 34
Translate the following into a SQL query
Which Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged 24)?
SELECT Player FROM table WHERE Date of birth (age when delisted) = 13 february 1987 (aged 24)
Translate the following into a SQL query
What is listed under Senior List for Date of Birth (Age When Delisted) of 5 June 1984 (aged 23)?
SELECT Senior list FROM table WHERE Date of birth (age when delisted) = 5 june 1984 (aged 23)
Translate the following into a SQL query
What is the average year to begin making autos for a brand that joined GM in 1917?
SELECT AVG Year began making autos FROM table WHERE Year joined GM = 1917
Translate the following into a SQL query
Name the date with a home team of melbourne
SELECT Date FROM table WHERE Home team = melbourne
Translate the following into a SQL query
Name the venue for collingwood home team
SELECT Venue FROM table WHERE Home team = collingwood
Translate the following into a SQL query
I want to know the home team score for essendon away team
SELECT Home team score FROM table WHERE Away team = essendon
Translate the following into a SQL query
Which year has a Gen.-Secretary of silvana jansen?
SELECT Year FROM table WHERE Gen.-Secretary = silvana jansen
Translate the following into a SQL query
Which Gen.-Secretary that has a Vice President named charlotte saes?
SELECT Gen.-Secretary FROM table WHERE Vice President = charlotte saes
Translate the following into a SQL query
Which treasurer has a Gen.-Secretary of jonneke de koning, and a Vice President of laura tolen?
SELECT Treasurer FROM table WHERE Gen.-Secretary = jonneke de koning AND Vice President = laura tolen
Translate the following into a SQL query
Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann?
SELECT Vice President FROM table WHERE President = daniel masny AND Treasurer = rebecca t. altmann
Translate the following into a SQL query
Who was president Year of 2002-2003, second semester?
SELECT President FROM table WHERE Year = 2002-2003, second semester