instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the average rating for a Flyde that has a Burnley less than 0? | SELECT AVG Fylde FROM table WHERE Burnley < 0 |
Translate the following into a SQL query | What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2? | SELECT MAX West Lancashire FROM table WHERE Pendle > 1 AND Rossendale > 2 |
Translate the following into a SQL query | What was the average Chorley for the Labour party that had a Rossendale greater than 0 and a Pendle less than 1? | SELECT AVG Chorley FROM table WHERE Rossendale > 0 AND Party = labour AND Pendle < 1 |
Translate the following into a SQL query | In what season was Schädlich the top goalscorer? | SELECT Season FROM table WHERE Top Goalscorer = schädlich |
Translate the following into a SQL query | What is the average attendance when the rank is 5? | SELECT Avg.Att. FROM table WHERE Rank = 5 |
Translate the following into a SQL query | What is the Speed for Chris Swallow? | SELECT Speed FROM table WHERE Rider = chris swallow |
Translate the following into a SQL query | What is the speed when the rank is larger than 2, and team is 500cc norton manx? | SELECT Speed FROM table WHERE Rank > 2 AND Team = 500cc norton manx |
Translate the following into a SQL query | What is the time for Alan Oversby? | SELECT Time FROM table WHERE Rider = alan oversby |
Translate the following into a SQL query | What is the Speed when the rank is smaller than 3, and time is 1:06.19.90? | SELECT Speed FROM table WHERE Rank < 3 AND Time = 1:06.19.90 |
Translate the following into a SQL query | What is the team when the time is 1:11.19.89? | SELECT Team FROM table WHERE Time = 1:11.19.89 |
Translate the following into a SQL query | Which actor plays the character Helga Beimer? | SELECT Actor FROM table WHERE Character = helga beimer |
Translate the following into a SQL query | How long did the soap opera run in which Nadine Spruß acted in? | SELECT Character FROM table WHERE Actor = nadine spruß |
Translate the following into a SQL query | How many years did the soap opera run in which the character Clemens Richter was included? | SELECT Duration FROM table WHERE Character = clemens richter |
Translate the following into a SQL query | What years did Marienhof run, which featured Leonore Capell and lasted 10 years? | SELECT Years FROM table WHERE Soap Opera = marienhof AND Duration = 10 years AND Actor = leonore capell |
Translate the following into a SQL query | Who was the opponent in week 6? | SELECT Opponent FROM table WHERE Week = 6 |
Translate the following into a SQL query | What's the result when the Carolina Panthers were the opponent? | SELECT Result FROM table WHERE Opponent = carolina panthers |
Translate the following into a SQL query | What date had a result of W 41-0? | SELECT Date FROM table WHERE Result = w 41-0 |
Translate the following into a SQL query | What's the attendance when the week was more than 16? | SELECT Attendance FROM table WHERE Week > 16 |
Translate the following into a SQL query | What was the year of the World Half Marathon Championships with a result of 3rd? | SELECT Year FROM table WHERE Tournament = world half marathon championships AND Result = 3rd |
Translate the following into a SQL query | What was the result of the tournament in 2001? | SELECT Result FROM table WHERE Year = 2001 |
Translate the following into a SQL query | What is the average capacity for the vehicle having a navigator of Macneall? | SELECT AVG Capacity FROM table WHERE Navigator = macneall |
Translate the following into a SQL query | Which vehicle had a class of CM14? | SELECT Vehicle FROM table WHERE Class = cm14 |
Translate the following into a SQL query | Who was the driver of the vehicle having class of CM22 and navigator of Macneall? | SELECT Driver FROM table WHERE Class = cm22 AND Navigator = macneall |
Translate the following into a SQL query | What is the total time of the vehicle having a navigator of Vandenberg? | SELECT Total Time FROM table WHERE Navigator = vandenberg |
Translate the following into a SQL query | What is the bronze with more than 2 gold and less than 14 total and 4 silver? | SELECT AVG Bronze FROM table WHERE Gold > 2 AND Total < 14 AND Silver = 4 |
Translate the following into a SQL query | How many silvers are there with a total of 11? | SELECT SUM Silver FROM table WHERE Total = 11 |
Translate the following into a SQL query | How many silvers are there with more than 2 golds in Germany? | SELECT COUNT Silver FROM table WHERE Gold > 2 AND Nation = germany |
Translate the following into a SQL query | What is the average reaction for brigitte foster-hylton after heat 1? | SELECT AVG Reaction FROM table WHERE Heat > 1 AND Name = brigitte foster-hylton |
Translate the following into a SQL query | What round did the home team Pohang Steelers play? | SELECT Round FROM table WHERE Home Team = pohang steelers |
Translate the following into a SQL query | What is the latest round for Pohang Steelers as the away team? | SELECT MAX Round FROM table WHERE Away Team = pohang steelers |
Translate the following into a SQL query | what is the album when the remix is dead guys remix and the year is after 2003? | SELECT Album FROM table WHERE Remix = dead guys remix AND Year > 2003 |
Translate the following into a SQL query | what is the album with the song "party like ur 18" feat. sway? | SELECT Album FROM table WHERE Song = "party like ur 18" feat. sway |
Translate the following into a SQL query | What is Joselito Escobar's Pick number? | SELECT SUM Pick FROM table WHERE Player = joselito escobar |
Translate the following into a SQL query | What is the Pick 3 Player from East College? | SELECT Player FROM table WHERE College = east AND Pick = 3 |
Translate the following into a SQL query | What is Ateneo de Manila's PBA Team? | SELECT PBA team FROM table WHERE College = ateneo de manila |
Translate the following into a SQL query | What is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less? | SELECT College FROM table WHERE Pick < 3 AND PBA team = alaska milkmen |
Translate the following into a SQL query | What is the College of the Player from San Miguel Beermen PBA Team? | SELECT College FROM table WHERE PBA team = san miguel beermen |
Translate the following into a SQL query | who is the web client when the client is x and the project is goto servers vnc java server (gsvncj)? | SELECT Web Client FROM table WHERE Client = x AND Project = goto servers vnc java server (gsvncj) |
Translate the following into a SQL query | what is the color quality when the proxy is x, the encryption is x, the webclient is x and authentication is ✓? | SELECT Color Quality FROM table WHERE Proxy = x AND Encryption = x AND Web Client = x AND Authentication = ✓ |
Translate the following into a SQL query | what is the color quality when the relay is ✓? | SELECT Color Quality FROM table WHERE Relay = ✓ |
Translate the following into a SQL query | what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary? | SELECT Proxy FROM table WHERE Image Quality = ✓ AND Encryption = ssl AND License = proprietary |
Translate the following into a SQL query | what is the image quality when the multiple sessions is x, the authentication is ✓ and the date is may 15, 2007? | SELECT Image Quality FROM table WHERE Multiple Sessions = x AND Authentication = ✓ AND Date = may 15, 2007 |
Translate the following into a SQL query | What is listed for the Cores that has the L3 cache of 8 MB and Model number of Core i7-860? | SELECT Cores FROM table WHERE L3 cache = 8 mb AND Model number = core i7-860 |
Translate the following into a SQL query | What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? | SELECT Memory FROM table WHERE Turbo = 2/2/4/5 AND Release date = may 2010 |
Translate the following into a SQL query | What Model number has the sSpec numebr of SLBJG(B1)? | SELECT Model number FROM table WHERE sSpec number = slbjg(b1) |
Translate the following into a SQL query | What Turbo has the Release price (USD) of $583? | SELECT Turbo FROM table WHERE Release price ( USD ) = $583 |
Translate the following into a SQL query | What is the lowest prominence for a peak with elevation of 3,615 meters? | SELECT MIN Prominence (m) FROM table WHERE Elevation (m) = 3,615 |
Translate the following into a SQL query | What is the Col entry for the peak with an elevation of 2,308 meters? | SELECT COUNT Col (m) FROM table WHERE Elevation (m) = 2,308 |
Translate the following into a SQL query | who is the actor that played rachel mckenna? | SELECT Actor FROM table WHERE Character = rachel mckenna |
Translate the following into a SQL query | who is the actor for shortland street for the years 1993–1999, 2001–2003, 2007, 2009—? | SELECT Actor FROM table WHERE Soap Opera = shortland street AND Years = 1993–1999, 2001–2003, 2007, 2009— |
Translate the following into a SQL query | what is the soap opera when the years are 2000–2004, 2005—? | SELECT Soap Opera FROM table WHERE Years = 2000–2004, 2005— |
Translate the following into a SQL query | what is the character with the duration of 11 years? | SELECT Character FROM table WHERE Duration = 11 years |
Translate the following into a SQL query | what is the soap opera for elin sogn? | SELECT Soap Opera FROM table WHERE Actor = elin sogn |
Translate the following into a SQL query | What station was owned since 2011, and a channel (tv/rf) of 27? | SELECT Station FROM table WHERE Owned Since = 2011 AND Channel ( TV / RF ) = 27 |
Translate the following into a SQL query | What affiliation has an owned since larger than 1991, and also has a channel (tv/rf) of 42? | SELECT Affiliation FROM table WHERE Owned Since > 1991 AND Channel ( TV / RF ) = 42 |
Translate the following into a SQL query | What city of license/market has an owned since before 2011,and a affiliation of abc and channel (tv/rf) of 9 (22)? | SELECT City of license /Market FROM table WHERE Owned Since < 2011 AND Affiliation = abc AND Channel ( TV / RF ) = 9 (22) |
Translate the following into a SQL query | Count the sum of Col (m) which has an Elevation (m) of 3,011, and a Country of equatorial guinea ( bioko )? | SELECT SUM Col (m) FROM table WHERE Elevation (m) = 3,011 AND Country = equatorial guinea ( bioko ) |
Translate the following into a SQL query | COunt the sum of Prominence (m) of an Elevation (m) of 2,024? | SELECT SUM Prominence (m) FROM table WHERE Elevation (m) = 2,024 |
Translate the following into a SQL query | Count the Prominence (m) of Col (m) smaller than 0? | SELECT AVG Prominence (m) FROM table WHERE Col (m) < 0 |
Translate the following into a SQL query | Name the lowest Col (m) with a Peak of pico basilé, and a Prominence (m) smaller than 3,011? | SELECT MIN Col (m) FROM table WHERE Peak = pico basilé AND Prominence (m) < 3,011 |
Translate the following into a SQL query | What is the Week of the game with TV Time of Fox 4:15ET? | SELECT COUNT Week FROM table WHERE TV Time = fox 4:15et |
Translate the following into a SQL query | What is the TV Time of the game on December 27, 2003? | SELECT TV Time FROM table WHERE Date = december 27, 2003 |
Translate the following into a SQL query | What is the Opponent at the game with Attendance of 68,436? | SELECT Opponent FROM table WHERE Attendance = 68,436 |
Translate the following into a SQL query | What is the Attendance at the game against the Cincinnati Bengals? | SELECT Attendance FROM table WHERE Opponent = cincinnati bengals |
Translate the following into a SQL query | What is the Opponent of the game after Week 3 with a Result of L 10–6? | SELECT Opponent FROM table WHERE Week > 3 AND Result = l 10–6 |
Translate the following into a SQL query | What is the Date of the Game with a Result of w 22–16 in TV Time of CBS 1:00ET? | SELECT Date FROM table WHERE TV Time = cbs 1:00et AND Result = w 22–16 |
Translate the following into a SQL query | At what Venue was the Attendance 47,678? | SELECT Venue FROM table WHERE Attendance = 47,678 |
Translate the following into a SQL query | What is the Attendance of New Zealand Scores in bold? | SELECT Attendance FROM table WHERE Date = new zealand scores in bold |
Translate the following into a SQL query | What is the number of lost games when 2 were drawn, and there were 6 bonus points? | SELECT Lost FROM table WHERE Drawn = 2 AND Bonus points = 6 |
Translate the following into a SQL query | What is the number of bonus points when there are 4 drawn? | SELECT Bonus points FROM table WHERE Drawn = 4 |
Translate the following into a SQL query | What is the number of bonus points when there are 2 drawn and the points against is 599? | SELECT Bonus points FROM table WHERE Drawn = 2 AND Points against = 599 |
Translate the following into a SQL query | What is the lost number when the team played 26 games and there were 83 points? | SELECT Lost FROM table WHERE Played = 26 AND Points = 83 |
Translate the following into a SQL query | What is the lost number for the team with 2 drawn games, and 572 points against? | SELECT Lost FROM table WHERE Drawn = 2 AND Points against = 572 |
Translate the following into a SQL query | What is the number of bonus points for the team with 2 drawn games and 475 points? | SELECT Bonus points FROM table WHERE Drawn = 2 AND Points for = 475 |
Translate the following into a SQL query | What is the transfer fee for Helguera? | SELECT Transfer fee FROM table WHERE Name = helguera |
Translate the following into a SQL query | What was the transfer fee when the moving from was celta de Vigo? | SELECT Transfer fee FROM table WHERE Moving from = celta de vigo |
Translate the following into a SQL query | What was the transfer window with a moving from of fenerbahçe? | SELECT Transfer window FROM table WHERE Moving from = fenerbahçe |
Translate the following into a SQL query | What nation had a moving from of espanyol? | SELECT Nat. FROM table WHERE Moving from = espanyol |
Translate the following into a SQL query | What was the transfer fee for the player with an ends of 2007? | SELECT Transfer fee FROM table WHERE Ends = 2007 |
Translate the following into a SQL query | What is the Series of the Filmography with a Release date of 1946-03-16? | SELECT Series FROM table WHERE Release date = 1946-03-16 |
Translate the following into a SQL query | Who is the Director of the Filmography with Production Number of 11-14? | SELECT Director FROM table WHERE Production Number = 11-14 |
Translate the following into a SQL query | What is the Series of the Filmography with Release date of 1946-01-05? | SELECT Series FROM table WHERE Release date = 1946-01-05 |
Translate the following into a SQL query | What is the Series of the Filmography with a Production Number of M-4-15? | SELECT Series FROM table WHERE Production Number = m-4-15 |
Translate the following into a SQL query | What venue has a score of 4-0 with the 2002 Tiger Cup listed as the competition? | SELECT Venue FROM table WHERE Score = 4-0 AND Competition = 2002 tiger cup |
Translate the following into a SQL query | What competition has a score of 1-3? | SELECT Competition FROM table WHERE Score = 1-3 |
Translate the following into a SQL query | What competition listed is dated November 17, 2003? | SELECT Competition FROM table WHERE Date = november 17, 2003 |
Translate the following into a SQL query | What venue listed is dated February 22, 2003? | SELECT Venue FROM table WHERE Date = february 22, 2003 |
Translate the following into a SQL query | What venue is listed as having a competition titled Friendly? | SELECT Venue FROM table WHERE Competition = friendly |
Translate the following into a SQL query | Which Notes have a Time larger than 23.34, and a Rank of 8? | SELECT Notes FROM table WHERE Time ( sec ) > 23.34 AND Rank = 8 |
Translate the following into a SQL query | In what week was the December 21, 1969 game? | SELECT AVG Week FROM table WHERE Date = december 21, 1969 |
Translate the following into a SQL query | Which Opposing Team has a Venue of rectory ground, devonport? | SELECT Opposing Team FROM table WHERE Venue = rectory ground, devonport |
Translate the following into a SQL query | When has an Opposing Team of mid-districts? | SELECT Date FROM table WHERE Opposing Team = mid-districts |
Translate the following into a SQL query | Can you tell me the Class (old) to 1868 that has the Quantity larger than 8? | SELECT Class (old) to 1868 FROM table WHERE Quantity > 8 |
Translate the following into a SQL query | What was the date of the Cross Code debut that had an Int'l Debut in the year 2008? | SELECT Date FROM table WHERE Year = 2008 |
Translate the following into a SQL query | What was the Int'l Debut for a player in the back position, that also had a Cross Code Debut of RU Australia v Wales? | SELECT Int'l Debut FROM table WHERE Position = back AND Cross Code Debut = ru australia v wales |
Translate the following into a SQL query | What year did Coenraad Breytenbach have their Int'l Debut? | SELECT Year FROM table WHERE Player = coenraad breytenbach |
Translate the following into a SQL query | What is the Cross Code Debut for a player that had their Int'l Debut of RU test New Zealand v Australia? | SELECT Cross Code Debut FROM table WHERE Int'l Debut = ru test new zealand v australia |
Translate the following into a SQL query | What percent of respondents had no opinion on George H.W. Bush? | SELECT George H. W. Bush FROM table WHERE Result = no opinion |
Translate the following into a SQL query | What was Christian Kubusch's lane when the heat was more than 2 and time was DNS? | SELECT SUM Lane FROM table WHERE Time = dns AND Name = christian kubusch AND Heat > 2 |
Translate the following into a SQL query | What's Bulgaria's lane? | SELECT AVG Lane FROM table WHERE Nationality = bulgaria |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.