instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the ID of marshall landfill on 09/08/1983?
SELECT CERCLIS ID FROM table WHERE Listed = 09/08/1983 AND Name = marshall landfill
Translate the following into a SQL query
Which nominee won the award for Fourth Best Indian Film?
SELECT Nominee FROM table WHERE Outcome = won AND Category = fourth best indian film
Translate the following into a SQL query
In which ceremony was Harnam Singh Rawail nominated for an award?
SELECT Ceremony FROM table WHERE Nominee = harnam singh rawail
Translate the following into a SQL query
In which ceremony was Jayant nominated for an award?
SELECT Ceremony FROM table WHERE Nominee = jayant
Translate the following into a SQL query
What surface was the April 24, 2003 match played on?
SELECT Surface FROM table WHERE Date = april 24, 2003
Translate the following into a SQL query
How many times has Watney made the top 25 for a tournament in which he as also been cut 6 times?
SELECT SUM Top-25 FROM table WHERE Cuts made = 6
Translate the following into a SQL query
Which tournament has the highest number of cuts while also having 4 top 25 appearances?
SELECT MAX Cuts made FROM table WHERE Top-25 = 4
Translate the following into a SQL query
What is the smallest grid with collision as the Time/Retired for pedro diniz?
SELECT MIN Grid FROM table WHERE Time/Retired = collision AND Driver = pedro diniz
Translate the following into a SQL query
What is the number of laps for Grid 14?
SELECT COUNT Laps FROM table WHERE Grid = 14
Translate the following into a SQL query
What is the number of the grid for mika häkkinen and more than 45 laps?
SELECT COUNT Grid FROM table WHERE Driver = mika häkkinen AND Laps > 45
Translate the following into a SQL query
Which home team has more than 19,000 spectators?
SELECT Home team FROM table WHERE Crowd > 19,000
Translate the following into a SQL query
What is the Theme of Christie Paquet after 2004 with an Issue Price of $34.95?
SELECT Theme FROM table WHERE Artist = christie paquet AND Issue Price = $34.95 AND Year > 2004
Translate the following into a SQL query
What is the Year of Christie Paquet with Issue Price of $34.95?
SELECT AVG Year FROM table WHERE Artist = christie paquet AND Issue Price = $34.95
Translate the following into a SQL query
What is the Crowd for the Venue of Princes Park?
SELECT Crowd FROM table WHERE Venue = princes park
Translate the following into a SQL query
What is the Home team score for the Home team of Melbourne?
SELECT Home team score FROM table WHERE Home team = melbourne
Translate the following into a SQL query
What is the Home team score for the Home team from South Melbourne?
SELECT Home team score FROM table WHERE Home team = south melbourne
Translate the following into a SQL query
What Away team has a Home team score of 18.12 (120)?
SELECT Away team FROM table WHERE Home team score = 18.12 (120)
Translate the following into a SQL query
What is the Home team score for the Venue named MCG?
SELECT Home team score FROM table WHERE Venue = mcg
Translate the following into a SQL query
Who has the lowest earnings that has a rank smaller than 2?
SELECT MIN Earnings( $ ) FROM table WHERE Rank < 2
Translate the following into a SQL query
What is the average rank of someone who earned smaller than 3,069,633?
SELECT AVG Rank FROM table WHERE Earnings( $ ) < 3,069,633
Translate the following into a SQL query
What has the average wins in Australia who earned smaller than 3,133,913?
SELECT AVG Wins FROM table WHERE Country = australia AND Earnings( $ ) < 3,133,913
Translate the following into a SQL query
What was the total number of wins with player Mike Hill with a rank bigger than 2?
SELECT COUNT Wins FROM table WHERE Rank > 2 AND Player = mike hill
Translate the following into a SQL query
Where was the argentine grand prix?
SELECT Location FROM table WHERE Race = argentine grand prix
Translate the following into a SQL query
What was the constructor for the fastest nelson piquet?
SELECT Constructor FROM table WHERE Fastest Lap = nelson piquet
Translate the following into a SQL query
Tell me the constructor for zolder
SELECT Constructor FROM table WHERE Location = zolder
Translate the following into a SQL query
Name the constructor for 10 august
SELECT Constructor FROM table WHERE Date = 10 august
Translate the following into a SQL query
What is the number of Years at Club for the player who has had more games than 28, more Goals than 225, and his Debut year was after 1950?
SELECT Years at club FROM table WHERE Games > 28 AND Goals > 225 AND Debut year > 1950
Translate the following into a SQL query
What is the birthday of the player who has Years at Club of 1951?
SELECT Date of birth FROM table WHERE Years at club = 1951
Translate the following into a SQL query
what rank has years until mandatory retirement of 6 years?
SELECT Rank FROM table WHERE Years until mandatory retirement = 6 years
Translate the following into a SQL query
what name has an appointed year of 2009 and years until mandatory retirement of 13 years?
SELECT Name FROM table WHERE Year appointed = 2009 AND Years until mandatory retirement = 13 years
Translate the following into a SQL query
Which player from Oregon used the number 12?
SELECT Player FROM table WHERE No.(s) = 12 AND School/Club Team/Country = oregon
Translate the following into a SQL query
What position does the player who is 6-10 play?
SELECT Position FROM table WHERE Height in Ft. = 6-10
Translate the following into a SQL query
What are the numbers for any players from Washington?
SELECT No.(s) FROM table WHERE School/Club Team/Country = washington
Translate the following into a SQL query
Which years did the Rockets number 6 play?
SELECT Years for Rockets FROM table WHERE No.(s) = 6
Translate the following into a SQL query
Which 2nd senior VIII that also has a 4th senior stm?
SELECT Senior 2nd VIII FROM table WHERE Senior IV = stm
Translate the following into a SQL query
How many laps did John Love have on a grid less than 11?
SELECT Laps FROM table WHERE Grid < 11 AND Driver = john love
Translate the following into a SQL query
What is the Builder of Locomotive 2?
SELECT Builder FROM table WHERE Locomotive = 2
Translate the following into a SQL query
With a Type of 4-6-4t, what is the sum Withdrawn?
SELECT SUM Withdrawn FROM table WHERE Type = 4-6-4t
Translate the following into a SQL query
What was the score from the game where Dallas played Home and Edmonton was visiting?
SELECT Score FROM table WHERE Home = dallas AND Visitor = edmonton
Translate the following into a SQL query
What was the mintage when the theme was Santa Claus?
SELECT Mintage FROM table WHERE Theme = santa claus
Translate the following into a SQL query
What was the issue price in the year 2008?
SELECT SUM Issue Price FROM table WHERE Year = 2008
Translate the following into a SQL query
What is the earliest year when the composition is 99.99% silver and the issue price is $94.95?
SELECT MIN Year FROM table WHERE Composition = 99.99% silver AND Issue Price = $94.95
Translate the following into a SQL query
What year had an issue price of $94.95 and theme of Amethyst crystal?
SELECT AVG Year FROM table WHERE Issue Price = $94.95 AND Theme = amethyst crystal
Translate the following into a SQL query
Name the score for when the opponent in the final is shiho hisamatsu
SELECT Score FROM table WHERE Opponent in the final = shiho hisamatsu
Translate the following into a SQL query
Name the tournament for april 3, 2005
SELECT Tournament FROM table WHERE Date = april 3, 2005
Translate the following into a SQL query
Name th score for may 11, 2003
SELECT Score FROM table WHERE Date = may 11, 2003
Translate the following into a SQL query
Who constructed pedro diniz's car?
SELECT Constructor FROM table WHERE Driver = pedro diniz
Translate the following into a SQL query
What is the grid total for david coulthard with over 45 laps?
SELECT COUNT Grid FROM table WHERE Driver = david coulthard AND Laps > 45
Translate the following into a SQL query
What is the average for the gymnast with a 9.9 start value and a total of 9.612?
SELECT AVG Average FROM table WHERE Start Value = 9.9 AND Total = 9.612
Translate the following into a SQL query
What was the penalty for the gymnast with average above 9.662 and total is more than 9.706?
SELECT Penalty FROM table WHERE Average > 9.662 AND Total > 9.706
Translate the following into a SQL query
What category was Kasautii Zindagii Kay nominated for after 2005?
SELECT Category FROM table WHERE Year > 2005 AND For The Show = kasautii zindagii kay
Translate the following into a SQL query
What show had a nomination for best actor in a lead role – female (popular) in 2006?
SELECT For The Show FROM table WHERE Category = best actor in a lead role – female (popular) AND Year = 2006
Translate the following into a SQL query
In what week was the Result L 15-13?
SELECT AVG Week FROM table WHERE Result = l 15-13
Translate the following into a SQL query
What is the Attendance with Opponent Dallas Cowboys in a Week greater than 5?
SELECT SUM Attendance FROM table WHERE Opponent = dallas cowboys AND Week > 5
Translate the following into a SQL query
How many points for maserati v12 engines in 1968?
SELECT COUNT Points FROM table WHERE Engine = maserati v12 AND Year = 1968
Translate the following into a SQL query
What entrant had less than 3 points before 1963?
SELECT Entrant FROM table WHERE Year < 1963 AND Points < 3
Translate the following into a SQL query
Who had the pole at the French Grand Prix?
SELECT Pole Position FROM table WHERE Grand Prix = french grand prix
Translate the following into a SQL query
Who constructed the car that won the Canadian Grand Prix?
SELECT Constructor FROM table WHERE Grand Prix = canadian grand prix
Translate the following into a SQL query
When Michael Schumacher won the race, who had the fastest lap?
SELECT Fastest Lap FROM table WHERE Winning Driver = michael schumacher
Translate the following into a SQL query
For the Player playing for the College of Kentucky and a Height of 6-7 what was their corresponding School?
SELECT School FROM table WHERE College = kentucky AND Height = 6-7
Translate the following into a SQL query
What School did Terrence Jones play for?
SELECT School FROM table WHERE Player = terrence jones
Translate the following into a SQL query
What Player(s) have a Height of 6-3?
SELECT Player FROM table WHERE Height = 6-3
Translate the following into a SQL query
For the player with a Height of 6-9 and College of Kentucky what was their NBA Draft?
SELECT NBA Draft FROM table WHERE Height = 6-9 AND College = kentucky
Translate the following into a SQL query
What was the score on February 9?
SELECT Score FROM table WHERE Date = february 9
Translate the following into a SQL query
What is the average point total for arrows racing team before 1983?
SELECT AVG Points FROM table WHERE Team = arrows racing team AND Year < 1983
Translate the following into a SQL query
What team has jordan 193 chassis after 1990?
SELECT Team FROM table WHERE Year > 1990 AND Chassis = jordan 193
Translate the following into a SQL query
How many points for the cosworth v8 engine after 1985?
SELECT Points FROM table WHERE Year > 1985 AND Engine = cosworth v8
Translate the following into a SQL query
What is the constructor for the driver with grid less than 2?
SELECT Constructor FROM table WHERE Grid < 2
Translate the following into a SQL query
What Position did Aaron Williams play?
SELECT Position FROM table WHERE Player = aaron williams
Translate the following into a SQL query
At Position of guard, from the School/Club Team Notre Dame, how many Years for Jazz did that person play?
SELECT Years for Jazz FROM table WHERE Position = guard AND School/Club Team = notre dame
Translate the following into a SQL query
Which School/Club Team did Andre Wakefield play for?
SELECT School/Club Team FROM table WHERE Player = andre wakefield
Translate the following into a SQL query
What is the Nationality of the player who had Position of guard from School/Club Team Notre Dame?
SELECT Nationality FROM table WHERE Position = guard AND School/Club Team = notre dame
Translate the following into a SQL query
What School/Club Team is Player Howard Wood from?
SELECT School/Club Team FROM table WHERE Player = howard wood
Translate the following into a SQL query
What School/Club Team is Player Aaron Williams from?
SELECT School/Club Team FROM table WHERE Player = aaron williams
Translate the following into a SQL query
What is the street address of the building with 5 floors?
SELECT Street address FROM table WHERE Floors = 5
Translate the following into a SQL query
What is the street address of the building with 40 floors?
SELECT Street address FROM table WHERE Floors = 40
Translate the following into a SQL query
What were the years the building with 44 floors was tallest?
SELECT Years as tallest FROM table WHERE Floors = 44
Translate the following into a SQL query
What is the street address of Oliver Building?
SELECT Street address FROM table WHERE Name = oliver building
Translate the following into a SQL query
Can you tell me the Winning party of 2003 that has the Constituency of aberdeen north?
SELECT Winning party 2003 FROM table WHERE Constituency = aberdeen north
Translate the following into a SQL query
Can you tell me the lowest Rank that has the Constituency of strathkelvin and bearsden?
SELECT MIN Rank FROM table WHERE Constituency = strathkelvin and bearsden
Translate the following into a SQL query
Can you tell me the sum of Swing to gain that has Constituency of caithness, sutherland and easter ross?
SELECT SUM Swing to gain FROM table WHERE Constituency = caithness, sutherland and easter ross
Translate the following into a SQL query
Can you tell me Labour's place 2003 that has the Result of con hold, and the Constituency of ayr?
SELECT Labour's place 2003 FROM table WHERE Result = con hold AND Constituency = ayr
Translate the following into a SQL query
What's the Time/Retired of Laps of 75?
SELECT Time/Retired FROM table WHERE Laps = 75
Translate the following into a SQL query
Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4?
SELECT Driver FROM table WHERE Laps > 78 AND Time/Retired = + 1:09.4
Translate the following into a SQL query
Hows many Laps are in a Grid of 4?
SELECT COUNT Laps FROM table WHERE Grid = 4
Translate the following into a SQL query
On what date did the away team score 13.13 (91) in front of a crowd larger than 15,601?
SELECT Date FROM table WHERE Crowd > 15,601 AND Away team score = 13.13 (91)
Translate the following into a SQL query
What is the score of the away team where the home team scored 13.20 (98)?
SELECT Away team score FROM table WHERE Home team score = 13.20 (98)
Translate the following into a SQL query
How much did the away team score that played St Kilda?
SELECT Away team score FROM table WHERE Home team = st kilda
Translate the following into a SQL query
What venue did the away team Collingwood play at?
SELECT Venue FROM table WHERE Away team = collingwood
Translate the following into a SQL query
What is the score of the away team that played at Kardinia Park?
SELECT Away team score FROM table WHERE Venue = kardinia park
Translate the following into a SQL query
What is the name of the away team that played at Kardinia Park?
SELECT Away team FROM table WHERE Venue = kardinia park
Translate the following into a SQL query
What is the attendance in the bye week after week 5?
SELECT Attendance FROM table WHERE Week > 5 AND Opponent = bye
Translate the following into a SQL query
What location had 1:59:12 in time?
SELECT Location FROM table WHERE Time = 1:59:12
Translate the following into a SQL query
What is the score for the away team of north melbourne?
SELECT Away team score FROM table WHERE Away team = north melbourne
Translate the following into a SQL query
If the away team scored 8.7 (55), what venue did the play at?
SELECT Venue FROM table WHERE Away team score = 8.7 (55)
Translate the following into a SQL query
When the home team scored 25.23 (173), what date did they play/
SELECT Date FROM table WHERE Home team score = 25.23 (173)
Translate the following into a SQL query
Which home team scored 25.23 (173)?
SELECT Home team FROM table WHERE Home team score = 25.23 (173)
Translate the following into a SQL query
When the away team scored 7.9 (51), what was the smallest crowd that turned out?
SELECT MIN Crowd FROM table WHERE Away team score = 7.9 (51)
Translate the following into a SQL query
Which home team plays at victoria park?
SELECT Home team FROM table WHERE Venue = victoria park
Translate the following into a SQL query
what is the competition for the event team all-round in the year before 1913?
SELECT Competition FROM table WHERE Event = team all-round AND Year < 1913