instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
Which Position has an Event of 4x400 m relay, and a Venue of stuttgart , germany?
|
SELECT Position FROM table WHERE Event = 4x400 m relay AND Venue = stuttgart , germany
|
Translate the following into a SQL query
|
Which Year has a Competition of european indoor championships, and a Venue of budapest , hungary?
|
SELECT SUM Year FROM table WHERE Competition = european indoor championships AND Venue = budapest , hungary
|
Translate the following into a SQL query
|
How many rounds did satrio hermanto go with an opc-challenge engine?
|
SELECT Rounds FROM table WHERE Engine = opc-challenge AND Driver = satrio hermanto
|
Translate the following into a SQL query
|
How many rounds did frédéric vervisch go?
|
SELECT Rounds FROM table WHERE Driver = frédéric vervisch
|
Translate the following into a SQL query
|
How many rounds did shirley van der lof go?
|
SELECT Rounds FROM table WHERE Driver = shirley van der lof
|
Translate the following into a SQL query
|
What c class engine did philipp eng and team hs technik motorsport use?
|
SELECT Engine FROM table WHERE Class = c AND Team = hs technik motorsport AND Driver = philipp eng
|
Translate the following into a SQL query
|
What is the chassis of rahel frey's volkswagen engine?
|
SELECT Chassis FROM table WHERE Engine = volkswagen AND Driver = rahel frey
|
Translate the following into a SQL query
|
What is the greatest number of losses when the against is 1465 and there are more than 7 wins?
|
SELECT MAX Losses FROM table WHERE Against = 1465 AND Wins > 7
|
Translate the following into a SQL query
|
What is the total of against matches when there are less than 12 wins, less than 0 draws, and Moulamein is the golden river?
|
SELECT SUM Against FROM table WHERE Wins < 12 AND Golden Rivers = moulamein AND Draws < 0
|
Translate the following into a SQL query
|
What is the total losses when Hay is the golden river and there are more than 2 byes?
|
SELECT COUNT Losses FROM table WHERE Golden Rivers = hay AND Byes > 2
|
Translate the following into a SQL query
|
What is the total number of draws when there are 1465 against matches and less than 2 byes?
|
SELECT COUNT Draws FROM table WHERE Against = 1465 AND Byes < 2
|
Translate the following into a SQL query
|
What is the greatest number of losses when there are more than 0 draws and 1390 against matches?
|
SELECT MAX Losses FROM table WHERE Draws > 0 AND Against = 1390
|
Translate the following into a SQL query
|
What is the highest number of wins when there are more than 2 byes?
|
SELECT MAX Wins FROM table WHERE Byes > 2
|
Translate the following into a SQL query
|
Which percent has Wins larger than 72, and a Name of john yovicsin?
|
SELECT SUM Pct. FROM table WHERE Wins > 72 AND Name = john yovicsin
|
Translate the following into a SQL query
|
How many Ties have Years of 1919–1925, and a Pct larger than 0.734?
|
SELECT SUM Ties FROM table WHERE Years = 1919–1925 AND Pct. > 0.734
|
Translate the following into a SQL query
|
Which Pct has Years of 1957–1970, and Wins smaller than 78?
|
SELECT SUM Pct. FROM table WHERE Years = 1957–1970 AND Wins < 78
|
Translate the following into a SQL query
|
Which Wins have Years of 1881, and a Pct larger than 0.75?
|
SELECT AVG Wins FROM table WHERE Years = 1881 AND Pct. > 0.75
|
Translate the following into a SQL query
|
What's the genre of the song recorded in 1929?
|
SELECT Genre FROM table WHERE Year recorded = 1929
|
Translate the following into a SQL query
|
What label is "weather bird" under?
|
SELECT Label FROM table WHERE Title = "weather bird"
|
Translate the following into a SQL query
|
What's the year inducted for the label of label?
|
SELECT Year inducted FROM table WHERE Label = label
|
Translate the following into a SQL query
|
What genre is the song recorded in 1929?
|
SELECT Genre FROM table WHERE Year recorded = 1929
|
Translate the following into a SQL query
|
What genre is the song recorded in 1926?
|
SELECT Genre FROM table WHERE Year recorded = 1926
|
Translate the following into a SQL query
|
Which Party has a Residence of san diego?
|
SELECT Party FROM table WHERE Residence = san diego
|
Translate the following into a SQL query
|
Which Years in Senate has a Years in Assembly of 2010–present, and toni atkins?
|
SELECT Years in Senate FROM table WHERE Years in Assembly = 2010–present AND Name = toni atkins
|
Translate the following into a SQL query
|
Which Party has Years in Senate of —, and Years in Assembly of 2012–present?
|
SELECT Party FROM table WHERE Years in Senate = — AND Years in Assembly = 2012–present
|
Translate the following into a SQL query
|
Show the Residence whose Name is rich gordon?
|
SELECT Residence FROM table WHERE Name = rich gordon
|
Translate the following into a SQL query
|
Which Years in Assembly has a Name of toni atkins?
|
SELECT Years in Assembly FROM table WHERE Name = toni atkins
|
Translate the following into a SQL query
|
Which Party has Years in Assembly of 2008–present, and a Name of tom ammiano?
|
SELECT Party FROM table WHERE Years in Assembly = 2008–present AND Name = tom ammiano
|
Translate the following into a SQL query
|
In what year(s) did Raymond Floyd have a total of less than 291 and a To par of +10?
|
SELECT Year(s) won FROM table WHERE Total < 291 AND To par = +10 AND Player = raymond floyd
|
Translate the following into a SQL query
|
What was Jeff Sluman's To par when his total was smaller than 284?
|
SELECT To par FROM table WHERE Total < 284 AND Player = jeff sluman
|
Translate the following into a SQL query
|
What was the finish for Lanny Wadkins of the United States?
|
SELECT Finish FROM table WHERE Country = united states AND Player = lanny wadkins
|
Translate the following into a SQL query
|
Which player had a To par of +11?
|
SELECT Player FROM table WHERE To par = +11
|
Translate the following into a SQL query
|
From which country was the player whose year(s) won was 1983?
|
SELECT Country FROM table WHERE Year(s) won = 1983
|
Translate the following into a SQL query
|
What is the total for the player whose finish was t66?
|
SELECT Total FROM table WHERE Finish = t66
|
Translate the following into a SQL query
|
What is the type of the locomotive which was delivered in 1857-59?
|
SELECT Type FROM table WHERE Delivered = 1857-59
|
Translate the following into a SQL query
|
What is the highest quantity of the b ix k.b.sts.b.?
|
SELECT MAX Quantity FROM table WHERE K.B.Sts.B. Class = b ix
|
Translate the following into a SQL query
|
What is the lowest quantity of the 1b n2 type, which was retired in 1907-12?
|
SELECT MIN Quantity FROM table WHERE Type = 1b n2 AND Retired = 1907-12
|
Translate the following into a SQL query
|
What district is Jim Moran the incumbent for.
|
SELECT District FROM table WHERE Incumbent = jim moran
|
Translate the following into a SQL query
|
What was the election result before 2004 where Eric Cantor was the incumbent?
|
SELECT Results FROM table WHERE First elected < 2004 AND Incumbent = eric cantor
|
Translate the following into a SQL query
|
What is the common English for the Italian word san gallo?
|
SELECT Common English FROM table WHERE Italian = san gallo
|
Translate the following into a SQL query
|
What is the italian word for Glarus?
|
SELECT Italian FROM table WHERE Common English = glarus
|
Translate the following into a SQL query
|
What is the common english word with the abbr of ai?
|
SELECT Common English FROM table WHERE Abbr = ai
|
Translate the following into a SQL query
|
What is the abbr of argovia?
|
SELECT Abbr FROM table WHERE Italian = argovia
|
Translate the following into a SQL query
|
What is the french word for fribourg?
|
SELECT French FROM table WHERE Common English = fribourg
|
Translate the following into a SQL query
|
What is the abbr for zug?
|
SELECT Abbr FROM table WHERE Common English = zug
|
Translate the following into a SQL query
|
What is the Finish on June 1, 2008?
|
SELECT Finish FROM table WHERE Date = june 1, 2008
|
Translate the following into a SQL query
|
What is the Track in Louisville, Kentucky?
|
SELECT Track FROM table WHERE Location = louisville, kentucky
|
Translate the following into a SQL query
|
What is the Location of the Event on March 30, 2008?
|
SELECT Location FROM table WHERE Date = march 30, 2008
|
Translate the following into a SQL query
|
What Race has a Purse of $300,000?
|
SELECT Race FROM table WHERE Purse = $300,000
|
Translate the following into a SQL query
|
What is the Purse on January 3, 2010?
|
SELECT Purse FROM table WHERE Date = january 3, 2010
|
Translate the following into a SQL query
|
What did United States place when the score was 71-70-72-68=281?
|
SELECT Place FROM table WHERE Country = united states AND Score = 71-70-72-68=281
|
Translate the following into a SQL query
|
What was the average money for United States when Lanny Wadkins played?
|
SELECT AVG Money ( $ ) FROM table WHERE Country = united states AND Player = lanny wadkins
|
Translate the following into a SQL query
|
What was the to par when the score was 71-70-72-68=281?
|
SELECT To par FROM table WHERE Score = 71-70-72-68=281
|
Translate the following into a SQL query
|
What is the away team of the game with an attendance of 117?
|
SELECT Away team FROM table WHERE Attendance = 117
|
Translate the following into a SQL query
|
Madrid (Stuttgart) tournament with a 1996 of A has this for a Career SR?
|
SELECT Career SR FROM table WHERE 1996 = a AND Tournament = madrid (stuttgart)
|
Translate the following into a SQL query
|
Which election has a conservative first party, Rowland Smith as first member, and Sir Henry Wilmot, Bt as second member?
|
SELECT Election FROM table WHERE First party = conservative AND First member = rowland smith AND Second member = sir henry wilmot, bt
|
Translate the following into a SQL query
|
Which of the first parties has second member as Charles Robert Colvile, and a liberal second party?
|
SELECT First party FROM table WHERE Second member = charles robert colvile AND Second party = liberal
|
Translate the following into a SQL query
|
Which election has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
|
SELECT Election FROM table WHERE Second member = charles robert colvile AND First party = conservative AND First member = william mundy
|
Translate the following into a SQL query
|
Which of the second parties has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
|
SELECT Second party FROM table WHERE Second member = charles robert colvile AND First party = conservative AND First member = william mundy
|
Translate the following into a SQL query
|
Who is the first member in the 1868 election?
|
SELECT First member FROM table WHERE Election = 1868
|
Translate the following into a SQL query
|
WHAT IS THE SOURCE WITH A TYPE OF TRANSFER AND MEX?
|
SELECT Source FROM table WHERE Type = transfer AND Nat. = mex
|
Translate the following into a SQL query
|
WHAT IS THE NAME WITH BAYER LEVERKUSEN?
|
SELECT Name FROM table WHERE Moving to = bayer leverkusen
|
Translate the following into a SQL query
|
WHAT NAME HAS A FREE TRANSFER FREE AND RETIRED?
|
SELECT Name FROM table WHERE Transfer fee = free AND Moving to = retired
|
Translate the following into a SQL query
|
WHAT TRANSFER FEE HAS A TYPE OF TRANSFER FOR DOS SANTOS?
|
SELECT Transfer fee FROM table WHERE Type = transfer AND Name = dos santos
|
Translate the following into a SQL query
|
What is the sum of the all around with a 37.75 total?
|
SELECT SUM All Around FROM table WHERE Total = 37.75
|
Translate the following into a SQL query
|
What is the average final with an all around larger than 19.4 and total more than 39.9?
|
SELECT AVG Final FROM table WHERE All Around > 19.4 AND Total > 39.9
|
Translate the following into a SQL query
|
What is the name of the storm active during season aggregates?
|
SELECT Name FROM table WHERE Dates active = season aggregates
|
Translate the following into a SQL query
|
What report has tour match as the status, with an against less than 22?
|
SELECT Report FROM table WHERE Status = tour match AND Against < 22
|
Translate the following into a SQL query
|
How many againsts have asba park, kimberley as the venue?
|
SELECT SUM Against FROM table WHERE Venue = asba park, kimberley
|
Translate the following into a SQL query
|
What status has gauteng falcons as the opposing team?
|
SELECT Status FROM table WHERE Opposing Team = gauteng falcons
|
Translate the following into a SQL query
|
What opposing team has second test as the status?
|
SELECT Opposing Team FROM table WHERE Status = second test
|
Translate the following into a SQL query
|
What report has gauteng falcons as the opposing team?
|
SELECT Report FROM table WHERE Opposing Team = gauteng falcons
|
Translate the following into a SQL query
|
What status has 18 as the against?
|
SELECT Status FROM table WHERE Against = 18
|
Translate the following into a SQL query
|
What is the number of recepits per arrival in 2010 (col 2)/(col 1) USD with colombia (1) as the selected carribean and latin american country?
|
SELECT Receipts per arrival 2010 (col 2)/(col 1) ( USD ) FROM table WHERE Selected Caribbean and n Latin America countries = colombia (1)
|
Translate the following into a SQL query
|
What is 17th c., when Initial-Syllable Open/Semi-Open Unstressed Vowels is "o /ɵ/"?
|
SELECT 17th c. FROM table WHERE Initial-syllable open/semi-open unstressed vowels = o /ɵ/
|
Translate the following into a SQL query
|
What is British, when Examples is "November, rotunda, colossus, proscenium"?
|
SELECT British FROM table WHERE Examples = november, rotunda, colossus, proscenium
|
Translate the following into a SQL query
|
What is American, when British is "ɪ, ə", and when Initial-Syllable Open/Semi-Open Unstressed Vowels is "æ /ɨ/"?
|
SELECT American FROM table WHERE British = ɪ, ə AND Initial-syllable open/semi-open unstressed vowels = æ /ɨ/
|
Translate the following into a SQL query
|
What is Initial-Syllable Open/Semi-Open Unstresses Vowels, when Australian is "ə"?
|
SELECT Initial-syllable open/semi-open unstressed vowels FROM table WHERE Australian = ə
|
Translate the following into a SQL query
|
What is Australian, when British is "aɪ, ɪ, ə"?
|
SELECT Australian FROM table WHERE British = aɪ, ɪ, ə
|
Translate the following into a SQL query
|
What is American, when Initial-Syllable Open/Semi-Open Unstressed Vowels is "y /aɪ, ɨ/"?
|
SELECT American FROM table WHERE Initial-syllable open/semi-open unstressed vowels = y /aɪ, ɨ/
|
Translate the following into a SQL query
|
What is the date for catalog RCD 10160?
|
SELECT Date FROM table WHERE Catalog = rcd 10160
|
Translate the following into a SQL query
|
What country has CD format and catalog RCD 10523?
|
SELECT Country FROM table WHERE Format = cd AND Catalog = rcd 10523
|
Translate the following into a SQL query
|
Which country is dated October 20, 1976?
|
SELECT Country FROM table WHERE Date = october 20, 1976
|
Translate the following into a SQL query
|
Which label has the catalog CDZAP22?
|
SELECT Label FROM table WHERE Catalog = cdzap22
|
Translate the following into a SQL query
|
What is the date for the catalog CDZAP22 in the United Kingdom?
|
SELECT Date FROM table WHERE Country = united kingdom AND Catalog = cdzap22
|
Translate the following into a SQL query
|
What is Place, when Score is "66", when Country is "United States", and when Player is "Dudley Hart"?
|
SELECT Place FROM table WHERE Score = 66 AND Country = united states AND Player = dudley hart
|
Translate the following into a SQL query
|
What is the lowest Score, when Place is "1"?
|
SELECT MIN Score FROM table WHERE Place = 1
|
Translate the following into a SQL query
|
What is To Par, when Score is "66", and when Player is "Brad Faxon"?
|
SELECT To par FROM table WHERE Score = 66 AND Player = brad faxon
|
Translate the following into a SQL query
|
What is the Opponent in the final after 2008 at the Paul Hunter Classic?
|
SELECT Opponent in the final FROM table WHERE Year > 2008 AND Championship = paul hunter classic
|
Translate the following into a SQL query
|
What is the latest year for first elected with john hostettler as incumbent and a result of lost re-election democratic gain?
|
SELECT MAX First elected FROM table WHERE Results = lost re-election democratic gain AND Incumbent = john hostettler
|
Translate the following into a SQL query
|
Who is the owner/operator of the line from Kambalda to Esperance?
|
SELECT Owner/operator FROM table WHERE From/to = kambalda to esperance
|
Translate the following into a SQL query
|
What is the name of the line from Karratha to Port Hedland?
|
SELECT Name (year commissioned) FROM table WHERE From/to = karratha to port hedland
|
Translate the following into a SQL query
|
What is the maximum diameter of the Mid West Gas Pipeline (1999)?
|
SELECT Maximum diameter FROM table WHERE Name (year commissioned) = mid west gas pipeline (1999)
|
Translate the following into a SQL query
|
Who is the owner operator who has license number PL 59?
|
SELECT Owner/operator FROM table WHERE Licence number = pl 59
|
Translate the following into a SQL query
|
What is the license number where the maximum diameter is 400 mm?
|
SELECT Licence number FROM table WHERE Maximum diameter = 400 mm
|
Translate the following into a SQL query
|
What is the name where the license number is PL 22?
|
SELECT Name (year commissioned) FROM table WHERE Licence number = pl 22
|
Translate the following into a SQL query
|
Which venue has 16 against?
|
SELECT Venue FROM table WHERE Against = 16
|
Translate the following into a SQL query
|
What is the against for the opposing team of Wales with the status of Five Nations?
|
SELECT AVG Against FROM table WHERE Status = five nations AND Opposing Teams = wales
|
Translate the following into a SQL query
|
Can you tell me the average Average that has the Rank larger than 4, and the Player of dean minors?
|
SELECT AVG Average FROM table WHERE Rank > 4 AND Player = dean minors
|
Translate the following into a SQL query
|
What is the venue where john zibnack was the runner-up?
|
SELECT Venue FROM table WHERE Runner-up = john zibnack
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.