instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the average speed (mph) for the racer who finished in 1:45:00? | SELECT Average Speed (mph) FROM table WHERE Race Time = 1:45:00 |
Translate the following into a SQL query | How many total miles recorded for the racer who finished in 1:05:33? | SELECT Miles (km) FROM table WHERE Race Time = 1:05:33 |
Translate the following into a SQL query | what episode # was titled "SWAT Kats Unplugged"? | SELECT Episode # FROM table WHERE Title = "SWAT Kats Unplugged" |
Translate the following into a SQL query | what was the title of the episode 21a? | SELECT Title FROM table WHERE Episode # = 21a |
Translate the following into a SQL query | who wrote episode 14? | SELECT Writer(s) FROM table WHERE Episode # = 14 |
Translate the following into a SQL query | on what date did the episode titled "A Bright and Shiny Future" originally air? | SELECT Originalairdate FROM table WHERE Title = "A Bright and Shiny Future" |
Translate the following into a SQL query | Who many votes did E. Greenberg receive in Morris County? | SELECT COUNT E. Greenberg FROM table WHERE County = Morris |
Translate the following into a SQL query | How many precincts are in the county where G. Hager received 19 (20%) votes? | SELECT Precincts FROM table WHERE G. Hager = 19 (20%) |
Translate the following into a SQL query | Name the slope length for 1966 groundstation | SELECT COUNT slope length FROM table WHERE elevation groundstation = 1966 |
Translate the following into a SQL query | Name the name or route for slope length being 336 | SELECT Name or route FROM table WHERE slope length = 336 |
Translate the following into a SQL query | Name the slope length for gondola | SELECT MIN slope length FROM table WHERE type = gondola |
Translate the following into a SQL query | Name the least capacity for persons hour for 1983 | SELECT MIN capacity in persons/hour FROM table WHERE construction year(s) = 1983 |
Translate the following into a SQL query | Who is the player of the round with 80 fixtures? | SELECT Player of the Round FROM table WHERE Number of fixtures = 80 |
Translate the following into a SQL query | How many categories of new entries this round are there for the fourth round proper? | SELECT COUNT New entries this round FROM table WHERE Round = Fourth Round Proper |
Translate the following into a SQL query | How many runner-ups were there when the show went to Japan? | SELECT COUNT Runner-up FROM table WHERE International destination = Japan |
Translate the following into a SQL query | How many won the prize when Regina was the runner-up? | SELECT COUNT Winner FROM table WHERE Runner-up = Regina |
Translate the following into a SQL query | Which season is it when Milouska was the show's mole ? | SELECT Season FROM table WHERE The Mole = Milouska |
Translate the following into a SQL query | What were the requirements for the role played by Robert Austin in the original production? | SELECT Actor required FROM table WHERE Actor in original production = Robert Austin |
Translate the following into a SQL query | What actor played the "female, older" role in the original production? | SELECT Actor in original production FROM table WHERE Actor required = Female, older |
Translate the following into a SQL query | What FlatSpin actor played the same role as Robert Austin? | SELECT FlatSpin FROM table WHERE Actor in original production = Robert Austin |
Translate the following into a SQL query | How many RolePlay actors played the role requiring a "male, younger" actor? | SELECT COUNT RolePlay FROM table WHERE Actor required = Male, younger |
Translate the following into a SQL query | How many RolePlay actors played the same role as FlatSpin's Tracy Taylor? | SELECT COUNT RolePlay FROM table WHERE FlatSpin = Tracy Taylor |
Translate the following into a SQL query | What RolePlay actor played the same role Alison Pargeter played in the original production? | SELECT RolePlay FROM table WHERE Actor in original production = Alison Pargeter |
Translate the following into a SQL query | What's the name of the church in Stavang? | SELECT Church Name FROM table WHERE Location of the Church = Stavang |
Translate the following into a SQL query | What's the name of the church in Stavang? | SELECT Church Name FROM table WHERE Location of the Church = Stavang |
Translate the following into a SQL query | What's the sub-parish (sokn) of Eikefjord? | SELECT Sub-Parish (Sokn) FROM table WHERE Location of the Church = Eikefjord |
Translate the following into a SQL query | On how many locations is there a church named Askrova Bedehuskapell, built in 1957? | SELECT COUNT Location of the Church FROM table WHERE Year Built = 1957 AND Church Name = Askrova bedehuskapell |
Translate the following into a SQL query | In what parish is the Askrova Bedehuskapell church? | SELECT Parish (Prestegjeld) FROM table WHERE Church Name = Askrova bedehuskapell |
Translate the following into a SQL query | Which channel has the host Art Rooijakkers? | SELECT Channel FROM table WHERE Host(s) = Art Rooijakkers |
Translate the following into a SQL query | When did the program air on Vier? | SELECT Premiere / Aired FROM table WHERE Channel = VIER |
Translate the following into a SQL query | What is the title that aired from 17 may 2008 – 21 june 2008 on Nederland 3? | SELECT Name FROM table WHERE Channel = Nederland 3 AND Premiere / Aired = 17 May 2008 – 21 June 2008 |
Translate the following into a SQL query | How many seasons did the show run in Poland? | SELECT Seasons FROM table WHERE Country / Region = Poland |
Translate the following into a SQL query | When 4744 is the avg. trips per mile (x1000) what is the current stock? | SELECT Current Stock FROM table WHERE Avg. trips per mile (×1000) = 4744 |
Translate the following into a SQL query | When green is the map colour what is the future stock? | SELECT Future Stock FROM table WHERE Map colour = Green |
Translate the following into a SQL query | When turquoise is the map colour how many avg. trips per mile (×1000) are there? | SELECT COUNT Avg. trips per mile (×1000) FROM table WHERE Map colour = Turquoise |
Translate the following into a SQL query | When turquoise is the map colour what is the length? | SELECT Length FROM table WHERE Map colour = Turquoise |
Translate the following into a SQL query | What is the latest year a division was established? | SELECT MAX Year established FROM table |
Translate the following into a SQL query | How many powiats have mstsislaw as a capital? | SELECT Number of powiats FROM table WHERE Capital = Mstsislaw |
Translate the following into a SQL query | How many capitals had brest litovsk voivodeship as voivodeship after 1569? | SELECT COUNT Capital FROM table WHERE Voivodeship after 1569 = Brest Litovsk Voivodeship |
Translate the following into a SQL query | What is the latest year established that had 5 powiats? | SELECT MAX Year established FROM table WHERE Number of powiats = 5 powiats |
Translate the following into a SQL query | In what parish is the sub-parish fortun? | SELECT Parish (Prestegjeld) FROM table WHERE Sub-Parish (Sogn) = Fortun |
Translate the following into a SQL query | What is the sub-parish of the church located in Fortun? | SELECT Sub-Parish (Sogn) FROM table WHERE Location of the Church = Fortun |
Translate the following into a SQL query | What is the year that the oldest church was built in Jostedal? | SELECT MIN Year Built FROM table WHERE Location of the Church = Jostedal |
Translate the following into a SQL query | What parishes are in Solvorn? | SELECT Parish (Prestegjeld) FROM table WHERE Location of the Church = Solvorn |
Translate the following into a SQL query | Name the number of parish for vilnes kyrkje | SELECT COUNT Parish (Prestegjeld) FROM table WHERE Church Name = Vilnes kyrkje |
Translate the following into a SQL query | Name the parish for 1908 | SELECT Parish (Prestegjeld) FROM table WHERE Year Built = 1908 |
Translate the following into a SQL query | Name the maximum year built for holmedal kyrkje | SELECT MAX Year Built FROM table WHERE Church Name = Holmedal kyrkje |
Translate the following into a SQL query | What is the week where the game site is Shea Stadium? | SELECT MIN Week FROM table WHERE Game site = Shea Stadium |
Translate the following into a SQL query | For week 6, what were the results? | SELECT Result FROM table WHERE Week = 6 |
Translate the following into a SQL query | In how many weeks was the game played on November 3 played? | SELECT COUNT Week FROM table WHERE Date = November 3 |
Translate the following into a SQL query | What is the broadcast date when 8.3 million viewers watched? | SELECT Broadcast date FROM table WHERE Viewers (in millions) = 8.3 |
Translate the following into a SQL query | What is the broadcast date of the episode with run time 25:12? | SELECT Broadcast date FROM table WHERE Run time = 25:12 |
Translate the following into a SQL query | How many million viewers watched the episode that runs 25:55 minutes? | SELECT Viewers (in millions) FROM table WHERE Run time = 25:55 |
Translate the following into a SQL query | How many dances did Warren & Kym have? | SELECT Number of dances FROM table WHERE Couple = Warren & Kym |
Translate the following into a SQL query | What are the total points for the team that averages 17.8? | SELECT Total points FROM table WHERE Average = 17.8 |
Translate the following into a SQL query | What is average for Cody & Julianne? | SELECT Average FROM table WHERE Couple = Cody & Julianne |
Translate the following into a SQL query | what is the division southwest when division south was kožuf and division east was osogovo | SELECT Division Southwest FROM table WHERE Division South = Kožuf AND Division East = Osogovo |
Translate the following into a SQL query | what is the division north in 2007–08 | SELECT Division North FROM table WHERE Season = 2007–08 |
Translate the following into a SQL query | what is the division north when division south was kožuf and division southwest was ilinden velmej | SELECT Division North FROM table WHERE Division South = Kožuf AND Division Southwest = Ilinden Velmej |
Translate the following into a SQL query | how many division southwest was there when division east was babi | SELECT COUNT Division Southwest FROM table WHERE Division East = Babi |
Translate the following into a SQL query | what is the division east when division north was milano | SELECT Division East FROM table WHERE Division North = Milano |
Translate the following into a SQL query | who co-wrote Season 2, Episode 3? | SELECT Written by FROM table WHERE No. in season = 3 |
Translate the following into a SQL query | what is the series # for the episode directed by Kelly Sandefur? | SELECT MAX No. in series FROM table WHERE Directed by = Kelly Sandefur |
Translate the following into a SQL query | how many production codes were there for the episode that was 32 in the series? | SELECT COUNT Prod. code FROM table WHERE No. in series = 32 |
Translate the following into a SQL query | What year was the film Milagros submitted? | SELECT Year (Ceremony) FROM table WHERE Original title = Milagros |
Translate the following into a SQL query | How many years was the film The Blossoming of Maximo Oliveros entered? | SELECT COUNT Year (Ceremony) FROM table WHERE Film title used in nomination = The Blossoming of Maximo Oliveros |
Translate the following into a SQL query | How many directors were there for the film with the original title of The Moises Padilla Story? | SELECT COUNT Director FROM table WHERE Original title = The Moises Padilla Story |
Translate the following into a SQL query | What spacecraft was launched from the LC34 launch complex? | SELECT Spacecraft FROM table WHERE Launch complex = LC34 |
Translate the following into a SQL query | What spacecrafts had 22 orbital flights? | SELECT Spacecraft FROM table WHERE Flights = 22 Orbital |
Translate the following into a SQL query | What launcher had spacecrafts that did 37 orbital flights? | SELECT Launcher FROM table WHERE Flights = 37 Orbital |
Translate the following into a SQL query | What launcher had spacecrafts that did 37 orbital flights? | SELECT Launcher FROM table WHERE Flights = 37 Orbital |
Translate the following into a SQL query | What years had 134 orbital flights? | SELECT Years FROM table WHERE Flights = 134 Orbital |
Translate the following into a SQL query | In what country did the "amsterdam's futuristic floating city" project take place? | SELECT Country FROM table WHERE Title = "Amsterdam's Futuristic Floating City" |
Translate the following into a SQL query | What is the status of the London Aquatics Centre project at the time of production? | SELECT Status at production FROM table WHERE Project = London Aquatics Centre |
Translate the following into a SQL query | What was the original are date of series number 71? | SELECT Original air date FROM table WHERE No. in series = 71 |
Translate the following into a SQL query | What series number was the "rebuilding new york city's subway" project? | SELECT MIN No. in series FROM table WHERE Title = "Rebuilding New York City's Subway" |
Translate the following into a SQL query | What is the status of the "azerbaijan's amazing transformation" project at the time of production? | SELECT Status at production FROM table WHERE Title = "Azerbaijan's Amazing Transformation" |
Translate the following into a SQL query | What is the length for a diameter totaling 450 mm? | SELECT Length FROM table WHERE Maximum diameter = 450 mm |
Translate the following into a SQL query | What is Esperance pipeline co total diameter? | SELECT Maximum diameter FROM table WHERE Owner/operator = Esperance Pipeline Co |
Translate the following into a SQL query | Name the opponent for december 8 | SELECT Opponent FROM table WHERE Date = December 8 |
Translate the following into a SQL query | Name the number of weeks for october 26 | SELECT COUNT Week FROM table WHERE Date = October 26 |
Translate the following into a SQL query | What is the attendance record for week 6? | SELECT COUNT Attendance FROM table WHERE Week = 6 |
Translate the following into a SQL query | For game site Schaefer Stadium, what were the results? | SELECT Result FROM table WHERE Game site = Schaefer Stadium |
Translate the following into a SQL query | Who was the outgoing manager when the incoming manager was joão pereira? | SELECT Outgoing manage FROM table WHERE Incoming manager = João Pereira |
Translate the following into a SQL query | What team(s) had an outgoing manager of joão alves? | SELECT Team FROM table WHERE Outgoing manage = João Alves |
Translate the following into a SQL query | What day did the job open up when bogićević was outgoing? | SELECT Date of vacancy FROM table WHERE Outgoing manage = Bogićević |
Translate the following into a SQL query | Name the 0-100 km/hs for name of 2.0 8v | SELECT 0–100km/h,s FROM table WHERE Name = 2.0 8v |
Translate the following into a SQL query | Name the top speed for 0-100 km/hs for 12.7 | SELECT Top speed FROM table WHERE 0–100km/h,s = 12.7 |
Translate the following into a SQL query | Name the total number for co 2 for atd/axr | SELECT COUNT CO 2 FROM table WHERE Engine ID code(s) = ATD/AXR |
Translate the following into a SQL query | Name the volume for co 2 for 168 g/km | SELECT Volume FROM table WHERE CO 2 = 168 g/km |
Translate the following into a SQL query | When 60 is the tries against what is the tries for? | SELECT Tries for FROM table WHERE Tries against = 60 |
Translate the following into a SQL query | When 22 is the tries for what is the lost? | SELECT Lost FROM table WHERE Tries for = 22 |
Translate the following into a SQL query | When 98 is the points what is the club? | SELECT Club FROM table WHERE Points = 98 |
Translate the following into a SQL query | When 80 is the tries for what is the try bonus? | SELECT Try bonus FROM table WHERE Tries for = 80 |
Translate the following into a SQL query | When 55 is the tries for what is the lost? | SELECT Lost FROM table WHERE Tries for = 55 |
Translate the following into a SQL query | When 17 is the tries for what is the points against? | SELECT Points against FROM table WHERE Tries for = 17 |
Translate the following into a SQL query | How many draws were there in played games? | SELECT Drawn FROM table WHERE Played = Played |
Translate the following into a SQL query | Which club had 2 wins and 1 draw? | SELECT Club FROM table WHERE Drawn = 1 AND Won = 2 |
Translate the following into a SQL query | How many times were there plays with a try of 56? | SELECT Played FROM table WHERE Tries for = 56 |
Translate the following into a SQL query | How many tries against were there with points of 150? | SELECT Tries against FROM table WHERE Points for = 150 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.