instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the record after the game on Feb 10?
SELECT Record FROM table WHERE February = 10
Translate the following into a SQL query
What is the earliest day that had a game against the Boston Bruins?
SELECT MIN February FROM table WHERE Opponent = boston bruins
Translate the following into a SQL query
What is the sum of Solidat (c) that's purpose is display type, heavy duty jobs, and a hardness (brinell) is smaller than 33?
SELECT SUM Solidat (°C) FROM table WHERE Purpose = display type, heavy duty jobs AND Hardness ( Brinell ) < 33
Translate the following into a SQL query
When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)?
SELECT SUM Solidat (°C) FROM table WHERE Sn/Sb (%) = 13/17 AND Liquidat (°C) > 283
Translate the following into a SQL query
How many Liquidat (c) have a purpose of dual (machine & hand composition)?
SELECT COUNT Liquidat (°C) FROM table WHERE Purpose = dual (machine & hand composition)
Translate the following into a SQL query
What was the record for the Chargers on Week 10?
SELECT Record FROM table WHERE Week = 10
Translate the following into a SQL query
What was the result of the game on week 4?
SELECT Result FROM table WHERE Week = 4
Translate the following into a SQL query
How many weeks did a game happen on September 17, 2000?
SELECT COUNT Week FROM table WHERE Date = september 17, 2000
Translate the following into a SQL query
What was the result of the game against San Francisco 49ers before week 16?
SELECT Result FROM table WHERE Week < 16 AND Opponent = san francisco 49ers
Translate the following into a SQL query
Who were semi-finalists in the event with a runner-up of Lisa Raymond?
SELECT Semi finalists FROM table WHERE Runner-up = lisa raymond
Translate the following into a SQL query
Which song by David Essex spent 2 weeks on top of the charts?
SELECT Song FROM table WHERE Weeks on Top = 2 AND Artist = david essex
Translate the following into a SQL query
What is the Volume:Issue number of the George McCrae song that spent less than 2 weeks on top of the charts?
SELECT Volume:Issue FROM table WHERE Weeks on Top < 2 AND Artist = george mccrae
Translate the following into a SQL query
Which venues closed in the 1990s?
SELECT Venue FROM table WHERE Closed = 1990s
Translate the following into a SQL query
Which venues were closed because they were replaced?
SELECT Location FROM table WHERE Reason = replaced
Translate the following into a SQL query
Which venue closed in 1996?
SELECT Venue FROM table WHERE Closed = 1996
Translate the following into a SQL query
What were the reasons that venues closed in the 1990s?
SELECT Reason FROM table WHERE Closed = 1990s
Translate the following into a SQL query
Why did the Belk Gymnasium close?
SELECT Reason FROM table WHERE Venue = belk gymnasium
Translate the following into a SQL query
Can you tell me the Score that has the Home team of townsville crocodiles?
SELECT Score FROM table WHERE Home team = townsville crocodiles
Translate the following into a SQL query
Can you tell me the Venue that has the Away team of south dragons?
SELECT Venue FROM table WHERE Away team = south dragons
Translate the following into a SQL query
Can you tell me the lowest Crowd that has the Away team of melbourne tigers?
SELECT MIN Crowd FROM table WHERE Away team = melbourne tigers
Translate the following into a SQL query
Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81?
SELECT Away team FROM table WHERE Home team = south dragons AND Score = 94-81
Translate the following into a SQL query
Which position has a pick # of 238 and a round above 3?
SELECT Position FROM table WHERE Round > 3 AND Pick # = 238
Translate the following into a SQL query
Which player went to Vanderbilt?
SELECT Player FROM table WHERE College = vanderbilt
Translate the following into a SQL query
How many grids had a Time/Retired of +4 laps?
SELECT COUNT Grid FROM table WHERE Time/Retired = +4 laps
Translate the following into a SQL query
How many laps had a constructor of toyota and a Time/Retired of +13.409?
SELECT COUNT Laps FROM table WHERE Constructor = toyota AND Time/Retired = +13.409
Translate the following into a SQL query
What was the constructor when the laps were larger than 54, and the time/retired was +1 lap on a grid of 20?
SELECT Constructor FROM table WHERE Laps > 54 AND Time/Retired = +1 lap AND Grid = 20
Translate the following into a SQL query
How many grids had a constructor of renault and less than 4 laps?
SELECT SUM Grid FROM table WHERE Constructor = renault AND Laps < 4
Translate the following into a SQL query
Which census ranking is 57.06 km big?
SELECT Census Ranking FROM table WHERE Area km 2 = 57.06
Translate the following into a SQL query
Which status is 75.35 km2 and is named sussex?
SELECT Status FROM table WHERE Area km 2 < 75.35 AND Official Name = sussex
Translate the following into a SQL query
What was the distance for the winner or 2nd Waterline?
SELECT Distance FROM table WHERE Winner or 2nd = waterline
Translate the following into a SQL query
What is the result for the distance of 10f, and a winner or 2nd of Lampra?
SELECT Result FROM table WHERE Distance = 10f AND Winner or 2nd = lampra
Translate the following into a SQL query
What is 1987, when 1986 is "1R"?
SELECT 1987 FROM table WHERE 1986 = 1r
Translate the following into a SQL query
What is 1986, when 1978 is "A", when 1979 is "A", and when 1980 is "1R"?
SELECT 1986 FROM table WHERE 1978 = a AND 1979 = a AND 1980 = 1r
Translate the following into a SQL query
What is 1984, when 1979 is "1R"?
SELECT 1984 FROM table WHERE 1979 = 1r
Translate the following into a SQL query
What is 1982, when 1978 is "A", when 1985 is "4R", and when 1991 is "1R"?
SELECT 1982 FROM table WHERE 1978 = a AND 1985 = 4r AND 1991 = 1r
Translate the following into a SQL query
What is 1989, when 1982 is "SF"?
SELECT 1989 FROM table WHERE 1982 = sf
Translate the following into a SQL query
What is 1992, when 1990 is "Grand Slams"?
SELECT 1992 FROM table WHERE 1990 = grand slams
Translate the following into a SQL query
What is the attendance date of the game home team Shrewsbury Town played?
SELECT Attendance FROM table WHERE Home team = shrewsbury town
Translate the following into a SQL query
Who is the home team that attended on 7 February 1996 and had a tie no of 1?
SELECT Home team FROM table WHERE Attendance = 7 february 1996 AND Tie no = 1
Translate the following into a SQL query
What is the final score of the game home team Bolton Wanderers played?
SELECT Score FROM table WHERE Home team = bolton wanderers
Translate the following into a SQL query
Which round has an opponent of Freiburg?
SELECT Round FROM table WHERE Opponent = freiburg
Translate the following into a SQL query
Who was the home when the opponent was slovan liberec?
SELECT Home FROM table WHERE Opponent = slovan liberec
Translate the following into a SQL query
Which Game has a January larger than 18, and a Decision of valiquette?
SELECT MAX Game FROM table WHERE January > 18 AND Decision = valiquette
Translate the following into a SQL query
Who has a Game smaller than 43, and a Record of 23-14-3?
SELECT Opponent FROM table WHERE Game < 43 AND Record = 23-14-3
Translate the following into a SQL query
What is the time for qual 2 that has the best time of 59.266?
SELECT Qual 2 FROM table WHERE Best = 59.266
Translate the following into a SQL query
Who is the driver for the Forsythe Racing team that has the best time of 1:00.099?
SELECT Name FROM table WHERE Team = forsythe racing AND Best = 1:00.099
Translate the following into a SQL query
Justin Wilson has what has his best time?
SELECT Best FROM table WHERE Name = justin wilson
Translate the following into a SQL query
Team Rusport has the best of 59.654 and what qual 1?
SELECT Qual 1 FROM table WHERE Team = rusport AND Best = 59.654
Translate the following into a SQL query
Sébastien Bourdais of the team Newman/Haas Racing has what qual 1?
SELECT Qual 1 FROM table WHERE Team = newman/haas racing AND Name = sébastien bourdais
Translate the following into a SQL query
What is Alex Tagliani's qual 1?
SELECT Qual 1 FROM table WHERE Name = alex tagliani
Translate the following into a SQL query
Which Bask has Soft of 18, and a Total larger than 35?
SELECT AVG Bask FROM table WHERE Soft = 18 AND Total > 35
Translate the following into a SQL query
Which Volleyball has a Golf of 2, and an Indoor track of 3?
SELECT Volleyball FROM table WHERE Golf = 2 AND Indoor track = 3
Translate the following into a SQL query
Which Bask has an Indoor track of 0, and a Swimming of 5?
SELECT MIN Bask FROM table WHERE Indoor track = 0 AND Swimming = 5
Translate the following into a SQL query
Which Swimming has a Total larger than 35, and a Volleyball of 1?
SELECT Swimming FROM table WHERE Total > 35 AND Volleyball = 1
Translate the following into a SQL query
Date for scotiabank place with less than 20 points, game larger than 16, and an opponent of montreal canadiens?
SELECT Date FROM table WHERE Location = scotiabank place AND Points < 20 AND Game > 16 AND Opponent = montreal canadiens
Translate the following into a SQL query
Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance?
SELECT COUNT Game FROM table WHERE Points < 15 AND Date = november 15 AND Attendance > 13,722
Translate the following into a SQL query
What was the results on September 24, 1995?
SELECT Result FROM table WHERE Date = september 24, 1995
Translate the following into a SQL query
What was the results against the Philadelphia Eagles?
SELECT Result FROM table WHERE Opponent = philadelphia eagles
Translate the following into a SQL query
What is the date with 68,463 in attendance?
SELECT Date FROM table WHERE Attendance = 68,463
Translate the following into a SQL query
What was the attendance for week 15?
SELECT Attendance FROM table WHERE Week = 15
Translate the following into a SQL query
What is the name when winter is the transfer window?
SELECT Name FROM table WHERE Transfer window = winter
Translate the following into a SQL query
What is the transfer fee when summer is the transfer window, the type is transfer and the country is Hun?
SELECT Transfer fee FROM table WHERE Transfer window = summer AND Type = transfer AND Country = hun
Translate the following into a SQL query
What is the type when Rangers are the moving from?
SELECT Type FROM table WHERE Moving from = rangers
Translate the following into a SQL query
What is the type when McCormack is the name?
SELECT Type FROM table WHERE Name = mccormack
Translate the following into a SQL query
What is the type when £120,000 is the transfer fee?
SELECT Type FROM table WHERE Transfer fee = £120,000
Translate the following into a SQL query
What date is aston villa away?
SELECT Date FROM table WHERE Away team = aston villa
Translate the following into a SQL query
what date did tie number 5 occur?
SELECT Date FROM table WHERE Tie no = 5
Translate the following into a SQL query
Which tie number has Bolton Wanderers as away?
SELECT Tie no FROM table WHERE Away team = bolton wanderers
Translate the following into a SQL query
What round was the circuit portland international raceway?
SELECT Round FROM table WHERE Circuit = portland international raceway
Translate the following into a SQL query
When was the circuit portland international raceway?
SELECT Date FROM table WHERE Circuit = portland international raceway
Translate the following into a SQL query
Which round had a city/location of Toronto, Ontario?
SELECT Round FROM table WHERE City/Location = toronto, ontario
Translate the following into a SQL query
For which location was the round smaller than 11 and the circuit streets of denver?
SELECT City/Location FROM table WHERE Round < 11 AND Circuit = streets of denver
Translate the following into a SQL query
What day was the location Cleveland, Ohio in Round 6?
SELECT Date FROM table WHERE City/Location = cleveland, ohio AND Round = 6
Translate the following into a SQL query
What is the sum of attendance for the games played at Los Angeles Rams?
SELECT SUM Attendance FROM table WHERE Opponent = at los angeles rams
Translate the following into a SQL query
In which week was the attendance 47,218?
SELECT SUM Week FROM table WHERE Attendance = 47,218
Translate the following into a SQL query
How many Decembers have calgary flames as the opponent?
SELECT COUNT December FROM table WHERE Opponent = calgary flames
Translate the following into a SQL query
What game has valiquette as the decision, with @ los angeles kings as the opponent?
SELECT Game FROM table WHERE Decision = valiquette AND Opponent = @ los angeles kings
Translate the following into a SQL query
What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010?
SELECT MAX TF1 # FROM table WHERE Official # > 47 AND Air date (France) = 13 july 2010
Translate the following into a SQL query
What is the Original Beechwood Bunny Tale/Source material that has an Official # larger than 38, and a TF1 # larger than 50, and an English title of "sweet fabiola"?
SELECT Original Beechwood Bunny Tale / Source material FROM table WHERE Official # > 38 AND TF1 # > 50 AND English title = "sweet fabiola"
Translate the following into a SQL query
What is the Official # that has a French title of "Pierre de Lune"?
SELECT Official # FROM table WHERE French title = "pierre de lune"
Translate the following into a SQL query
What venue had SF?
SELECT Venue FROM table WHERE Round = sf
Translate the following into a SQL query
What venue has more than 50,715 attending?
SELECT Venue FROM table WHERE Attendance > 50,715
Translate the following into a SQL query
What round was at the A venue with a attendance more than 14,314?
SELECT Round FROM table WHERE Venue = a AND Attendance > 14,314
Translate the following into a SQL query
What's the callsign of Mom's Radio 101.9 Zamboanga?
SELECT Callsign FROM table WHERE Branding = mom's radio 101.9 zamboanga
Translate the following into a SQL query
What's the power when the frequency is 101.5mhz?
SELECT Power (kW) FROM table WHERE Frequency = 101.5mhz
Translate the following into a SQL query
What's the location of Mom's Radio 95.9 Naga having a power of 10kw?
SELECT Location FROM table WHERE Power (kW) = 10kw AND Branding = mom's radio 95.9 naga
Translate the following into a SQL query
What's the callsign in Tacloban?
SELECT Callsign FROM table WHERE Location = tacloban
Translate the following into a SQL query
What's the power of Mom's Radio 101.5 Tacloban?
SELECT Power (kW) FROM table WHERE Branding = mom's radio 101.5 tacloban
Translate the following into a SQL query
Which Built at has a Date of 1946, and a 1947 Nos of 3556/7?
SELECT Built at FROM table WHERE Date = 1946 AND 1947 Nos = 3556/7
Translate the following into a SQL query
Which Date has a 1946 Nos of 3156/7?
SELECT AVG Date FROM table WHERE 1946 Nos = 3156/7
Translate the following into a SQL query
Which Date has a 1947 Nos of 3525-34?
SELECT COUNT Date FROM table WHERE 1947 Nos = 3525-34
Translate the following into a SQL query
Which 1947 Nos has a BR Nos of 48730-9?
SELECT 1947 Nos FROM table WHERE BR Nos = 48730-9
Translate the following into a SQL query
What is the number of losses for the game with a win % of 71.43%, and No Result is more than 0?
SELECT SUM Losses FROM table WHERE Win % = 71.43% AND No Result > 0
Translate the following into a SQL query
What is the total number of wins in 2010, when there were more than 14 matches?
SELECT COUNT Wins FROM table WHERE Year = 2010 AND Matches > 14
Translate the following into a SQL query
What is the number of wins when there are 14 matches, and the No Result was less than 0?
SELECT AVG Wins FROM table WHERE Matches = 14 AND No Result < 0
Translate the following into a SQL query
What is the number of losses when there were 14 matches, and the No Result was larger than 0?
SELECT SUM Losses FROM table WHERE Matches = 14 AND No Result > 0
Translate the following into a SQL query
What is the number of matches when the wins are less than 8, and losses of 7, in 2011?
SELECT SUM Matches FROM table WHERE Wins < 8 AND Losses = 7 AND Year = 2011
Translate the following into a SQL query
What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8?
SELECT Year FROM table WHERE Win % = 50.00% AND Matches > 14 AND Wins > 8
Translate the following into a SQL query
What area has less than 0.97 mil in population and is on the east?
SELECT Area (km²) FROM table WHERE Pop./ km² < 0.97 AND (English) = east
Translate the following into a SQL query
What is the area for a population of 0.58 km?
SELECT Area (km²) FROM table WHERE Pop./ km² = 0.58