instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What are the average points after 1992?
SELECT AVG Points FROM table WHERE Year > 1992
Translate the following into a SQL query
What is the sum of points in 1991, for footwork a11c chassis?
SELECT SUM Points FROM table WHERE Year = 1991 AND Chassis = footwork a11c
Translate the following into a SQL query
How many points does an entrant of Martini Racing, the engine of an Alfa Romeo flat-12 a chassis of brabham bt45, and the year 1976 have?
SELECT COUNT Points FROM table WHERE Entrant = martini racing AND Engine = alfa romeo flat-12 AND Chassis = brabham bt45 AND Year = 1976
Translate the following into a SQL query
Which chassis is from 1974 and was an entrant of Goldie Hexagon racing?
SELECT Chassis FROM table WHERE Year = 1974 AND Entrant = goldie hexagon racing
Translate the following into a SQL query
What is the average points of a Cosworth v8 engine in 1973.
SELECT AVG Points FROM table WHERE Engine = cosworth v8 AND Year = 1973
Translate the following into a SQL query
Which chassis has an Alfa Romeo flat-12 engine.
SELECT Chassis FROM table WHERE Engine = alfa romeo flat-12
Translate the following into a SQL query
What was the score of the game that had an attendance of 32,036?
SELECT Score FROM table WHERE Attendance = 32,036
Translate the following into a SQL query
On what date did the result leave the team with a record of 46-34?
SELECT Date FROM table WHERE Record = 46-34
Translate the following into a SQL query
Name the opponent with round of 1 and time of n/a
SELECT Opponent FROM table WHERE Round = 1 AND Time = n/a
Translate the following into a SQL query
Name the record with opponent of christian nielson
SELECT Record FROM table WHERE Opponent = christian nielson
Translate the following into a SQL query
Name the opponent with decision
SELECT Opponent FROM table WHERE Method = decision
Translate the following into a SQL query
What was the 3rd place value in 2011?
SELECT 3rd place FROM table WHERE Year = 2011
Translate the following into a SQL query
Name the tries for points against of 583
SELECT Tries for FROM table WHERE Points against = 583
Translate the following into a SQL query
Nam the points for when tries for is 91 and played of 22
SELECT Points for FROM table WHERE Played = 22 AND Tries for = 91
Translate the following into a SQL query
Name the drawn for tries for of 42
SELECT Drawn FROM table WHERE Tries for = 42
Translate the following into a SQL query
Name the Drawn for tries against of 36 and points of 66
SELECT Drawn FROM table WHERE Tries against = 36 AND Points = 66
Translate the following into a SQL query
Name the Try bonus with lost of 10
SELECT Try bonus FROM table WHERE Lost = 10
Translate the following into a SQL query
Name the points for when points against is of 450
SELECT Points for FROM table WHERE Points against = 450
Translate the following into a SQL query
who won the women's doubles at the same time the men's doubles had tijs creemers quinten van dalm?
SELECT Women's doubles FROM table WHERE Men's doubles = tijs creemers quinten van dalm
Translate the following into a SQL query
what year saw georgy trouerbach nicole van hooren win the women's doubles?
SELECT Year FROM table WHERE Women's doubles = georgy trouerbach nicole van hooren
Translate the following into a SQL query
who won the women's singles in 1992?
SELECT Women's singles FROM table WHERE Year = 1992
Translate the following into a SQL query
who won the women's singles at the same time the men's doubles was won by seno the uun santosa?
SELECT Women's singles FROM table WHERE Men's doubles = seno the uun santosa
Translate the following into a SQL query
who won the men's doubles in 1933?
SELECT Men's doubles FROM table WHERE Year = 1933
Translate the following into a SQL query
What was the 1st leg when Team 2 was Aurora?
SELECT 1st leg FROM table WHERE Team 2 = aurora
Translate the following into a SQL query
What was the 2nd leg when Team 1 was Chicago Croatian?
SELECT 2nd leg FROM table WHERE Team 1 = chicago croatian
Translate the following into a SQL query
Who was Team 2 when Team 1 was América?
SELECT Team 2 FROM table WHERE Team 1 = américa
Translate the following into a SQL query
Which nationality do the Montreal Canadiens belong to with a pick# of 25?
SELECT Nationality FROM table WHERE NHL team = montreal canadiens AND Pick # = 25
Translate the following into a SQL query
What is the pick# for the California Golden Seals?
SELECT Pick # FROM table WHERE NHL team = california golden seals
Translate the following into a SQL query
What was the Goal in Stade Roi Baudouin, Brussels?
SELECT AVG Goal FROM table WHERE Venue = stade roi baudouin, brussels
Translate the following into a SQL query
What Venue had 2 or more Goals in a Friendly Competition?
SELECT Venue FROM table WHERE Competition = friendly AND Goal > 2
Translate the following into a SQL query
Which Site that has a Sex and other data of old male?
SELECT MAX Site FROM table WHERE Sex and other data = old male
Translate the following into a SQL query
What is the age group for figure skating?
SELECT Age groups FROM table WHERE Sport = figure skating
Translate the following into a SQL query
what is the sport when the age group is 21 or younger and the competition name is world youth netball championships?
SELECT Sport FROM table WHERE Age groups = 21 or younger AND Competition name = world youth netball championships
Translate the following into a SQL query
what is the competition name when the age group is 17 or younger for athletics?
SELECT Competition name FROM table WHERE Age groups = 17 or younger AND Sport = athletics
Translate the following into a SQL query
what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis?
SELECT Competing entities FROM table WHERE Age groups = 18 or younger AND Held every = one year AND Sport = table tennis
Translate the following into a SQL query
What result did Janis Ian have in the episode of top 3?
SELECT Result FROM table WHERE Episode = top 3 AND Original artist = janis ian
Translate the following into a SQL query
What was the result of the singer with the top 8?
SELECT Result FROM table WHERE Episode = top 8
Translate the following into a SQL query
What song was chosen for the episode with the top 8?
SELECT Song choice FROM table WHERE Episode = top 8
Translate the following into a SQL query
Which episode had Hoagy carmichael safe with an order of 5?
SELECT Episode FROM table WHERE Result = safe AND Order # = 5 AND Original artist = hoagy carmichael
Translate the following into a SQL query
In what order were the Bee Gees as the artist when it was a result of bottom 3?
SELECT Order # FROM table WHERE Result = bottom 3 AND Original artist = bee gees
Translate the following into a SQL query
Name the total number of drawn for danish and mathias
SELECT COUNT Draw FROM table WHERE Language = danish AND Artist = mathias
Translate the following into a SQL query
Name the result for linn nygård
SELECT Result FROM table WHERE Artist = linn nygård
Translate the following into a SQL query
Name the song for draw less than 7 and artists of martin & johannes
SELECT Song FROM table WHERE Draw < 7 AND Artist = martin & johannes
Translate the following into a SQL query
Name the NP/NNP for ACDP of 1 and others of 1 and DP/DA of 5
SELECT NP / NNP FROM table WHERE ACDP = 1 AND Others = 1 AND DP / DA = 5
Translate the following into a SQL query
Which player won less than $335?
SELECT Player FROM table WHERE Money ( $ ) < 335
Translate the following into a SQL query
What was the place ranking for the player from Australia?
SELECT Place FROM table WHERE Country = australia
Translate the following into a SQL query
How much money did the player Ed Oliver win?
SELECT SUM Money ( $ ) FROM table WHERE Player = ed oliver
Translate the following into a SQL query
What competition did Parramatta Eels join after 1982?
SELECT Competition FROM table WHERE Year > 1982 AND Opponent = parramatta eels
Translate the following into a SQL query
When did nswrfl has a score of 8-21?
SELECT Year FROM table WHERE Competition = nswrfl AND Score = 8-21
Translate the following into a SQL query
How many years have less than 28,505 attendance?
SELECT AVG Year FROM table WHERE Attendance < 28,505
Translate the following into a SQL query
What Date is listed for the Region of France and Catalog of 82876-70291-2?
SELECT Date FROM table WHERE Region = france AND Catalog = 82876-70291-2
Translate the following into a SQL query
Which Format is listed that has a Region of China?
SELECT Format FROM table WHERE Region = china
Translate the following into a SQL query
What's the Date for the Label of Bertelsmann Music group and has a Region of Europe?
SELECT Date FROM table WHERE Label = bertelsmann music group AND Region = europe
Translate the following into a SQL query
How many people attended the Royals game with a score of 17 - 6?
SELECT SUM Attendance FROM table WHERE Opponent = royals AND Score = 17 - 6
Translate the following into a SQL query
What was the result of April 27's game?
SELECT Score FROM table WHERE Date = april 27
Translate the following into a SQL query
Which of the .308 Winchester cartridge type has a 100 m group of 14 and also a 300 m group of 0.63?
SELECT .308 Winchester cartridge type FROM table WHERE 100 m group (mm) = 14 AND 300 m group ( MOA ) = 0.63
Translate the following into a SQL query
For the strategy game in 1992, how many players were allowed per console?
SELECT Players per Console FROM table WHERE Genre = strategy AND Year = 1992
Translate the following into a SQL query
Which Genre was published by Atari and developed by NuFX in 1991?
SELECT Genre FROM table WHERE Publisher = atari AND Year = 1991 AND Developer = nufx
Translate the following into a SQL query
Which year was the game developed by Music Comp in?
SELECT Year FROM table WHERE Developer = music comp
Translate the following into a SQL query
Name the record for august 31
SELECT Record FROM table WHERE Date = august 31
Translate the following into a SQL query
Name the opponent for august 6
SELECT Opponent FROM table WHERE Date = august 6
Translate the following into a SQL query
Name the opponent with record of 52-58
SELECT Opponent FROM table WHERE Record = 52-58
Translate the following into a SQL query
What Class has a Quantity made of 5?
SELECT Class FROM table WHERE Quantity made = 5
Translate the following into a SQL query
What is listed as the Date made with a Quantity made of 13?
SELECT Date made FROM table WHERE Quantity made = 13
Translate the following into a SQL query
What year shows 4 points?
SELECT Year FROM table WHERE Points = 4
Translate the following into a SQL query
What is the most points when the entrant was Jaguar racing earlier than 2001?
SELECT MAX Points FROM table WHERE Entrant = jaguar racing AND Year < 2001
Translate the following into a SQL query
What is the entrant in 1999?
SELECT Entrant FROM table WHERE Year = 1999
Translate the following into a SQL query
What is the most points when the chassis was Jaguar R3 later than 2002?
SELECT MAX Points FROM table WHERE Chassis = jaguar r3 AND Year > 2002
Translate the following into a SQL query
What is the lowest relative permeability with a skin depth larger than 0.112 inches?
SELECT MIN Relative permeability FROM table WHERE Skin depth, inches > 0.112
Translate the following into a SQL query
What is the average relative permeability with a resistivity smaller than 1.12 and a surface resistance relative to copper smaller than 1?
SELECT AVG Relative permeability FROM table WHERE Resistivity (10 −6 ohm-inches) < 1.12 AND Surface resistance, Relative to copper < 1
Translate the following into a SQL query
What is the sum of skin depth with a resistivity of 1.12 and a relative permeability larger than 1?
SELECT SUM Skin depth, inches FROM table WHERE Resistivity (10 −6 ohm-inches) = 1.12 AND Relative permeability > 1
Translate the following into a SQL query
How much does Jonathan Bender weigh?
SELECT Weight FROM table WHERE Player = jonathan bender
Translate the following into a SQL query
Of those with a height of 7-0, who weighs the most?
SELECT MAX Weight FROM table WHERE Height = 7-0
Translate the following into a SQL query
What does DeShawn Stevenson weigh?
SELECT SUM Weight FROM table WHERE Player = deshawn stevenson
Translate the following into a SQL query
Name the highest roll for coed and authority of state integrated with sacred heart school
SELECT MAX Roll FROM table WHERE Gender = coed AND Authority = state integrated AND Name = sacred heart school
Translate the following into a SQL query
What is the displacement of the engine that has a Redline rpm higher than 4750, from 2005?
SELECT Displacement FROM table WHERE Redline (rpm) > 4750 AND Year = 2005
Translate the following into a SQL query
From what year is the engine with engine code M57D30?
SELECT Year FROM table WHERE Engine code = m57d30
Translate the following into a SQL query
What is the average Redline RPM of engines with engine code M57TUD30, made after 2002?
SELECT AVG Redline (rpm) FROM table WHERE Engine code = m57tud30 AND Year > 2002
Translate the following into a SQL query
What was the result against Beijing Hyundai?
SELECT Result F–A FROM table WHERE Opponents = beijing hyundai
Translate the following into a SQL query
Was the game with Kashima antlers at home or away?
SELECT H / A FROM table WHERE Opponents = kashima antlers
Translate the following into a SQL query
What date was the game against Royal Antwerp?
SELECT Date FROM table WHERE Opponents = royal antwerp
Translate the following into a SQL query
What Records Time is 3:38?
SELECT Record FROM table WHERE Time = 3:38
Translate the following into a SQL query
What Country has a number smaller than 56 in 2005 and of 14 in 2006?
SELECT COUNT 2004 FROM table WHERE 2005 < 56 AND 2006 = 14
Translate the following into a SQL query
What Country has a number smaller than 3 in 2004 and larger than 1 in 2005?
SELECT COUNT 2006 FROM table WHERE 2004 < 3 AND 2005 > 1
Translate the following into a SQL query
The building with 48 floors has an address in Las Vegas of what?
SELECT Street address FROM table WHERE Floors = 48
Translate the following into a SQL query
The Palazzo's street address is listed as what?
SELECT Street address FROM table WHERE Name = the palazzo
Translate the following into a SQL query
What's the title of the song by Winger?
SELECT Song title FROM table WHERE Artist = winger
Translate the following into a SQL query
What shows for 3rd place when Runner-up shows as runner-up?
SELECT 3rd place FROM table WHERE Runner-up = runner-up
Translate the following into a SQL query
What year shows as Runner-up of england (24 pts)?
SELECT Year FROM table WHERE Runner-up = england (24 pts)
Translate the following into a SQL query
What shows for Winners when it shows 3rd place of [[|]] (21 pts), and a Runner-up of united states (23 pts)?
SELECT Winners FROM table WHERE 3rd place = [[|]] (21 pts) AND Runner-up = united states (23 pts)
Translate the following into a SQL query
What shows for 3rd place when the venue was Pardubice?
SELECT 3rd place FROM table WHERE Venue = pardubice
Translate the following into a SQL query
what shows for 3rd place in 1990?
SELECT 3rd place FROM table WHERE Year = 1990
Translate the following into a SQL query
What year was the venue Landshut?
SELECT Year FROM table WHERE Venue = landshut
Translate the following into a SQL query
What is the record when Tampa Bay is the visitor?
SELECT Record FROM table WHERE Visitor = tampa bay
Translate the following into a SQL query
What is the date when Joseph is the decision and San Jose is the home team?
SELECT Date FROM table WHERE Decision = joseph AND Home = san jose
Translate the following into a SQL query
What is the date of the match when Detroit is the home team and Colorado is the visiting team?
SELECT Date FROM table WHERE Home = detroit AND Visitor = colorado
Translate the following into a SQL query
Who is the opponent with attendance greater than 73,984 with a result of w 28–14?
SELECT Opponent FROM table WHERE Attendance > 73,984 AND Result = w 28–14
Translate the following into a SQL query
How many people were in attendance in a week over 4 on December 6, 1981?
SELECT COUNT Attendance FROM table WHERE Week > 4 AND Date = december 6, 1981
Translate the following into a SQL query
Name the least game for october 10 at shibe park
SELECT MIN Game FROM table WHERE Location = shibe park AND Date = october 10
Translate the following into a SQL query
What is the lowest bronze total that has a rank of 1 and more than 34 total medals?
SELECT MIN Bronze FROM table WHERE Rank = 1 AND Total > 34