instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who won the XXIV Gran Premio di Pescara in the sports car class?
SELECT Driver/s FROM table WHERE Class = sports car AND Race title = xxiv gran premio di pescara
Translate the following into a SQL query
What surface was the città di caltanissetta played on?
SELECT Surface FROM table WHERE Tournament = città di caltanissetta
Translate the following into a SQL query
What was the score in Volkswagen Challenger tournament?
SELECT Score FROM table WHERE Tournament = volkswagen challenger
Translate the following into a SQL query
what is the production in 2010 with 2011 production of 2,240,000?
SELECT 2010 FROM table WHERE 2011 = 2,240,000
Translate the following into a SQL query
what is the ranking for 2010 production of 2,903,000?
SELECT Rank FROM table WHERE 2010 = 2,903,000
Translate the following into a SQL query
what is the production in 2010 with rank of 8?
SELECT 2010 FROM table WHERE Rank = 8
Translate the following into a SQL query
What club captain is John Hutchinson in?
SELECT Club FROM table WHERE Captain = john hutchinson
Translate the following into a SQL query
What team is Michael McGlinchey vice captain of?
SELECT International Marquee FROM table WHERE Vice-Captain = michael mcglinchey
Translate the following into a SQL query
What Australian Marquee team is Michael Beauchamp a captain of?
SELECT Australian Marquee FROM table WHERE Captain = michael beauchamp
Translate the following into a SQL query
What Junior Marquee team is Harry Kewell of?
SELECT Junior Marquee player FROM table WHERE Captain = harry kewell
Translate the following into a SQL query
What is the name of call sign that uses a Frequency MHz of 91.1 fm?
SELECT Call sign FROM table WHERE Frequency MHz = 91.1 fm
Translate the following into a SQL query
How much is the total ERP W for an 107.9 fm freqeuncy MHz?
SELECT COUNT ERP W FROM table WHERE Frequency MHz = 107.9 fm
Translate the following into a SQL query
Can you tell me what is FCC info for harmony township, new jersey?
SELECT FCC info FROM table WHERE City of license = harmony township, new jersey
Translate the following into a SQL query
What is the smallest ERP for allentown, pennsylvania?
SELECT MIN ERP W FROM table WHERE City of license = allentown, pennsylvania
Translate the following into a SQL query
Which grid has a time/retired of +3.9 secs in less than 96 laps?
SELECT AVG Grid FROM table WHERE Time/Retired = +3.9 secs AND Laps < 96
Translate the following into a SQL query
Which driver has 7 points for team Australia?
SELECT Driver FROM table WHERE Points = 7 AND Team = team australia
Translate the following into a SQL query
What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points?
SELECT MIN Laps FROM table WHERE Team = dale coyne racing AND Time/Retired = mechanical AND Points < 5
Translate the following into a SQL query
What is the highest points total scored by Dan Clarke in a grid higher than 10?
SELECT MAX Points FROM table WHERE Driver = dan clarke AND Grid > 10
Translate the following into a SQL query
What is the earliest episode of the series that is set in Boston, Massachusetts?
SELECT MIN Total FROM table WHERE Location = boston, massachusetts
Translate the following into a SQL query
How many people were surveyed in the poll from June 30, 2010?
SELECT Sample size FROM table WHERE Date(s) administered = june 30, 2010
Translate the following into a SQL query
What percentage of the vote with a margin of error of ± 3.3% did Meg Whitman (R) get?
SELECT Meg Whitman (R) FROM table WHERE Margin of error = ± 3.3%
Translate the following into a SQL query
How many people participated in the Rasmussen Reports poll on October 13, 2010?
SELECT Sample size FROM table WHERE Poll source = rasmussen reports AND Date(s) administered = october 13, 2010
Translate the following into a SQL query
What percent of the vote went to Meg Whitman in the poll taken on October 21, 2010.
SELECT Meg Whitman (R) FROM table WHERE Date(s) administered = october 21, 2010
Translate the following into a SQL query
What is the Prize, when the Event is Ept Deauville?
SELECT Prize FROM table WHERE Event = ept deauville
Translate the following into a SQL query
What is the City, when the Prize is €880,000?
SELECT City FROM table WHERE Prize = €880,000
Translate the following into a SQL query
What is the City, when the Winner is Ruben Visser?
SELECT City FROM table WHERE Winner = ruben visser
Translate the following into a SQL query
Who is the Winner, when the Prize is €880,000?
SELECT Winner FROM table WHERE Prize = €880,000
Translate the following into a SQL query
What is the City, when the Prize is $1,859,000?
SELECT City FROM table WHERE Prize = $1,859,000
Translate the following into a SQL query
What is the Prize, when the Event is Ept Sanremo?
SELECT Prize FROM table WHERE Event = ept sanremo
Translate the following into a SQL query
On what date was the venue at Edgbaston?
SELECT Date FROM table WHERE Venue = edgbaston
Translate the following into a SQL query
What is the lowest image with a 20w Harrison, and less than 20 for Ashmolean?
SELECT MIN Image FROM table WHERE Harrison = 20w AND Ashmolean < 20
Translate the following into a SQL query
What is the number of Ashmolean with 14s Harrison, and image less than 542?
SELECT COUNT Ashmolean FROM table WHERE Harrison = 14s AND Image < 542
Translate the following into a SQL query
What is the cooper with an Ashmolean less than 21, and hahland smaller than 4?
SELECT Cooper FROM table WHERE Ashmolean < 21 AND Hahland < 4
Translate the following into a SQL query
What is the smith with a 16 ashmolean?
SELECT Smith FROM table WHERE Ashmolean = 16
Translate the following into a SQL query
What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)?
SELECT Order FROM table WHERE Species Authority = hydrochaeris hydrochaeris (linnaeus, 1766)
Translate the following into a SQL query
What is the highest Red List for the muridae family and species Authority of microtus pinetorum (le conte, 1830)?
SELECT MAX Red List FROM table WHERE Family = muridae AND Species Authority = microtus pinetorum (le conte, 1830)
Translate the following into a SQL query
What is the name for the species Authority of sigmodon hispidus say & ord, 1825?
SELECT Name FROM table WHERE Species Authority = sigmodon hispidus say & ord, 1825
Translate the following into a SQL query
What is the largest total with a Silver of 1, and a Rank larger than 7?
SELECT MAX Total FROM table WHERE Silver = 1 AND Rank > 7
Translate the following into a SQL query
How many totals have a Bronze smaller than 3, a Nation of zimbabwe, and a Silver smaller than 6?
SELECT COUNT Total FROM table WHERE Bronze < 3 AND Nation = zimbabwe AND Silver < 6
Translate the following into a SQL query
What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9?
SELECT MIN Silver FROM table WHERE Bronze < 6 AND Total = 3 AND Rank < 9
Translate the following into a SQL query
How many ranks have 0 golds, a Nation of namibia, and a Total smaller than 1?
SELECT COUNT Rank FROM table WHERE Gold = 0 AND Nation = namibia AND Total < 1
Translate the following into a SQL query
How many totals have a Bronze of 0, and a Gold smaller than 0?
SELECT SUM Total FROM table WHERE Bronze = 0 AND Gold < 0
Translate the following into a SQL query
What is the total silver with a Rank larger than 9, and a Total larger than 1?
SELECT SUM Silver FROM table WHERE Rank > 9 AND Total > 1
Translate the following into a SQL query
Which language do 1% of males speak?
SELECT percentage (%) FROM table WHERE males = 1
Translate the following into a SQL query
Which language do 87.5% of males speak?
SELECT males FROM table WHERE percentage (%) = 87.5
Translate the following into a SQL query
Which language do 706 females speak?
SELECT females FROM table WHERE Number = 706
Translate the following into a SQL query
How many females speak Ukrainian?
SELECT females FROM table WHERE Language = ukrainian
Translate the following into a SQL query
What were the names of the mixed doubles pair for the year that Ralph Nichols played in the men's singles match?
SELECT Mixed doubles FROM table WHERE Men's singles = ralph nichols
Translate the following into a SQL query
Who were the women's doubles pair in 1952?
SELECT Women's doubles FROM table WHERE Year = 1952
Translate the following into a SQL query
What was the position of the team that had a goal difference of less than -11 and played less than 38 games?
SELECT SUM Position FROM table WHERE Goal Difference < -11 AND Played < 38
Translate the following into a SQL query
Which position had a goal difference of less than 27, lost more than 13 games, scored less than 42 goals and drew 6 games?
SELECT MAX Played FROM table WHERE Goal Difference < 27 AND Losses > 13 AND Goals for < 42 AND Draws = 6
Translate the following into a SQL query
What was the number of wins with goals against of less than 32?
SELECT COUNT Wins FROM table WHERE Goals against < 32
Translate the following into a SQL query
How many Antonov An-2 Colt aircraft are in service?
SELECT AVG In service FROM table WHERE Aircraft = antonov an-2 colt
Translate the following into a SQL query
What 7:30 has 8:00 risk takers?
SELECT 7:30 FROM table WHERE 8:00 = risk takers
Translate the following into a SQL query
What 7:00 has 7:30 movies?
SELECT 7:00 FROM table WHERE 7:30 = movies
Translate the following into a SQL query
What 7:00 has 8:00 risk takers?
SELECT 7:00 FROM table WHERE 8:00 = risk takers
Translate the following into a SQL query
What 7:00 has 7:30 movies?
SELECT 7:00 FROM table WHERE 7:30 = movies
Translate the following into a SQL query
What 7:00 has a 7:30 of w-five?
SELECT 7:00 FROM table WHERE 7:30 = w-five
Translate the following into a SQL query
What 7:00 has 7:30 movies?
SELECT 7:00 FROM table WHERE 7:30 = movies
Translate the following into a SQL query
for the position of rb what is the name?
SELECT Name FROM table WHERE Position = rb
Translate the following into a SQL query
for the name of joe surratt what is the last update?
SELECT Last Update FROM table WHERE Name = joe surratt
Translate the following into a SQL query
for the name of jamar jackson what is the last update?
SELECT Last Update FROM table WHERE Name = jamar jackson
Translate the following into a SQL query
for the name of jamar jackson what is the class?
SELECT Class FROM table WHERE Name = jamar jackson
Translate the following into a SQL query
for the name of jamar jackson what is the total of Number?
SELECT COUNT Number FROM table WHERE Name = jamar jackson
Translate the following into a SQL query
What term did Stewart Mcarthur from Vic serve in office?
SELECT Term in office FROM table WHERE State = vic AND Member = stewart mcarthur
Translate the following into a SQL query
What is Hon Paul Keating's Party?
SELECT Party FROM table WHERE Member = hon paul keating
Translate the following into a SQL query
What member is in the liberal party and has an electorate of bruce?
SELECT Member FROM table WHERE Party = liberal AND Electorate = bruce
Translate the following into a SQL query
Which Electorate is from vic, a labor party, and is David Charles a member of?
SELECT Electorate FROM table WHERE State = vic AND Party = labor AND Member = david charles
Translate the following into a SQL query
Name the format on july 27, 1994 for alfa records
SELECT Format FROM table WHERE Label = alfa records AND Date = july 27, 1994
Translate the following into a SQL query
Name the region for cd with catalog of alca-9203
SELECT Region FROM table WHERE Format = cd AND Catalog = alca-9203
Translate the following into a SQL query
Name the date for alfa records and catalog of alr-28045
SELECT Date FROM table WHERE Label = alfa records AND Catalog = alr-28045
Translate the following into a SQL query
Name the region for cd format on february 22, 1984
SELECT Region FROM table WHERE Format = cd AND Date = february 22, 1984
Translate the following into a SQL query
Name the region for february 14, 2002
SELECT Region FROM table WHERE Date = february 14, 2002
Translate the following into a SQL query
What First game has a Lost greater than 16?
SELECT AVG First game FROM table WHERE Lost > 16
Translate the following into a SQL query
What Percentage did the First game of 1998 have?
SELECT Percentage FROM table WHERE First game = 1998
Translate the following into a SQL query
What bowler has a record of 4-15?
SELECT Player FROM table WHERE Bowling = 4-15
Translate the following into a SQL query
What ranking is james franklin?
SELECT Rank FROM table WHERE Player = james franklin
Translate the following into a SQL query
what venue does tim southee bowl at?
SELECT Venue FROM table WHERE Player = tim southee
Translate the following into a SQL query
What was the regular season for 2012?
SELECT Regular Season FROM table WHERE Year = 2012
Translate the following into a SQL query
What is the lowest division in the playoffs and did not qualify for the Open Cup in 2002?
SELECT MIN Division FROM table WHERE Playoffs = did not qualify AND Open Cup = did not qualify AND Year = 2002
Translate the following into a SQL query
What chassis has more than 0 points?
SELECT Chassis FROM table WHERE Points > 0
Translate the following into a SQL query
How many points were there before 1955?
SELECT COUNT Points FROM table WHERE Year < 1955
Translate the following into a SQL query
What is the lowest amount of points held by the Epperly Indy roadster in 1959?
SELECT MIN Points FROM table WHERE Chassis = epperly indy roadster AND Year = 1959
Translate the following into a SQL query
What Chassis has more than 0 points?
SELECT Chassis FROM table WHERE Points > 0
Translate the following into a SQL query
What is the date that 4,286 attended?
SELECT Date FROM table WHERE Attendance = 4,286
Translate the following into a SQL query
Where does CF Pachuca play?
SELECT Game Site FROM table WHERE Opponent = cf pachuca
Translate the following into a SQL query
What was the attendance of the Cup Quarterfinals game?
SELECT Attendance FROM table WHERE Game Site = cup quarterfinals
Translate the following into a SQL query
What shows for 2000 when 2013 shows 3rd?
SELECT 2000 FROM table WHERE 2013 = 3rd
Translate the following into a SQL query
What is the 2004 when 2013 is 3rd?
SELECT 2004 FROM table WHERE 2013 = 3rd
Translate the following into a SQL query
What is the 2009 when the 2013 is 4th?
SELECT 2009 FROM table WHERE 2013 = 4th
Translate the following into a SQL query
What shows for 209 when the 2000 is –, and a Total of 3, and a 2004 of 9th?
SELECT 2009 FROM table WHERE 2000 = – AND Total = 3 AND 2004 = 9th
Translate the following into a SQL query
What was the winning score in the PGA Championship?
SELECT Winning score FROM table WHERE Championship = pga championship
Translate the following into a SQL query
How many draws with 1 loss?
SELECT SUM Draws FROM table WHERE Losses = 1
Translate the following into a SQL query
How many losses does Alex Wilkinson have?
SELECT COUNT Losses FROM table WHERE Name = alex wilkinson
Translate the following into a SQL query
Name the incorporated for Group's equity shareholding 10 march 2010 of 25% and principal activities of cargo loading
SELECT Incorporated in FROM table WHERE Group's Equity Shareholding (10 March 2010) = 25% AND Principal activities = cargo loading
Translate the following into a SQL query
Name the group's equity shareholding for company of yangtze river express.
SELECT Group's Equity Shareholding (10 March 2010) FROM table WHERE Company = yangtze river express
Translate the following into a SQL query
Name the type for headquarters principal activites.
SELECT Type FROM table WHERE Principal activities = headquarters
Translate the following into a SQL query
Name the incorporated for principal activites of travel agency
SELECT Incorporated in FROM table WHERE Principal activities = travel agency
Translate the following into a SQL query
Name the title with presentation of credentials of april 24, 1884
SELECT Title FROM table WHERE Presentation of Credentials = april 24, 1884
Translate the following into a SQL query
Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck
SELECT Presentation of Credentials FROM table WHERE Appointed by = grover cleveland AND Representative = charles w. buck