instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the party of Richard Simpson?
SELECT Party FROM table WHERE Name = richard simpson
Translate the following into a SQL query
Name the sum of spectators for time more than 20.05 and team #2 of estonia
SELECT SUM Spectators FROM table WHERE Time ( CEST ) > 20.05 AND Team #2 = estonia
Translate the following into a SQL query
Name the spectators for 11 november 2011
SELECT Spectators FROM table WHERE Date = 11 november 2011
Translate the following into a SQL query
Which loss has a Record of 54-39?
SELECT Loss FROM table WHERE Record = 54-39
Translate the following into a SQL query
Which opponent has a Record of 54-38?
SELECT Opponent FROM table WHERE Record = 54-38
Translate the following into a SQL query
Which opponent has a date of July 7?
SELECT Opponent FROM table WHERE Date = july 7
Translate the following into a SQL query
Which record has a Loss of eichhorn (8-5)?
SELECT Record FROM table WHERE Loss = eichhorn (8-5)
Translate the following into a SQL query
What is the average attendance San Jose home games?
SELECT AVG Attendance FROM table WHERE Home = san jose
Translate the following into a SQL query
Who was the attendance at the game attended by 18,118 with a visiting team of Nashville?
SELECT Home FROM table WHERE Attendance > 18,118 AND Visitor = nashville
Translate the following into a SQL query
What was the record at the game that had a loss of Spillner (1-8)?
SELECT Record FROM table WHERE Loss = spillner (1-8)
Translate the following into a SQL query
What was the score of the game that had a loss of Williams (1-1)?
SELECT Score FROM table WHERE Loss = williams (1-1)
Translate the following into a SQL query
What was the loss of the game that had a record of 63-52?
SELECT Loss FROM table WHERE Record = 63-52
Translate the following into a SQL query
What was the score when the Washington Nationals had a record of 11-10?
SELECT Score FROM table WHERE Record = 11-10
Translate the following into a SQL query
Who was the opponent when the Washington Nationals had a record of 8-4?
SELECT Opponent FROM table WHERE Record = 8-4
Translate the following into a SQL query
How many people were in attendance when the Washington Nationals had a score of 7-3 and a loss of Worrell (0-1)?
SELECT COUNT Attendance FROM table WHERE Score = 7-3 AND Loss = worrell (0-1)
Translate the following into a SQL query
Name the Qual 2 which has the name of katherine legge
SELECT Qual 2 FROM table WHERE Name = katherine legge
Translate the following into a SQL query
Name the team with best of 58.846
SELECT Team FROM table WHERE Best = 58.846
Translate the following into a SQL query
Tell me the name with best of 58.403
SELECT Name FROM table WHERE Best = 58.403
Translate the following into a SQL query
Tell me the qual 1 for jan heylen
SELECT Qual 1 FROM table WHERE Name = jan heylen
Translate the following into a SQL query
When the attendance was 24,406 who lost?
SELECT Loss FROM table WHERE Attendance = 24,406
Translate the following into a SQL query
Which of the opponents has a record of 17-25?
SELECT Opponent FROM table WHERE Record = 17-25
Translate the following into a SQL query
Who was the opponent that played on may 12?
SELECT Opponent FROM table WHERE Date = may 12
Translate the following into a SQL query
When in the 1st league position, how many people watch as they faced West Ham United?
SELECT MIN Attendance FROM table WHERE League position = 1st AND Opponents = west ham united
Translate the following into a SQL query
What was the result with West Ham United with more than 67,577 in attendance?
SELECT Result F–A FROM table WHERE Attendance > 67,577 AND Opponents = west ham united
Translate the following into a SQL query
What is the average bronze medals of Uganda's swimmers when they earned over 2 medals?
SELECT AVG Bronze FROM table WHERE Nation = uganda AND Total > 2
Translate the following into a SQL query
What is the highest number of silver medals that Ireland earned when they scored less than 3 bronze medals and earned 1 medal?
SELECT MAX Silver FROM table WHERE Bronze < 3 AND Gold < 1 AND Total = 1 AND Nation = ireland
Translate the following into a SQL query
What's the highest silver and 1 gold that the nation of djibouti received with a total less than 3?
SELECT MAX Silver FROM table WHERE Gold = 1 AND Nation = djibouti AND Total < 3
Translate the following into a SQL query
What's the total number that had a rank larger than 17 and a gold greater than 0?
SELECT COUNT Total FROM table WHERE Rank > 17 AND Gold > 0
Translate the following into a SQL query
Which opponent was faced before week 2?
SELECT Opponent FROM table WHERE Week < 2
Translate the following into a SQL query
Name the least total for 1978 years won
SELECT MIN Total FROM table WHERE Year(s) won = 1978
Translate the following into a SQL query
Name the total with finish of t22
SELECT Total FROM table WHERE Finish = t22
Translate the following into a SQL query
Name the average total for years won of 1975
SELECT AVG Total FROM table WHERE Year(s) won = 1975
Translate the following into a SQL query
Name the finish with player lou graham
SELECT Finish FROM table WHERE Player = lou graham
Translate the following into a SQL query
Name the total number of total with finish of t45
SELECT COUNT Total FROM table WHERE Finish = t45
Translate the following into a SQL query
What year was the League the malaysian super league, and a Malaysia Cup of group stage?
SELECT Year FROM table WHERE League = malaysian super league AND Malaysia Cup = group stage
Translate the following into a SQL query
What is the position when the League is the malaysian super league, and a Year of 2011?
SELECT Position FROM table WHERE League = malaysian super league AND Year = 2011
Translate the following into a SQL query
What year was the position 6/13?
SELECT Year FROM table WHERE Position = 6/13
Translate the following into a SQL query
What year was the League of malaysian super league, and the Position was 10/14?
SELECT Year FROM table WHERE League = malaysian super league AND Position = 10/14
Translate the following into a SQL query
tell me the average roll for the featherston area and integrated authority.
SELECT AVG Roll FROM table WHERE Area = featherston AND Authority = integrated
Translate the following into a SQL query
tell me the authority that has a decile less than 6 and roll less than 65.
SELECT Authority FROM table WHERE Decile < 6 AND Roll < 65
Translate the following into a SQL query
tell me the average roll for pirinoa school.
SELECT AVG Roll FROM table WHERE Name = pirinoa school
Translate the following into a SQL query
tell me the total number of decile with a roll showing 251.
SELECT COUNT Decile FROM table WHERE Roll = 251
Translate the following into a SQL query
What is the score for 2004?
SELECT Score FROM table WHERE Year = 2004
Translate the following into a SQL query
what is the location when the champion is brigham young-hawaii, defeated is western oregon and the score is 3-0 (15-5, 15-9, 15-6)?
SELECT Location FROM table WHERE Champion = brigham young-hawaii AND Defeated = western oregon AND Score = 3-0 (15-5, 15-9, 15-6)
Translate the following into a SQL query
what is the year when the location is san diego, california and defeated is houston baptist (texas)?
SELECT COUNT Year FROM table WHERE Location = san diego, california AND Defeated = houston baptist (texas)
Translate the following into a SQL query
Operation start of 2015 has what gross mw?
SELECT Gross MW FROM table WHERE Operation start = 2015
Translate the following into a SQL query
Gross MW of 220, and a Unit of kakrapar 1 involves what operation start?
SELECT Operation start FROM table WHERE Gross MW = 220 AND Unit = kakrapar 1
Translate the following into a SQL query
Type of phase ii has what gross mw?
SELECT Gross MW FROM table WHERE Type = phase ii
Translate the following into a SQL query
Construction start of phase i includes what type?
SELECT Type FROM table WHERE Construction start = phase i
Translate the following into a SQL query
Construction start of 1 december 1984 is what unit?
SELECT Unit FROM table WHERE Construction start = 1 december 1984
Translate the following into a SQL query
Construction start of phase ii has what operation start?
SELECT Operation start FROM table WHERE Construction start = phase ii
Translate the following into a SQL query
what's the ungen for αžαŸ’αžšαžΈαž‘αžŸ?
SELECT UNGEGN FROM table WHERE Word form = αžαŸ’αžšαžΈαž‘αžŸ
Translate the following into a SQL query
what notes have the khmer ្៨?
SELECT Notes FROM table WHERE Khmer = ្៨
Translate the following into a SQL query
what's the ungegn for the ៑០០ khmer?
SELECT UNGEGN FROM table WHERE Khmer = ៑០០
Translate the following into a SQL query
What was the population of Puerto Rico in 2010?
SELECT MAX Population ( 2010 ) FROM table WHERE Territory = puerto rico
Translate the following into a SQL query
What is the territory that was acquired past 1899 and has a capital of saipan?
SELECT Territory FROM table WHERE Acquired > 1899 AND Capital = saipan
Translate the following into a SQL query
Name the termination of mission for appointed by of franklin pierce
SELECT Termination of mission FROM table WHERE Appointed by = franklin pierce
Translate the following into a SQL query
Name the representative with presentation of credentials of august 16, 1928
SELECT Representative FROM table WHERE Presentation of credentials = august 16, 1928
Translate the following into a SQL query
Name the representative appointed by george w. bush with presentation of credentials 9 november 2007
SELECT Representative FROM table WHERE Appointed by = george w. bush AND Presentation of credentials = 9 november 2007
Translate the following into a SQL query
Name the title with representative edward h. strobel
SELECT Title FROM table WHERE Representative = edward h. strobel
Translate the following into a SQL query
Which Country that has 600?
SELECT Country FROM table WHERE Money ( $ ) = 600
Translate the following into a SQL query
What is the to par that has macdonald smith as the player?
SELECT To par FROM table WHERE Player = macdonald smith
Translate the following into a SQL query
Which country has t6 as a place and 75-70=145 as the score?
SELECT Country FROM table WHERE Place = t6 AND Score = 75-70=145
Translate the following into a SQL query
What is the to par that has jimmy hines as the player?
SELECT To par FROM table WHERE Player = jimmy hines
Translate the following into a SQL query
Which score has t3 as the place?
SELECT Score FROM table WHERE Place = t3
Translate the following into a SQL query
Which place has horton smith as the player?
SELECT Place FROM table WHERE Player = horton smith
Translate the following into a SQL query
Which place has United States as the country and Craig Wood as the player?
SELECT Place FROM table WHERE Country = united states AND Player = craig wood
Translate the following into a SQL query
What was the 2013 finish for the tournament that had a 2007 finish of A?
SELECT 2013 FROM table WHERE 2007 = a
Translate the following into a SQL query
What was the 2012 finish in the US Open?
SELECT 2012 FROM table WHERE Tournament = us open
Translate the following into a SQL query
Which tournament had a 2010 finish of 4R?
SELECT Tournament FROM table WHERE 2010 = 4r
Translate the following into a SQL query
Name the 18th september 2007-19:45 with preston north end of watford
SELECT 18 September 2007 – 19:45 FROM table WHERE Preston North End = watford
Translate the following into a SQL query
Name the won 2-1 for preston north end of preston
SELECT Won 2–1 FROM table WHERE Preston North End = preston
Translate the following into a SQL query
What is the qualification for rank of 29 in 1957?
SELECT Qual FROM table WHERE Rank = 29 AND Year = 1957
Translate the following into a SQL query
What is the Place when the To par was +3 and Score was 74-73=147?
SELECT Place FROM table WHERE To par = +3 AND Score = 74-73=147
Translate the following into a SQL query
When the To par is E, what is the Score?
SELECT Score FROM table WHERE To par = e
Translate the following into a SQL query
What was Lloyd Mangrum's Score?
SELECT Score FROM table WHERE Player = lloyd mangrum
Translate the following into a SQL query
What Dave Douglas' Place?
SELECT Place FROM table WHERE Player = dave douglas
Translate the following into a SQL query
What's Chick Harbert's To par?
SELECT To par FROM table WHERE Player = chick harbert
Translate the following into a SQL query
What United States Player has a To par of +4 and a Score of 71-77=148?
SELECT Player FROM table WHERE Country = united states AND To par = +4 AND Score = 71-77=148
Translate the following into a SQL query
What is South Korea's to par value?
SELECT To par FROM table WHERE Country = south korea
Translate the following into a SQL query
What are Tiger Woods' average earnings?
SELECT AVG Money ( $ ) FROM table WHERE Player = tiger woods
Translate the following into a SQL query
What's the method for a record of 4-2 and round smaller than 3?
SELECT Method FROM table WHERE Round < 3 AND Record = 4-2
Translate the following into a SQL query
Where's the location for the opponent James Zikic and 3 rounds?
SELECT Location FROM table WHERE Round = 3 AND Opponent = james zikic
Translate the following into a SQL query
Name the spouse for louise of hesse-kassel
SELECT Spouse FROM table WHERE Name = louise of hesse-kassel
Translate the following into a SQL query
Name the became consort for christian ix spouse
SELECT Became Consort FROM table WHERE Spouse = christian ix
Translate the following into a SQL query
Name the marriagefor ceased to be consort of 29 september 1898
SELECT Marriage FROM table WHERE Ceased to be Consort = 29 september 1898
Translate the following into a SQL query
Tell me the name of the person married to frederick ix
SELECT Name FROM table WHERE Spouse = frederick ix
Translate the following into a SQL query
Name the birth of the person married 24 may 1935
SELECT Birth FROM table WHERE Marriage = 24 may 1935
Translate the following into a SQL query
What was the rank of the player in lane 6?
SELECT AVG Rank FROM table WHERE Lane = 6
Translate the following into a SQL query
Name the average year with Laps of 6
SELECT AVG Year FROM table WHERE Laps = 6
Translate the following into a SQL query
Which Language has a Number of 553 633?
SELECT Language FROM table WHERE Number = 553 633
Translate the following into a SQL query
Which Males have a percentage of 0.42?
SELECT males FROM table WHERE percentage (%) = 0.42
Translate the following into a SQL query
What's the Language with a percentage of 6.49?
SELECT Language FROM table WHERE percentage (%) = 6.49
Translate the following into a SQL query
What Number has a Language listed as other?
SELECT Number FROM table WHERE Language = other
Translate the following into a SQL query
what is the highest gold count when total is more than 3, bronze less than 3, and nation of belarus with silver count more than 2?
SELECT MAX Gold FROM table WHERE Total > 3 AND Bronze < 3 AND Nation = belarus AND Silver > 2
Translate the following into a SQL query
with silver count at 0, what is the lowest bronze count?
SELECT MIN Bronze FROM table WHERE Silver < 0
Translate the following into a SQL query
what is the gold count with total less than 3 and more than 1 silver?
SELECT MIN Gold FROM table WHERE Total < 3 AND Silver > 1
Translate the following into a SQL query
Who built the ship that is 42.8 m long and was delivered in 2007?
SELECT Builder FROM table WHERE Length = 42.8 m AND Delivery = 2007
Translate the following into a SQL query
Who was the Human Resources & Operations person between 2003-2004?
SELECT Human Resources & Operations FROM table WHERE Year = 2003-2004
Translate the following into a SQL query
Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton?
SELECT Local Affairs FROM table WHERE Human Resources & Operations = n. charles hamilton