instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What value for U.S. dance occurred in 1986 when the value of U.S. R&B was 9?
SELECT U.S. dance FROM table WHERE Year = 1986 AND U.S. R&B = 9
Translate the following into a SQL query
What is the bore for a 9-cyl radial on a 9 AD?
SELECT Bore FROM table WHERE Cyl. = 9-cyl radial AND Name = 9 ad
Translate the following into a SQL query
What bore goes with an 18 AB?
SELECT Bore FROM table WHERE Name = 18 ab
Translate the following into a SQL query
Tell me the venue for notes of 10.93 secs
SELECT Venue FROM table WHERE Notes = 10.93 secs
Translate the following into a SQL query
Tell me the venue for year less than 2003
SELECT Venue FROM table WHERE Year < 2003
Translate the following into a SQL query
What is the total number of points team Alfa Romeo 184T won?
SELECT SUM Points FROM table WHERE Team/Chassis = alfa romeo 184t
Translate the following into a SQL query
What engine was used after 1984?
SELECT Engine FROM table WHERE Year > 1984
Translate the following into a SQL query
In which year were the points more than 0?
SELECT Year FROM table WHERE Points > 0
Translate the following into a SQL query
What were the Tyres after 1984?
SELECT Tyres FROM table WHERE Year > 1984
Translate the following into a SQL query
Tell me the bp comp 2 for % wt comp 1 of 76
SELECT b.p. comp. 2 (˚C) FROM table WHERE % wt comp. 1 = 76
Translate the following into a SQL query
Tell me the total number of % wt comp 1 foR % wt comp 2 or 27
SELECT COUNT % wt comp. 1 FROM table WHERE % wt comp. 2 = 27
Translate the following into a SQL query
What is the percentage of the popular vote when there were 90 seats available?
SELECT % of popular vote FROM table WHERE # of seats available = 90
Translate the following into a SQL query
Name the gold for silver of 39
SELECT Gold FROM table WHERE Silver = 39
Translate the following into a SQL query
What is the compression ratio for the 302-2v Windsor v8 engine?
SELECT Compression Ratio FROM table WHERE Engine = 302-2v windsor v8
Translate the following into a SQL query
How many games had 41 rushes and were than 197 yards?
SELECT COUNT Games FROM table WHERE Rushes = 41 AND Yards < 197
Translate the following into a SQL query
What was the highest number of yards in years where there were fewer than 51 rushes and more than 12 games?
SELECT MAX Yards FROM table WHERE Rushes < 51 AND Games > 12
Translate the following into a SQL query
What is the pick # for Dimelon Westfield?
SELECT MIN Pick # FROM table WHERE Player = dimelon westfield
Translate the following into a SQL query
What was the final score of the November 8, 2001 game?
SELECT Result FROM table WHERE Date = november 8, 2001
Translate the following into a SQL query
Tell me the bullet tip color of headstamp id of h1z
SELECT Bullet Tip Color FROM table WHERE Headstamp ID = h1z
Translate the following into a SQL query
Tell me the total number of gold for bronze more than 0 and total more than 100
SELECT COUNT Gold FROM table WHERE Bronze > 0 AND Rank = total AND Total > 100
Translate the following into a SQL query
Tell me the least silver for total less than 6 and rank of 8
SELECT MIN Silver FROM table WHERE Total < 6 AND Rank = 8
Translate the following into a SQL query
Who played men's singles in 1951?
SELECT Men's singles FROM table WHERE Year = 1951
Translate the following into a SQL query
Who played women's singles in 1955?
SELECT Women's singles FROM table WHERE Year = 1955
Translate the following into a SQL query
Who played Women's singles when xiong guobao played men's singles, and tian bingyi li yongbo played Men's doubles?
SELECT Women's singles FROM table WHERE Men's singles = xiong guobao AND Men's doubles = tian bingyi li yongbo
Translate the following into a SQL query
Who played men's doubles when gao ling huang sui played women's doubles in 2007?
SELECT Men's doubles FROM table WHERE Women's doubles = gao ling huang sui AND Year = 2007
Translate the following into a SQL query
What year did huang nanyan yang wei play women's doubles and Men's doubles was played by lee dong-soo yoo yong-sung?
SELECT Year FROM table WHERE Women's doubles = huang nanyan yang wei AND Men's doubles = lee dong-soo yoo yong-sung
Translate the following into a SQL query
Who played men's doubles when men's singles were played by wong peng soon and Women's singles was played by cecilia samuel, in 1952?
SELECT Men's doubles FROM table WHERE Men's singles = wong peng soon AND Women's singles = cecilia samuel AND Year = 1952
Translate the following into a SQL query
What is the first leg score in that match where Marseille was the first team?
SELECT 1st leg FROM table WHERE Team 1 = marseille
Translate the following into a SQL query
Tell me the discovery/publication for still living
SELECT Discovery / publication of name FROM table WHERE Fossil record = still living
Translate the following into a SQL query
Tell me the discovery/publication for red deer cave people
SELECT Discovery / publication of name FROM table WHERE Species = red deer cave people
Translate the following into a SQL query
Tell me the discovery/publicatio of name for h.heidelbergensis
SELECT Discovery / publication of name FROM table WHERE Species = h.heidelbergensis
Translate the following into a SQL query
Tell me the fossil record for name of 1994/2003
SELECT Fossil record FROM table WHERE Discovery / publication of name = 1994/2003
Translate the following into a SQL query
Tell me lived for name of 1994/2003
SELECT Lived when ( mya ) FROM table WHERE Discovery / publication of name = 1994/2003
Translate the following into a SQL query
When was the Monza circuit?
SELECT Date FROM table WHERE Circuit = monza
Translate the following into a SQL query
What is Metro's win percentage?
SELECT Win % FROM table WHERE Conference = metro
Translate the following into a SQL query
How many elite eight teams came from the Atlantic 10?
SELECT Elite Eight FROM table WHERE Conference = atlantic 10
Translate the following into a SQL query
Tell me the opponent for attendance of 55,527
SELECT Opponent FROM table WHERE Attendance = 55,527
Translate the following into a SQL query
Which version B-58 aircraft model originated in the United States has 2 in service?
SELECT Aircraft FROM table WHERE In service = 2 AND Origin = united states AND Versions = b-58
Translate the following into a SQL query
What aircraft type is the Casa C-212 Aviocar?
SELECT Type FROM table WHERE Aircraft = casa c-212 aviocar
Translate the following into a SQL query
How many T-260 EU aircrafts are currently in service?
SELECT In service FROM table WHERE Versions = t-260 eu
Translate the following into a SQL query
How many C-95 aircrafts originating in Brazil are currently in service?
SELECT In service FROM table WHERE Origin = brazil AND Versions = c-95
Translate the following into a SQL query
Tell me the lowest other for albanians more than 8793 and Roma less than 1030
SELECT MIN Other FROM table WHERE Albanians > 8793 AND Roma < 1030
Translate the following into a SQL query
Tell me the highest bosniaks for year more than 2002
SELECT MAX Bosniaks FROM table WHERE Census year > 2002
Translate the following into a SQL query
Name the lowest ERP W with a frequency mhz less than 103.1
SELECT MIN ERP W FROM table WHERE Frequency MHz < 103.1
Translate the following into a SQL query
Name the city with 103.1 frequency and ERP W less than 80
SELECT City of license FROM table WHERE Frequency MHz = 103.1 AND ERP W < 80
Translate the following into a SQL query
Tell me the affiliation for pick number less than 59 and position of gk
SELECT Affiliation FROM table WHERE Pick # < 59 AND Position = gk
Translate the following into a SQL query
What Tournament of canada happened in 1998?
SELECT 1998 FROM table WHERE Tournament = canada
Translate the following into a SQL query
Who had 1990 of 2–2 in 1993?
SELECT 1993 FROM table WHERE 1990 = 2–2
Translate the following into a SQL query
What Tournament of monte carlo had 1996 and a 1987 of nme?
SELECT 1996 FROM table WHERE 1987 = nme AND Tournament = monte carlo
Translate the following into a SQL query
What Tournament of the french open had 2004 that has a 1998 of 2r?
SELECT 2004 FROM table WHERE 1998 = 2r AND Tournament = french open
Translate the following into a SQL query
What is the margin at the Nabisco Championship?
SELECT Margin FROM table WHERE Championship = nabisco championship
Translate the following into a SQL query
What was the margin in 2001 at the McDonald's LPGA Championship?
SELECT Margin FROM table WHERE Year = 2001 AND Championship = mcdonald's lpga championship
Translate the following into a SQL query
Tell me the date of goal 5
SELECT Date FROM table WHERE Goal = 5
Translate the following into a SQL query
Tell me the date for goal of 5
SELECT Date FROM table WHERE Goal = 5
Translate the following into a SQL query
What was the result of Sopot (pol)?
SELECT Result FROM table WHERE Location = sopot (pol)
Translate the following into a SQL query
Which division was the Rampage in when they were in the 2nd round in the Open Cup?
SELECT Division FROM table WHERE Open Cup = 2nd round
Translate the following into a SQL query
What was the Rampage's regular season in 1997?
SELECT Reg. Season FROM table WHERE Year = 1997
Translate the following into a SQL query
What was the Rampage's status in the Open Cup in the year that they made it to the 2nd round of the playoffs?
SELECT Open Cup FROM table WHERE Playoffs = 2nd round
Translate the following into a SQL query
What was the Rampage's result in the playoffs in the year that their regular season resulted in 4th, central?
SELECT Playoffs FROM table WHERE Reg. Season = 4th, central
Translate the following into a SQL query
Which method resulting in a win against Ed Mahone?
SELECT Method FROM table WHERE Result = win AND Opponent = ed mahone
Translate the following into a SQL query
When did the technical knockout against Fatu Tuimanono happen?
SELECT Date FROM table WHERE Method = technical knockout AND Opponent = fatu tuimanono
Translate the following into a SQL query
When did the opponent knockout Barry Prior in more than 2 rounds?
SELECT Date FROM table WHERE Method = knockout AND Round > 2 AND Opponent = barry prior
Translate the following into a SQL query
What resulted after 4 rounds with Ed Mahone?
SELECT Result FROM table WHERE Round > 4 AND Opponent = ed mahone
Translate the following into a SQL query
Tell me the region for georgia
SELECT Region FROM table WHERE State = georgia
Translate the following into a SQL query
Tell me the host for midwest thomas assembly center
SELECT Host FROM table WHERE Region = midwest AND Venue = thomas assembly center
Translate the following into a SQL query
Tell me the region for frank erwin center
SELECT Region FROM table WHERE Venue = frank erwin center
Translate the following into a SQL query
In 1971 at MCG, what was the score of the VFL Reserves?
SELECT Score FROM table WHERE Competition = vfl reserves AND Venue = mcg AND Year = 1971
Translate the following into a SQL query
What was the score when Richmond was the opponent?
SELECT Score FROM table WHERE Opponent = richmond
Translate the following into a SQL query
Where was the match with a score of 18.6 (114) - 21.14 (140)?
SELECT Venue FROM table WHERE Score = 18.6 (114) - 21.14 (140)
Translate the following into a SQL query
At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)?
SELECT Opponent FROM table WHERE Competition = vfl reserves AND Score = 18.6 (114) - 21.14 (140)
Translate the following into a SQL query
Where was the match with a score of 4.10 (34) - 8.12 (60)?
SELECT Venue FROM table WHERE Score = 4.10 (34) - 8.12 (60)
Translate the following into a SQL query
How much is the total BBC 2 viewing in 1999?
SELECT BBC Two total viewing FROM table WHERE Year = 1999
Translate the following into a SQL query
What was the rank of BBC 2 in 2005?
SELECT BBC Two Rank FROM table WHERE Year = 2005
Translate the following into a SQL query
What is the BBC 2 rank when BBC 1 is 1st rank and the total viewing is 9,840,000?
SELECT BBC Two Rank FROM table WHERE BBC One Rank = 1st AND BBC One total viewing = 9,840,000
Translate the following into a SQL query
In what year was BBC 2 13th in rank?
SELECT Year FROM table WHERE BBC Two Rank = 13th
Translate the following into a SQL query
How many goals occurred for Stein Huysegems when the caps value is more than 8?
SELECT Goals FROM table WHERE Caps > 8 AND Player = stein huysegems
Translate the following into a SQL query
What is the largest caps value for Glen Moss?
SELECT MAX Caps FROM table WHERE Player = glen moss
Translate the following into a SQL query
What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records?
SELECT MIN Year of Recording FROM table WHERE Orchestra = royal philharmonic orchestra AND Record Company = decca records
Translate the following into a SQL query
What format was conductor Erich Leinsdorf's album released on?
SELECT Format FROM table WHERE Conductor = erich leinsdorf
Translate the following into a SQL query
What record company released a CD in 1964?
SELECT Record Company FROM table WHERE Year of Recording = 1964 AND Format = cd
Translate the following into a SQL query
What division has finalist playoffs and was 3rd round Open Cup?
SELECT Division FROM table WHERE Playoffs = finalist AND Open Cup = 3rd round
Translate the following into a SQL query
What year was the team 8th in the season and made it to the 3rd round in Open Cup?
SELECT Year FROM table WHERE Reg. Season = 8th AND Open Cup = 3rd round
Translate the following into a SQL query
Tell me the launch date/time for payload of gsat-4
SELECT Launch date/time (UTC) FROM table WHERE Payload = gsat-4
Translate the following into a SQL query
Tell me the launch pad for 25 december 2010 10:34
SELECT Launch Pad FROM table WHERE Launch date/time (UTC) = 25 december 2010 10:34
Translate the following into a SQL query
Who had a rank more than 48, and a last in 2005?
SELECT Name FROM table WHERE Rank > 48 AND Last = 2005
Translate the following into a SQL query
Which UEFA confederation member had a rank more than 17 and caps of 114?
SELECT Name FROM table WHERE Rank > 17 AND Confederation = uefa AND Caps = 114
Translate the following into a SQL query
Tell me the result of july 16, 2000
SELECT Result FROM table WHERE Date = july 16, 2000
Translate the following into a SQL query
What is the maximum cap number where 0 goals were scored with a rank of 15?
SELECT MAX Caps FROM table WHERE Goals = 0 AND Rank = 15
Translate the following into a SQL query
What were the fewest amount of guns possessed by a frigate that served in 1815?
SELECT MIN Guns FROM table WHERE Class = frigate AND Year = 1815
Translate the following into a SQL query
Of the games that sold 321,000 units in the UK, what is their average place?
SELECT AVG Place FROM table WHERE Units sold in the UK = 321,000
Translate the following into a SQL query
How many units were sold in the US of the game that sold 346,000 units in japan?
SELECT Units sold in the US FROM table WHERE Units sold in Japan = 346,000
Translate the following into a SQL query
Tell me the player from dallas burn
SELECT Player FROM table WHERE MLS team = dallas burn
Translate the following into a SQL query
Tell me the sum of pick number for kenny arena
SELECT SUM Pick # FROM table WHERE Player = kenny arena
Translate the following into a SQL query
What city is the Northeast Louisiana University located in?
SELECT City FROM table WHERE Host = northeast louisiana university
Translate the following into a SQL query
What region is the city of Philadelphia located in?
SELECT Region FROM table WHERE City = philadelphia
Translate the following into a SQL query
What venue is in Long Beach?
SELECT Venue FROM table WHERE City = long beach
Translate the following into a SQL query
What state is Knoxville and the mideast region located in?
SELECT State FROM table WHERE Region = mideast AND City = knoxville
Translate the following into a SQL query
What is the host in Georgia?
SELECT Host FROM table WHERE State = georgia
Translate the following into a SQL query
What state is the University of Tennessee located in?
SELECT State FROM table WHERE Host = university of tennessee
Translate the following into a SQL query
Tell me the date that has a week larger than 3 and a result of w 28-27
SELECT Date FROM table WHERE Week > 3 AND Result = w 28-27