instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Which album is the royal g's club mix version, which is remixed by royal garden sound, from? | SELECT Album FROM table WHERE Remixed by = royal garden sound AND Version = royal g's club mix |
Translate the following into a SQL query | How many were in attendance in a week less than 4 with a record of 2–1? | SELECT Attendance FROM table WHERE Week < 4 AND Record = 2–1 |
Translate the following into a SQL query | How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opponent? | SELECT Attendance FROM table WHERE Game site = griffith stadium AND Opponent = philadelphia eagles |
Translate the following into a SQL query | In what week was the attendance 25,000? | SELECT Week FROM table WHERE Attendance = 25,000 |
Translate the following into a SQL query | What game site had a result at l 21–13? | SELECT Game site FROM table WHERE Result = l 21–13 |
Translate the following into a SQL query | What score has 34-19-6 as the record? | SELECT Score FROM table WHERE Record = 34-19-6 |
Translate the following into a SQL query | What is the average February that has 56 as the game? | SELECT AVG February FROM table WHERE Game = 56 |
Translate the following into a SQL query | What is the sum of team impul with the date of 8 july | SELECT SUM Round FROM table WHERE Team = team impul AND Date = 8 july |
Translate the following into a SQL query | what is the pole position of Round 9 | SELECT Pole Position FROM table WHERE Round = 9 |
Translate the following into a SQL query | what is the lowest round pole position of satoshi motoyama | SELECT MIN Round FROM table WHERE Pole Position = satoshi motoyama |
Translate the following into a SQL query | What was the home team with the away team of rushden & diamonds? | SELECT Home team FROM table WHERE Away team = rushden & diamonds |
Translate the following into a SQL query | For the attendance of 2 january 1999 with a home team of plymouth argyle what is the tie no. ? | SELECT Tie no FROM table WHERE Attendance = 2 january 1999 AND Home team = plymouth argyle |
Translate the following into a SQL query | Which Lost has a Drawn larger than 1, and Games smaller than 7? | SELECT MIN Lost FROM table WHERE Drawn > 1 AND Games < 7 |
Translate the following into a SQL query | Which Drawn has Games smaller than 7? | SELECT SUM Drawn FROM table WHERE Games < 7 |
Translate the following into a SQL query | How many Games have a Drawn smaller than 1, and a Lost larger than 4? | SELECT COUNT Games FROM table WHERE Drawn < 1 AND Lost > 4 |
Translate the following into a SQL query | what is the winning driver in taunus | SELECT Winning driver FROM table WHERE Circuit = taunus |
Translate the following into a SQL query | Which Record has a Home of Montreal Canadiens and a Date of April 22? | SELECT Record FROM table WHERE Home = montreal canadiens AND Date = april 22 |
Translate the following into a SQL query | What Score has a Home of Montreal Canadiens and a Date of April 22? | SELECT Score FROM table WHERE Home = montreal canadiens AND Date = april 22 |
Translate the following into a SQL query | What is the lowest number of bronze medals received by a nation with fewer than 0 gold medals? | SELECT MIN Bronze FROM table WHERE Gold < 0 |
Translate the following into a SQL query | What is the lowest number of silver medals for a nation with fewer than 1 total medals? | SELECT MIN Silver FROM table WHERE Total < 1 |
Translate the following into a SQL query | Which Rank has a Total larger than 17, and a Silver smaller than 13? | SELECT Rank FROM table WHERE Total > 17 AND Silver < 13 |
Translate the following into a SQL query | Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia? | SELECT MAX Total FROM table WHERE Gold = 1 AND Nation = czechoslovakia |
Translate the following into a SQL query | How much Total has a Silver smaller than 0? | SELECT COUNT Total FROM table WHERE Silver < 0 |
Translate the following into a SQL query | Which Total has a Rank of 4, and a Silver smaller than 4? | SELECT AVG Total FROM table WHERE Rank = 4 AND Silver < 4 |
Translate the following into a SQL query | Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0? | SELECT MIN Silver FROM table WHERE Bronze < 1 AND Gold > 0 |
Translate the following into a SQL query | WHich Year has a Music director(s) of anu malik? | SELECT SUM Year FROM table WHERE Music director(s) = anu malik |
Translate the following into a SQL query | Which Year has a Film of baazigar? | SELECT MAX Year FROM table WHERE Film = baazigar |
Translate the following into a SQL query | Which Film has a Song of "ek ladki ko dekha"? | SELECT Film FROM table WHERE Song = "ek ladki ko dekha" |
Translate the following into a SQL query | Which Record has an Opponent score smaller than 100, and a Date of december 6? | SELECT Record FROM table WHERE Opponent score < 100 AND Date = december 6 |
Translate the following into a SQL query | Which Record has an Opponent of detroit, and an Opponent score smaller than 87? | SELECT Record FROM table WHERE Opponent = detroit AND Opponent score < 87 |
Translate the following into a SQL query | Which Opponent has a Streak of lost 1, and a Date of april 30? | SELECT Opponent FROM table WHERE Streak = lost 1 AND Date = april 30 |
Translate the following into a SQL query | What is the number of sequences for the name Alifoldz? | SELECT Number of sequences Number of sequences: . FROM table WHERE Name = alifoldz |
Translate the following into a SQL query | What is the link with an alignment input and any number of sequences? | SELECT Link FROM table WHERE Alignment Alignment: predicts an alignment , . = input AND Number of sequences Number of sequences: . = any |
Translate the following into a SQL query | What is the alignment that predicts an alignment of the linuxbinary link? | SELECT Alignment Alignment: predicts an alignment , . FROM table WHERE Link = linuxbinary |
Translate the following into a SQL query | What is the link of rnaz that predicts an alignment of input? | SELECT Link FROM table WHERE Alignment Alignment: predicts an alignment , . = input AND Name = rnaz |
Translate the following into a SQL query | Which Playoffs have a Year smaller than 2012, and an Open Cup of did not enter? | SELECT Playoffs FROM table WHERE Year < 2012 AND Open Cup = did not enter |
Translate the following into a SQL query | Which Year is the lowest one that has a Regular Season of 5th, atlantic, and a Division larger than 4? | SELECT MIN Year FROM table WHERE Regular Season = 5th, atlantic AND Division > 4 |
Translate the following into a SQL query | Which Year has Playoffs which did not qualify? | SELECT AVG Year FROM table WHERE Playoffs = did not qualify |
Translate the following into a SQL query | Can you tell me the Gold that has the Silver of south korea, and the Year of 1986? | SELECT Gold FROM table WHERE Silver = south korea AND Year = 1986 |
Translate the following into a SQL query | When was Lee Phillips the director? | SELECT Year FROM table WHERE Director = lee phillips |
Translate the following into a SQL query | What is the movie that Paul Schneider directed? | SELECT Title FROM table WHERE Director = paul schneider |
Translate the following into a SQL query | The box office was $961,147 in what year? | SELECT Year FROM table WHERE Box office = $961,147 |
Translate the following into a SQL query | Three Men and a Little Lady from Touchstone Pictures was from what year? | SELECT Year FROM table WHERE Distributor(s) = touchstone pictures AND Title = three men and a little lady |
Translate the following into a SQL query | What is the name of the movie from 1997 distributed from HBO Pictures? | SELECT Title FROM table WHERE Year = 1997 AND Distributor(s) = hbo pictures |
Translate the following into a SQL query | What movie earned $1,659,542 at the box office? | SELECT Title FROM table WHERE Box office = $1,659,542 |
Translate the following into a SQL query | Which accession number has a protein name of ccdc165, and a divergence from human lineage (MYA) smaller than 296? | SELECT accession number FROM table WHERE protein name = ccdc165 AND divergence from human lineage (MYA) < 296 |
Translate the following into a SQL query | Which sequence identity to human protein has a divergence from human lineage (MYA) larger than 8.8, and a sequence length (aa) larger than 1587, and a protein name of soga2? | SELECT sequence identity to human protein FROM table WHERE divergence from human lineage (MYA) > 8.8 AND sequence length (aa) > 1587 AND protein name = soga2 |
Translate the following into a SQL query | What's the record of the team who played the Cleveland Browns? | SELECT Record FROM table WHERE Opponent = cleveland browns |
Translate the following into a SQL query | What is the hometown of the player who plays pr? | SELECT Hometown FROM table WHERE Position = pr |
Translate the following into a SQL query | Which college's overall number is more than 158 when Travian Robertson is the name? | SELECT College FROM table WHERE Overall > 158 AND Name = travian robertson |
Translate the following into a SQL query | Which round's name is Jonathan Massaquoi? | SELECT Round FROM table WHERE Name = jonathan massaquoi |
Translate the following into a SQL query | What is the mean round number for center position when the pick number is less than 23? | SELECT AVG Round FROM table WHERE Position = center AND Pick # < 23 |
Translate the following into a SQL query | Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th? | SELECT SUM Altitude (mslm) FROM table WHERE Density (inhabitants/km 2 ) < 1233 AND Rank = 9th |
Translate the following into a SQL query | Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1467.5, and a Common of moncalieri? | SELECT SUM Altitude (mslm) FROM table WHERE Density (inhabitants/km 2 ) < 1467.5 AND Common of = moncalieri |
Translate the following into a SQL query | How much Area (km 2) has a Common of collegno, and a Population smaller than 50137? | SELECT COUNT Area (km 2 ) FROM table WHERE Common of = collegno AND Population < 50137 |
Translate the following into a SQL query | How many people have an Altitude (mslm) larger than 302, and an Area (km 2) of 29.2? | SELECT COUNT Population FROM table WHERE Altitude (mslm) > 302 AND Area (km 2 ) = 29.2 |
Translate the following into a SQL query | Which Population is the highest one that has an Altitude (mslm) smaller than 229, and an Area (km 2) larger than 32.7? | SELECT MAX Population FROM table WHERE Altitude (mslm) < 229 AND Area (km 2 ) > 32.7 |
Translate the following into a SQL query | what builder launched 20 jun 1953? | SELECT Builder FROM table WHERE Launched = 20 jun 1953 |
Translate the following into a SQL query | what is the commissioned date with laid down of 17 dec 1951? | SELECT Commissioned FROM table WHERE Laid Down = 17 dec 1951 |
Translate the following into a SQL query | What round was matt brait? | SELECT Round FROM table WHERE Player = matt brait |
Translate the following into a SQL query | Which player is in position center for round 2? | SELECT Player FROM table WHERE Round = 2 AND Position = center |
Translate the following into a SQL query | What position is Sweden in round 2? | SELECT Position FROM table WHERE Nationality = sweden AND Round = 2 |
Translate the following into a SQL query | What is the height of number 52? | SELECT Height FROM table WHERE Number = 52 |
Translate the following into a SQL query | What number is Tony Dixon? | SELECT Number FROM table WHERE Name = tony dixon |
Translate the following into a SQL query | What is the average Draw for the artist(s), whose language is Swedish, and scored less than 10 points? | SELECT AVG Draw FROM table WHERE Language = swedish AND Points < 10 |
Translate the following into a SQL query | Which Economic Class has a Barangay of imelda bliss village? | SELECT Economic Class FROM table WHERE Barangay = imelda bliss village |
Translate the following into a SQL query | Which Economic Class has a Population (2010) larger than 1,265, and a Barangay of capellan? | SELECT Economic Class FROM table WHERE Population (2010) > 1,265 AND Barangay = capellan |
Translate the following into a SQL query | What 1997 has grand slams for the 1999? | SELECT 1997 FROM table WHERE 1999 = grand slams |
Translate the following into a SQL query | What 1992 has atp masters series for the 1995? | SELECT 1992 FROM table WHERE 1995 = atp masters series |
Translate the following into a SQL query | What 1995 has 1r as the 1999, and a 1998 of 4r? | SELECT 1995 FROM table WHERE 1999 = 1r AND 1998 = 4r |
Translate the following into a SQL query | What 1998 has 2r as a 1993, and 1r as a 1990? | SELECT 1998 FROM table WHERE 1993 = 2r AND 1990 = 1r |
Translate the following into a SQL query | What 1997, has qf as a 1994, and 1r as a 1999? | SELECT 1997 FROM table WHERE 1994 = qf AND 1999 = 1r |
Translate the following into a SQL query | What 1993 has 2r as a 1994, and 1r as a 1995? | SELECT 1993 FROM table WHERE 1994 = 2r AND 1995 = 1r |
Translate the following into a SQL query | Which Driver has a Sponsor of pdvsa? | SELECT Driver(s) FROM table WHERE Sponsor(s) = pdvsa |
Translate the following into a SQL query | What are the colours of the team with benedikt guðmundsson as head coach? | SELECT Colours FROM table WHERE Head coach = benedikt guðmundsson |
Translate the following into a SQL query | What is the city and region of the team in the dalhús arena? | SELECT City, Region FROM table WHERE Arena = dalhús |
Translate the following into a SQL query | What is the arena in Borgarnes? | SELECT Arena FROM table WHERE City, Region = borgarnes |
Translate the following into a SQL query | What team is in the toyota höllin arena? | SELECT Team FROM table WHERE Arena = toyota höllin |
Translate the following into a SQL query | What team is in the dhl-höllin arena? | SELECT Team FROM table WHERE Arena = dhl-höllin |
Translate the following into a SQL query | What are the colors of the team in Borgarnes? | SELECT Colours FROM table WHERE City, Region = borgarnes |
Translate the following into a SQL query | What is the number of points for the team with 49 tries against and 14 lost? | SELECT Points against FROM table WHERE Tries against = 49 AND Lost = 14 |
Translate the following into a SQL query | What is the losing bonus for the team that has 33 tries against and 5 lost? | SELECT Losing bonus FROM table WHERE Tries against = 33 AND Lost = 5 |
Translate the following into a SQL query | What is the tries against for the team that has a losing bonus? | SELECT Tries against FROM table WHERE Losing bonus = losing bonus |
Translate the following into a SQL query | What is the number of tries for the team that has 22 plays with 33 tries against and 60 points? | SELECT Tries for FROM table WHERE Played = 22 AND Tries against = 33 AND Points = 60 |
Translate the following into a SQL query | What is the losing bonus of the team with 22 pays and 428 points against? | SELECT Losing bonus FROM table WHERE Played = 22 AND Points against = 428 |
Translate the following into a SQL query | Name the years for spain with 215 goals | SELECT Years FROM table WHERE Nationality = spain AND Goals = 215 |
Translate the following into a SQL query | Name the most goals for josep samitier | SELECT MAX Goals FROM table WHERE Name = josep samitier |
Translate the following into a SQL query | Which Record has a December smaller than 22 and a Score of 4–3? | SELECT Record FROM table WHERE December < 22 AND Score = 4–3 |
Translate the following into a SQL query | Which Score has a Record of 15–12–2? | SELECT Score FROM table WHERE Record = 15–12–2 |
Translate the following into a SQL query | Which December has a Game of 37 and Points smaller than 47? | SELECT AVG December FROM table WHERE Game = 37 AND Points < 47 |
Translate the following into a SQL query | Which Points have a December smaller than 6, and a Score of 1–1 ot, and a Game smaller than 28? | SELECT MIN Points FROM table WHERE December < 6 AND Score = 1–1 ot AND Game < 28 |
Translate the following into a SQL query | Which Game has a Score of 4–0 and Points of 44? | SELECT Game FROM table WHERE Score = 4–0 AND Points = 44 |
Translate the following into a SQL query | Which Previous conference has a Year joined smaller than 1976, and an IHSAA Class of A? | SELECT Previous conference FROM table WHERE Year joined < 1976 AND IHSAA Class = a |
Translate the following into a SQL query | Which Enrollment has a Mascot of norsemen? | SELECT SUM Enrollment FROM table WHERE Mascot = norsemen |
Translate the following into a SQL query | Which Mascot has a Previous conference of independents, and a Location of akron? | SELECT Mascot FROM table WHERE Previous conference = independents AND Location = akron |
Translate the following into a SQL query | Which IHSAA Class has a Mascot of wildcats? | SELECT IHSAA Class FROM table WHERE Mascot = wildcats |
Translate the following into a SQL query | Which School in Wabash has a Mascot of knights? | SELECT School FROM table WHERE Location = wabash AND Mascot = knights |
Translate the following into a SQL query | Which Win percentage has a Name of red kelly? | SELECT SUM Win percentage FROM table WHERE Name = red kelly |
Translate the following into a SQL query | Which Name has Games of 105? | SELECT Name FROM table WHERE Games = 105 |
Translate the following into a SQL query | Which Win percentage has Points smaller than 472, and a Record (W–L–T/OTL) of 140–220–40? | SELECT AVG Win percentage FROM table WHERE Points < 472 AND Record (W–L–T / OTL) = 140–220–40 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.