instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the winning amount that has May 30, 2009 as the date premiered? | SELECT Winning Amount FROM table WHERE Date Premiered (2009) = may 30 |
Translate the following into a SQL query | What is the Reserved For of Lahar? | SELECT Reserved for ( SC / ST /None) FROM table WHERE Name = lahar |
Translate the following into a SQL query | What is the least clock speed (MHz) with January 1986 as introduced? | SELECT MIN Clock speed (MHz) FROM table WHERE Introduced = january 1986 |
Translate the following into a SQL query | With April 1986 as the introduced, what is the least clock speed (MHz)? | SELECT MIN Clock speed (MHz) FROM table WHERE Introduced = april 1986 |
Translate the following into a SQL query | The Powerbook 100 model has what processor? | SELECT Processor FROM table WHERE Model = powerbook 100 |
Translate the following into a SQL query | When was the Lisa 2 model discontinued? | SELECT Discontinued FROM table WHERE Model = lisa 2 |
Translate the following into a SQL query | Who are the rowers with a time of 6:41.45 and notes of FA? | SELECT Rowers FROM table WHERE Notes = fa AND Time = 6:41.45 |
Translate the following into a SQL query | Who are the rowers from the United States? | SELECT Rowers FROM table WHERE Country = united states |
Translate the following into a SQL query | What time did the team from Ukraine have? | SELECT Time FROM table WHERE Country = ukraine |
Translate the following into a SQL query | What is the rank for the team that had a time of 6:41.45 and note FA? | SELECT SUM Rank FROM table WHERE Notes = fa AND Time = 6:41.45 |
Translate the following into a SQL query | What rank was the team from Australia? | SELECT COUNT Rank FROM table WHERE Country = australia |
Translate the following into a SQL query | What is the highest game that has July 31 as the date? | SELECT MAX Game FROM table WHERE Date = july 31 |
Translate the following into a SQL query | What is the total of the River Mile in Greenup, Kentucky? | SELECT SUM River Mile FROM table WHERE Location [L ] = greenup, kentucky |
Translate the following into a SQL query | What is the River Mile with a RDB lock side and a pool length of 55.4? | SELECT River Mile FROM table WHERE Lock Side = rdb AND Pool Length (miles) = 55.4 |
Translate the following into a SQL query | What is the highest River Mile that has a pool length of 42.2 miles or a lock/lift drop of 21 feet? | SELECT MAX River Mile FROM table WHERE Pool Length (miles) = 42.2 AND Lock Lift/Drop (in feet) = 21 |
Translate the following into a SQL query | What is the location of the river mile that is larger than 938.9, and Olmsted Locks and Dam? | SELECT Location [L ] FROM table WHERE River Mile > 938.9 AND Locks & Dam = olmsted locks and dam |
Translate the following into a SQL query | What is the lowest ranking for 8:13.67? | SELECT MIN Rank FROM table WHERE Time = 8:13.67 |
Translate the following into a SQL query | What is the time for Kazakhstan? | SELECT Time FROM table WHERE Country = kazakhstan |
Translate the following into a SQL query | What are the notes for South Africa? | SELECT Notes FROM table WHERE Country = south africa |
Translate the following into a SQL query | What country is ranked higher than 5? | SELECT Country FROM table WHERE Rank > 5 |
Translate the following into a SQL query | What is the total rank and fc notes from South Africa? | SELECT COUNT Rank FROM table WHERE Notes = fc AND Country = south africa |
Translate the following into a SQL query | From what series was the title with a production number of 1614 that was directed by Friz Freleng? | SELECT Series FROM table WHERE Director = friz freleng AND Production Number = 1614 |
Translate the following into a SQL query | What is the Result of the event with a Record of 1-3? | SELECT Result FROM table WHERE Record = 1-3 |
Translate the following into a SQL query | What is the Round of the event with a Record of 5-4? | SELECT Round FROM table WHERE Record = 5-4 |
Translate the following into a SQL query | What was the latitude for van meter who had a land(sqmi) larger than 35.747, Water(sqmi) of 0 and a GEO ID smaller than 3809981860? | SELECT COUNT Latitude FROM table WHERE Land ( sqmi ) > 35.747 AND Water (sqmi) = 0 AND GEO ID < 3809981860 AND Township = van meter |
Translate the following into a SQL query | What was the population fo the township with a Latitude of 48.853051, and a Water (sqmi) smaller than 0.9590000000000001? | SELECT MAX Pop. (2010) FROM table WHERE Latitude = 48.853051 AND Water (sqmi) < 0.9590000000000001 |
Translate the following into a SQL query | Van Meter has a water(sqmi) of 0 and a longitude larger than -98.444062, what was their highest ANSI code? | SELECT MAX ANSI code FROM table WHERE Water (sqmi) = 0 AND Township = van meter AND Longitude > -98.444062 |
Translate the following into a SQL query | What was the lowest water(sqmi) in the county of dickey where the longitude was smaller than -98.444062? | SELECT MIN Water (sqmi) FROM table WHERE County = dickey AND Longitude < -98.444062 |
Translate the following into a SQL query | Who is the coach for the Northamptonshire Steelbacks? | SELECT Coach FROM table WHERE Team = northamptonshire steelbacks |
Translate the following into a SQL query | Which team is located in Leicester? | SELECT Team FROM table WHERE Location = leicester |
Translate the following into a SQL query | Which team is in Sussex county? | SELECT Team FROM table WHERE County = sussex |
Translate the following into a SQL query | What is the home ground for the team located in Canterbury? | SELECT Home ground FROM table WHERE Location = canterbury |
Translate the following into a SQL query | Who is the captain of the team coached by Giles White? | SELECT Captain FROM table WHERE Coach = giles white |
Translate the following into a SQL query | Which division is the Derbyshire Falcons in? | SELECT Division FROM table WHERE Team = derbyshire falcons |
Translate the following into a SQL query | Which tie number had a home team of Derby County? | SELECT Tie no FROM table WHERE Home team = derby county |
Translate the following into a SQL query | What was the score of the tie with an away team of Stoke City? | SELECT Score FROM table WHERE Away team = stoke city |
Translate the following into a SQL query | Which Artist has a Draw smaller than 14, and Points less than 73, and a Language of turkish? | SELECT Artist FROM table WHERE Draw < 14 AND Points < 73 AND Language = turkish |
Translate the following into a SQL query | How many points does mia martini have? | SELECT COUNT Points FROM table WHERE Artist = mia martini |
Translate the following into a SQL query | Which Artist has an English translation of all this is music? | SELECT Artist FROM table WHERE English translation = all this is music |
Translate the following into a SQL query | What athlete has a Grenoble place? | SELECT Athlete FROM table WHERE Place = grenoble |
Translate the following into a SQL query | What is the Pick number of the Player from Syracuse? | SELECT Pick FROM table WHERE College = syracuse |
Translate the following into a SQL query | What is the Offensive Guard Player from Mississippi State College with a Pick number larter than 44? | SELECT Player FROM table WHERE Pick > 44 AND Position = offensive guard AND College = mississippi state |
Translate the following into a SQL query | What is the College of the Pick from Denver Broncos? | SELECT College FROM table WHERE Team = denver broncos |
Translate the following into a SQL query | What's the 2008 Status of Rosa Delauro? | SELECT 2008 Status FROM table WHERE Democratic = rosa delauro |
Translate the following into a SQL query | Who was the incumbent when Bo Itshaky was the Republican? | SELECT Incumbent FROM table WHERE Republican = bo itshaky |
Translate the following into a SQL query | Who was the Republican in the district more than 4? | SELECT Republican FROM table WHERE District > 4 |
Translate the following into a SQL query | Who was the Republican when the green was Harold Burbank? | SELECT Republican FROM table WHERE Green = harold burbank |
Translate the following into a SQL query | Who was the Democratic when then Incumbent was Christopher Shays? | SELECT Democratic FROM table WHERE Incumbent = christopher shays |
Translate the following into a SQL query | Who is the director of Antz? | SELECT Director FROM table WHERE Title = antz |
Translate the following into a SQL query | What studio has the director Philip Frank Messina? | SELECT Studio(s) FROM table WHERE Director = philip frank messina |
Translate the following into a SQL query | What are the club number for the first round? | SELECT Clubs FROM table WHERE Round = first round |
Translate the following into a SQL query | when there were 48 → 32 clubs? | SELECT New entries this round FROM table WHERE Clubs = 48 → 32 |
Translate the following into a SQL query | Where was the fight that took a time of 1:37? | SELECT Location FROM table WHERE Time = 1:37 |
Translate the following into a SQL query | What was the resolution of the fight against kiuma kunioku with a time of 15:00? | SELECT Res. FROM table WHERE Time = 15:00 AND Opponent = kiuma kunioku |
Translate the following into a SQL query | What is the average number of bronze medals won by Poland? | SELECT AVG Bronze FROM table WHERE Nation = poland |
Translate the following into a SQL query | What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal? | SELECT AVG Gold FROM table WHERE Total > 1 AND Bronze < 10 AND Nation = switzerland AND Silver > 1 |
Translate the following into a SQL query | What is the rank when the col is larger than 0? | SELECT COUNT Rank FROM table WHERE Col (m) > 0 |
Translate the following into a SQL query | What is the rank when the elevation is 1,628, and Col (m) is larger than 0? | SELECT COUNT Rank FROM table WHERE Elevation (m) = 1,628 AND Col (m) > 0 |
Translate the following into a SQL query | What is the elevation of Vanuatu, when the rank is smaller than 3? | SELECT AVG Elevation (m) FROM table WHERE Country = vanuatu AND Rank < 3 |
Translate the following into a SQL query | What's the platform of Super Mario All-Stars? | SELECT Platform FROM table WHERE Title = super mario all-stars |
Translate the following into a SQL query | What is the average number of losses when there are more than 4 wins, and the against matches is more than 1728? | SELECT AVG Losses FROM table WHERE Wins < 4 AND Against > 1728 |
Translate the following into a SQL query | What is the total number of draws when there is 1 Win, and less than 1728 against matches? | SELECT COUNT Draws FROM table WHERE Wins = 1 AND Against < 1728 |
Translate the following into a SQL query | What is the highest number of wins when there are less than 2 losses? | SELECT MAX Wins FROM table WHERE Losses < 2 |
Translate the following into a SQL query | What is the highest number of losses for the Cobden club when there is less than 1 win? | SELECT MAX Losses FROM table WHERE Club = cobden AND Wins < 1 |
Translate the following into a SQL query | What is the average number of wins for the Terang Club, when there are less than 0 draws? | SELECT AVG Wins FROM table WHERE Club = terang AND Draws < 0 |
Translate the following into a SQL query | What year was Clark-Smith Autos, Phoenix, AZ in 2nd place? | SELECT Year FROM table WHERE 2nd Place Team = clark-smith autos, phoenix, az |
Translate the following into a SQL query | Who was the 2nd place team when the location was Tulsa, OK before 1956? | SELECT 2nd Place Team FROM table WHERE Host Location = tulsa, ok AND Year < 1956 |
Translate the following into a SQL query | In what Year is the Location of the Festival Koror, Palau? | SELECT SUM Year FROM table WHERE Location = koror, palau |
Translate the following into a SQL query | What is the Location of the 10th Iteration? | SELECT Location FROM table WHERE Iteration = 10th |
Translate the following into a SQL query | What is the Location of the "My Pacific" Theme? | SELECT Location FROM table WHERE Theme = "my pacific" |
Translate the following into a SQL query | How many counties have people before profit as the party, and a borough greater than 0? | SELECT SUM County FROM table WHERE Party = people before profit AND Borough > 0 |
Translate the following into a SQL query | How many counties have 2 as the total, 0 as the city with a town less than 1? | SELECT SUM County FROM table WHERE Total = 2 AND City = 0 AND Town < 1 |
Translate the following into a SQL query | What average city has a total less than 2, with a borough greater than 0? | SELECT AVG City FROM table WHERE Total < 2 AND Borough > 0 |
Translate the following into a SQL query | What is the rank # of the swimmer in Lane 5? | SELECT COUNT Rank FROM table WHERE Lane = 5 |
Translate the following into a SQL query | What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat? | SELECT Total fat FROM table WHERE Smoke point = °c () AND Polyunsaturated fat = 37g |
Translate the following into a SQL query | What is the saturated fat with 28g of polyunsaturated fat? | SELECT Saturated fat FROM table WHERE Polyunsaturated fat = 28g |
Translate the following into a SQL query | What is the monounsaturated fat with 15g of saturated fat? | SELECT Monounsaturated fat FROM table WHERE Saturated fat = 15g |
Translate the following into a SQL query | What is the saturated fat with a total fat of 100g and 11g of polyunsaturated fat? | SELECT Saturated fat FROM table WHERE Total fat = 100g AND Polyunsaturated fat = 11g |
Translate the following into a SQL query | What is the monounsaturated fat with a smoke point of °c (), a total fat of 100g, 11g of polyunsaturated fat, and 14g of saturated fat? | SELECT Monounsaturated fat FROM table WHERE Smoke point = °c () AND Total fat = 100g AND Polyunsaturated fat = 11g AND Saturated fat = 14g |
Translate the following into a SQL query | What is the polyunsaturated fat with a smoke point of °c (), a total fat of 100g and 63g of monounsaturated fat? | SELECT Polyunsaturated fat FROM table WHERE Smoke point = °c () AND Total fat = 100g AND Monounsaturated fat = 63g |
Translate the following into a SQL query | What is the win % of the 2003 atp world tour finals? | SELECT Win % FROM table WHERE 2003 = atp world tour finals |
Translate the following into a SQL query | What is the 2006 value of the 2011 grand slam tournaments? | SELECT 2006 FROM table WHERE 2011 = grand slam tournaments |
Translate the following into a SQL query | What is the 2007 value with a 1r in 2009? | SELECT 2007 FROM table WHERE 2009 = 1r |
Translate the following into a SQL query | What is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009? | SELECT 2007 FROM table WHERE 2006 = 4r AND 2004 = 1r AND 2009 = 4r |
Translate the following into a SQL query | who is the home team when the away team is rivercity rage? | SELECT Home Team FROM table WHERE Away Team = rivercity rage |
Translate the following into a SQL query | who is the winner when the score is 71-62? | SELECT Winner FROM table WHERE Score = 71-62 |
Translate the following into a SQL query | who is the winner when the home team is sioux falls storm and the year is earlier than 2012? | SELECT Winner FROM table WHERE Home Team = sioux falls storm AND Year < 2012 |
Translate the following into a SQL query | what is the score when the away team is rivercity rage? | SELECT Score FROM table WHERE Away Team = rivercity rage |
Translate the following into a SQL query | what is the year when the score is 59-32? | SELECT SUM Year FROM table WHERE Score = 59-32 |
Translate the following into a SQL query | What is the venue established after 1948? | SELECT Venue FROM table WHERE Established > 1948 |
Translate the following into a SQL query | What is the league established before 1930 with the rayo vallecano club? | SELECT League FROM table WHERE Established < 1930 AND Club = rayo vallecano |
Translate the following into a SQL query | What sport is the rayo vallecano club in? | SELECT Sport FROM table WHERE Club = rayo vallecano |
Translate the following into a SQL query | What sport is the cb estudiantes club in? | SELECT Sport FROM table WHERE Club = cb estudiantes |
Translate the following into a SQL query | What is the label for CAD 2014 CD? | SELECT Label FROM table WHERE Catalogue # = cad 2014 cd |
Translate the following into a SQL query | What is the format for the catalogue number GAD 2014 CD on July 6, 1998? | SELECT Format FROM table WHERE Catalogue # = gad 2014 cd AND Date = july 6, 1998 |
Translate the following into a SQL query | How many wins are there when the draws are less than 0? | SELECT SUM Wins FROM table WHERE Draws < 0 |
Translate the following into a SQL query | What are the most losses when there are 5 wins and draws less than 0? | SELECT MAX Losses FROM table WHERE Wins = 5 AND Draws < 0 |
Translate the following into a SQL query | What are the most wins of Terang with the draws less than 0? | SELECT MAX Wins FROM table WHERE Club = terang AND Draws < 0 |
Translate the following into a SQL query | What is the lowest against when the draws are more than 0 and the losses are less than 3? | SELECT MIN Against FROM table WHERE Losses < 3 AND Draws > 0 |
Translate the following into a SQL query | What are the least losses of Warrnambool with more than 6 wins and less than 630 against? | SELECT MIN Losses FROM table WHERE Against < 630 AND Club = warrnambool AND Wins > 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.