instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the winning score of the Masters Tournament?
SELECT Winning score FROM table WHERE Championship = Masters Tournament
Translate the following into a SQL query
What was the winning score of the PGA Championship (3)?
SELECT Winning score FROM table WHERE Championship = PGA Championship (3)
Translate the following into a SQL query
What is the number of starts for 1987?
SELECT COUNT Starts FROM table WHERE Year = 1987
Translate the following into a SQL query
What is the scoring aerage for 111419?
SELECT Scoring average FROM table WHERE Earnings ($) = 111419
Translate the following into a SQL query
What is the money list rank for 1966?
SELECT Money list rank FROM table WHERE Year = 1966
Translate the following into a SQL query
Name the total number of scoring average for money list rank of 174
SELECT COUNT Scoring average FROM table WHERE Money list rank = 174
Translate the following into a SQL query
What is the county where kerry# is 59740?
SELECT County FROM table WHERE Kerry# = 59740
Translate the following into a SQL query
In cook county Kerry# is?
SELECT Kerry# FROM table WHERE County = Cook
Translate the following into a SQL query
When bush# is 3907, what is Kerry#?
SELECT Kerry# FROM table WHERE Bush# = 3907
Translate the following into a SQL query
What is the others# when bush% is 57.0%?
SELECT MAX Others# FROM table WHERE Bush% = 57.0%
Translate the following into a SQL query
what's the mole with airdate being 8 january 2009
SELECT The Mole FROM table WHERE Airdate = 8 January 2009
Translate the following into a SQL query
what's the mole with prize money being €24,475
SELECT The Mole FROM table WHERE Prize money = €24,475
Translate the following into a SQL query
what's the the mole with airdate being 5 january 2012
SELECT COUNT The Mole FROM table WHERE Airdate = 5 January 2012
Translate the following into a SQL query
what's airdate with international destination being scotland
SELECT Airdate FROM table WHERE International destination = Scotland
Translate the following into a SQL query
what's the mole with winner being frédérique huydts
SELECT The Mole FROM table WHERE Winner = Frédérique Huydts
Translate the following into a SQL query
what's runner-up with season being season 13
SELECT Runner-up FROM table WHERE Season = Season 13
Translate the following into a SQL query
In what county did 29231 people vote for Kerry?
SELECT County FROM table WHERE Kerry# = 29231
Translate the following into a SQL query
What's the name of the county where 48.3% voted for Bush?
SELECT County FROM table WHERE Bush% = 48.3%
Translate the following into a SQL query
What's the percentage of votes for other candidates in the county where Bush got 51.6% of the votes?
SELECT Others% FROM table WHERE Bush% = 51.6%
Translate the following into a SQL query
What's the name of the county where 54.6% voted for Bush?
SELECT County FROM table WHERE Bush% = 54.6%
Translate the following into a SQL query
What is the number of steals for 2012
SELECT COUNT Steals FROM table WHERE Year = 2012
Translate the following into a SQL query
Who are the blockers where points are scored by Zach Randolph (24)?
SELECT Blocks FROM table WHERE Points = Zach Randolph (24)
Translate the following into a SQL query
Who are the blockers where points are scored by Zach Randolph (24)?
SELECT Blocks FROM table WHERE Points = Zach Randolph (24)
Translate the following into a SQL query
How many rebounds were there in 2008?
SELECT COUNT Rebounds FROM table WHERE Year = 2008
Translate the following into a SQL query
Who had all of the blocks in 2012?
SELECT Blocks FROM table WHERE Year = 2012
Translate the following into a SQL query
What year has Nerlens Noel (4) as blocker?
SELECT MIN Year FROM table WHERE Blocks = Nerlens Noel (4)
Translate the following into a SQL query
What is the most silver medals?
SELECT MAX Silver Medals FROM table
Translate the following into a SQL query
what are all the gold medals when the silver medals is smaller than 1.0?
SELECT Gold Medals FROM table WHERE Silver Medals < 1.0
Translate the following into a SQL query
How many numbers were listed under Silver Medals for Portsmouth HS?
SELECT COUNT Silver Medals FROM table WHERE Ensemble = Portsmouth HS
Translate the following into a SQL query
What was the smallest total number of medals?
SELECT MIN Total Medals FROM table
Translate the following into a SQL query
What is the highest number of gold medals Naugatuck HS won?
SELECT MAX Gold Medals FROM table WHERE Ensemble = Naugatuck HS
Translate the following into a SQL query
what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson
SELECT MAX Round FROM table WHERE GT3 Winner = Hector Lester Tim Mullen AND Pole Position = Jonny Cocker Paul Drayson
Translate the following into a SQL query
what are all the date for gt3 winner oliver bryant matt harris
SELECT Date FROM table WHERE GT3 Winner = Oliver Bryant Matt Harris
Translate the following into a SQL query
what are all the date for gtc winners graeme mundy jamie smyth and gt3 winners hector lester tim mullen
SELECT Date FROM table WHERE GTC Winner = Graeme Mundy Jamie Smyth AND GT3 Winner = Hector Lester Tim Mullen
Translate the following into a SQL query
what are all the circuit for 9 september and gt3 winner hector lester allan simonsen
SELECT Circuit FROM table WHERE Date = 9 September AND GT3 Winner = Hector Lester Allan Simonsen
Translate the following into a SQL query
what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer
SELECT Circuit FROM table WHERE GTC Winner = Graeme Mundy Jamie Smyth AND Pole Position = Bradley Ellis Alex Mortimer
Translate the following into a SQL query
what are all the gtc winners for pole position no. 21 team modena
SELECT GTC Winner FROM table WHERE Pole Position = No. 21 Team Modena
Translate the following into a SQL query
What material is made with a rounded, plain edge?
SELECT Composition FROM table WHERE Edge = Rounded, plain
Translate the following into a SQL query
How many coins have a diameter of 23mm?
SELECT COUNT Reverse FROM table WHERE Diameter = 23mm
Translate the following into a SQL query
When was the coin with the mass of 3.7 g first minted?
SELECT first minting FROM table WHERE Mass = 3.7 g
Translate the following into a SQL query
What is the number of population for lithuania?
SELECT COUNT Population FROM table WHERE Member countries = Lithuania
Translate the following into a SQL query
Name the gdp where gdp per capita 20200
SELECT GDP (billion US$) FROM table WHERE GDP per capita (US$) = 20200
Translate the following into a SQL query
Name the total number of area for 775927 population
SELECT COUNT Area (km²) FROM table WHERE Population = 775927
Translate the following into a SQL query
What is the gdp of the country with an area of 83871 (km2)?
SELECT GDP (billion US$) FROM table WHERE Area (km²) = 83871
Translate the following into a SQL query
What was the gdp of the country with a gdp per capita of $18048?
SELECT GDP (billion US$) FROM table WHERE GDP per capita (US$) = 18048
Translate the following into a SQL query
What is Austria's maximum area (km2)?
SELECT MAX Area (km²) FROM table WHERE Member countries = Austria
Translate the following into a SQL query
What is the season for no award given for rookie of the year?
SELECT Season FROM table WHERE Rookie of the Year = No award given
Translate the following into a SQL query
how many air date with overall being 83/95
SELECT COUNT Air Date FROM table WHERE Overall = 83/95
Translate the following into a SQL query
how many viewers (m) with overall being 91/101
SELECT COUNT Viewers (m) FROM table WHERE Overall = 91/101
Translate the following into a SQL query
what are all the rating with viewers (m) being 2.89
SELECT Rating FROM table WHERE Viewers (m) = 2.89
Translate the following into a SQL query
what are all the overall with rating being 1.4
SELECT Overall FROM table WHERE Rating = 1.4
Translate the following into a SQL query
what are all the overall with viewers (m) being 2.61
SELECT Overall FROM table WHERE Viewers (m) = 2.61
Translate the following into a SQL query
what are all the rating with viewers (m) being 2.61
SELECT Rating FROM table WHERE Viewers (m) = 2.61
Translate the following into a SQL query
what is the year where the qualifying score was 15.150?
SELECT Year FROM table WHERE Qualifying Score = 15.150
Translate the following into a SQL query
how many times was the qualifying score 60.750?
SELECT COUNT Event FROM table WHERE Qualifying Score = 60.750
Translate the following into a SQL query
how many times is the qualifying score 61.400?
SELECT COUNT Year FROM table WHERE Qualifying Score = 61.400
Translate the following into a SQL query
what is the final-rank for the uneven bars and the competition is u.s. championships?
SELECT Final-Rank FROM table WHERE Event = Uneven Bars AND Competition = U.S. Championships
Translate the following into a SQL query
what is the lowest qualifying rank?
SELECT MIN Qualifying Rank FROM table
Translate the following into a SQL query
what is the highest qualifying rank where the competition is olympic trials, the final-rank is 4 and qualifying score is 15.100?
SELECT MAX Qualifying Rank FROM table WHERE Competition = Olympic Trials AND Final-Rank = 4 AND Qualifying Score = 15.100
Translate the following into a SQL query
When did the season of gurmeet choudhary premiere?
SELECT Season Premiere Date FROM table WHERE Winner = Gurmeet Choudhary
Translate the following into a SQL query
When was the season finale of meiyang chang?
SELECT Season Finale Date FROM table WHERE Winner = Meiyang Chang
Translate the following into a SQL query
What is the winner of rashmi desai?
SELECT Winner FROM table WHERE 1st Runner Up = Rashmi Desai
Translate the following into a SQL query
When is the season finale of meiyang chang?
SELECT Season Finale Date FROM table WHERE Winner = Meiyang Chang
Translate the following into a SQL query
In what number kōhaku was the red team host Peggy Hayama?
SELECT Kōhaku # FROM table WHERE Red Team Host = Peggy Hayama
Translate the following into a SQL query
Who was the mediator in kōhaku number 53?
SELECT Mediator FROM table WHERE Kōhaku # = 53
Translate the following into a SQL query
On what date was Keiichi Ubukata the mediator and Mitsuko Mori the red team host?
SELECT Date FROM table WHERE Mediator = Keiichi Ubukata AND Red Team Host = Mitsuko Mori
Translate the following into a SQL query
What is the most recent year?
SELECT MAX Year FROM table
Translate the following into a SQL query
What year is Jiyai Shin the champion?
SELECT COUNT Year FROM table WHERE Champion = Jiyai Shin
Translate the following into a SQL query
What is the # for the episode with a Production code of 3T7057?
SELECT # FROM table WHERE Production code = 3T7057
Translate the following into a SQL query
What is the Original air date for the episode directed by Tricia Brock?
SELECT Original air date FROM table WHERE Directed by = Tricia Brock
Translate the following into a SQL query
What is the Original air date for the episode written by Peter Ocko?
SELECT Original air date FROM table WHERE Written by = Peter Ocko
Translate the following into a SQL query
How many U.S. viewers (million) are there for the episode whose Production code is 3T7051?
SELECT U.S. viewers (million) FROM table WHERE Production code = 3T7051
Translate the following into a SQL query
How many episodes were aired on the Original air date for "Circus, Circus"?
SELECT COUNT Original air date FROM table WHERE Title = "Circus, Circus"
Translate the following into a SQL query
How many michelob ultra mountains classification for darren lill
SELECT COUNT Michelob ULTRA Mountains Classification Gold Polka Dot Jersey FROM table WHERE Drury Hotels Most Aggressive Rider Red Jersey = Darren Lill
Translate the following into a SQL query
What was the release date of Sonic Adventure 2?
SELECT Release FROM table WHERE Title = Sonic Adventure 2
Translate the following into a SQL query
Was the release on April 8 available on Windows?
SELECT Windows FROM table WHERE Release = April 8
Translate the following into a SQL query
What title was released on August 27?
SELECT Title FROM table WHERE Release = August 27
Translate the following into a SQL query
Is icewind dale available for windows
SELECT Windows FROM table WHERE Title = Icewind Dale
Translate the following into a SQL query
List all number of yards with an AST of 8.
SELECT No-Yds FROM table WHERE Ast = 8
Translate the following into a SQL query
Who did the Seahawks play when the listed attendance was 61615?
SELECT Opponent FROM table WHERE Attendance = 61615
Translate the following into a SQL query
What was the Seahawks record on September 18, 1983?
SELECT Record FROM table WHERE Date = September 18, 1983
Translate the following into a SQL query
What week did the Seahawks play at los angeles memorial coliseum?
SELECT MIN Week FROM table WHERE Game site = Los Angeles Memorial Coliseum
Translate the following into a SQL query
What was the score of the game when the attendance was 48945?
SELECT Result FROM table WHERE Attendance = 48945
Translate the following into a SQL query
Who did the Seahawks play on September 4, 1983?
SELECT Opponent FROM table WHERE Date = September 4, 1983
Translate the following into a SQL query
What was the record set during the game played at Hubert H. Humphrey Metrodome?
SELECT Record FROM table WHERE Game site = Hubert H. Humphrey Metrodome
Translate the following into a SQL query
On what date was the game against San Diego Chargers played?
SELECT Date FROM table WHERE Opponent = San Diego Chargers
Translate the following into a SQL query
What was the date of the game against Kansas City Chiefs?
SELECT Date FROM table WHERE Opponent = Kansas City Chiefs
Translate the following into a SQL query
What was the result of the game played on September 16, 1984?
SELECT Result FROM table WHERE Date = September 16, 1984
Translate the following into a SQL query
On what date did the game end with the result w 43-14?
SELECT Date FROM table WHERE Result = W 43-14
Translate the following into a SQL query
What was the attendance at the game that resulted in w 24-20?
SELECT Attendance FROM table WHERE Result = W 24-20
Translate the following into a SQL query
Who did they play against in the game that ended in 2-2?
SELECT Opponent FROM table WHERE Record = 2-2
Translate the following into a SQL query
When was the record of 0-1 set?
SELECT Date FROM table WHERE Record = 0-1
Translate the following into a SQL query
During what weak of the season was the game played on october 4, 1987?
SELECT MAX Week FROM table WHERE Date = October 4, 1987
Translate the following into a SQL query
What was the attendance when the record was 1-1?
SELECT Attendance FROM table WHERE Record = 1-1
Translate the following into a SQL query
In what week was the record 5-9?
SELECT MAX Week FROM table WHERE Record = 5-9
Translate the following into a SQL query
What date did the Seahawks play the Kansas City Chiefs at the Kingdome?
SELECT Date FROM table WHERE Game site = Kingdome AND Opponent = Kansas City Chiefs
Translate the following into a SQL query
In what week was November 27, 1977?
SELECT MAX Week FROM table WHERE Date = November 27, 1977
Translate the following into a SQL query
Where did the teams play on October 16, 1977?
SELECT Game site FROM table WHERE Date = October 16, 1977
Translate the following into a SQL query
What team was the opponent at Mile High Stadium?
SELECT Opponent FROM table WHERE Game site = Mile High Stadium
Translate the following into a SQL query
What was the record when they played the Los Angeles Rams?
SELECT Record FROM table WHERE Opponent = Los Angeles Rams