instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What package/option has sky arte hd as the television service? | SELECT Package/Option FROM table WHERE Television service = sky arte hd |
Translate the following into a SQL query | What language has NO, as the HDTV, sky famiglia as the package/option, and national geographic channel as the television service? | SELECT Language FROM table WHERE HDTV = no AND Package/Option = sky famiglia AND Television service = national geographic channel |
Translate the following into a SQL query | What language has sky famiglia as the package/option? | SELECT Language FROM table WHERE Package/Option = sky famiglia |
Translate the following into a SQL query | What language has viaggi as the content? | SELECT Language FROM table WHERE Content = viaggi |
Translate the following into a SQL query | What television service has italian as the language, and sky famiglia as the package option? | SELECT Television service FROM table WHERE Language = italian AND Package/Option = sky famiglia |
Translate the following into a SQL query | What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd? | SELECT Package/Option FROM table WHERE Content = documentaries AND HDTV = yes AND Television service = history hd |
Translate the following into a SQL query | What was the resolution for the match that ended by Submission (armbar)? | SELECT Res. FROM table WHERE Method = submission (armbar) |
Translate the following into a SQL query | What was the total time for the match that ocurred in Round 3 with opponent Keith Wisniewski? | SELECT Time FROM table WHERE Round = 3 AND Opponent = keith wisniewski |
Translate the following into a SQL query | Where did the match with opponent Laverne Clark occur? | SELECT Location FROM table WHERE Opponent = laverne clark |
Translate the following into a SQL query | What is the Diameter (mi) when the Longitude is 79.8° e? | SELECT Diameter (mi) FROM table WHERE Longitude = 79.8° e |
Translate the following into a SQL query | What is the Latitude when the Diameter (km) is 13km, and the Longitude is 72.9° e? | SELECT Latitude FROM table WHERE Diameter (km) = 13km AND Longitude = 72.9° e |
Translate the following into a SQL query | What shows for the Longitude when there is a Diameter (km) of 31km? | SELECT Longitude FROM table WHERE Diameter (km) = 31km |
Translate the following into a SQL query | What shows for the Diameter (mi) when the Gill is g? | SELECT Diameter (mi) FROM table WHERE Gill = g |
Translate the following into a SQL query | What shows for the Diameter (km) when the Diameter (mi) is 8mi, and a Gill is e? | SELECT Diameter (km) FROM table WHERE Diameter (mi) = 8mi AND Gill = e |
Translate the following into a SQL query | What shows as the Diameter (km) when the Diameter (mi) is 5mi? | SELECT Diameter (km) FROM table WHERE Diameter (mi) = 5mi |
Translate the following into a SQL query | What was the lowest squad with 0 goals? | SELECT MIN Squad no FROM table WHERE Goals < 0 |
Translate the following into a SQL query | What is the number for overall for angelo craig? | SELECT COUNT Overall FROM table WHERE Player = angelo craig |
Translate the following into a SQL query | What is the Round when there is an overall of 246? | SELECT Round FROM table WHERE Overall = 246 |
Translate the following into a SQL query | What is the lowest Overall for the wide receiver in a round less than 2? | SELECT MIN Overall FROM table WHERE Position = wide receiver AND Round < 2 |
Translate the following into a SQL query | What is the Player from appalachian state? | SELECT Player FROM table WHERE College = appalachian state |
Translate the following into a SQL query | What is the Production Cost with a Date that is february 2000? | SELECT Production Cost FROM table WHERE Date = february 2000 |
Translate the following into a SQL query | What is the Singapore Gross with a Title that is 2000? | SELECT Singapore Gross FROM table WHERE Title = 2000 |
Translate the following into a SQL query | What is the Singapore Gross with a Producer that is 2000? | SELECT Singapore Gross FROM table WHERE Producer = 2000 |
Translate the following into a SQL query | What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305? | SELECT AVG Height FROM table WHERE Weight < 93 AND Spike < 336 AND Block = 305 |
Translate the following into a SQL query | What is Name, when Block is 320, when Spike is more than 336, and when Date of Birth is 12.10.1978? | SELECT Name FROM table WHERE Block = 320 AND Spike > 336 AND Date of Birth = 12.10.1978 |
Translate the following into a SQL query | What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev? | SELECT COUNT Block FROM table WHERE Spike < 341 AND Weight > 82 AND Name = theodoros baev |
Translate the following into a SQL query | What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973? | SELECT Name FROM table WHERE Spike > 343 AND Date of Birth = 02.03.1973 |
Translate the following into a SQL query | What was the date of the Paco Rabanne Open de France? | SELECT Date FROM table WHERE Tournament = paco rabanne open de france |
Translate the following into a SQL query | On which date did Ian Mosey finish runner-up? | SELECT Date FROM table WHERE Runner(s)-up = ian mosey |
Translate the following into a SQL query | What set 2 has a set 4 of 21-25? | SELECT Set 2 FROM table WHERE Set 4 = 21-25 |
Translate the following into a SQL query | What was the score when set 3 was 26-28? | SELECT Score FROM table WHERE Set 3 = 26-28 |
Translate the following into a SQL query | When was set 3 of 18-25? | SELECT Date FROM table WHERE Set 3 = 18-25 |
Translate the following into a SQL query | Who was the away captain with a result of Eng by 1 wkt? | SELECT Away captain FROM table WHERE Result = eng by 1 wkt |
Translate the following into a SQL query | On what date was the result Eng by 1 wkt? | SELECT Date FROM table WHERE Result = eng by 1 wkt |
Translate the following into a SQL query | On what date was Arthur Jones the away captain at Sydney Cricket Ground? | SELECT Date FROM table WHERE Away captain = arthur jones AND Venue = sydney cricket ground |
Translate the following into a SQL query | What was the birthplace of the player who was part of the Blind River Hockey Club team between 1963-1964? | SELECT Birthplace FROM table WHERE 1963–1964 Team = blind river hockey club |
Translate the following into a SQL query | What is the highest place for song that was draw number 6? | SELECT MAX Place FROM table WHERE Draw = 6 |
Translate the following into a SQL query | What was the result of the game on November 6, 1988? | SELECT Result FROM table WHERE Date = november 6, 1988 |
Translate the following into a SQL query | What was the date of the game against the Los Angeles Rams? | SELECT Date FROM table WHERE Opponent = los angeles rams |
Translate the following into a SQL query | What is the total with a 25-19 set 2 on Jun 17? | SELECT Total FROM table WHERE Set 2 = 25-19 AND Date = jun 17 |
Translate the following into a SQL query | What is the set 4 with a 2-3 score? | SELECT Set 4 FROM table WHERE Score = 2-3 |
Translate the following into a SQL query | What is the set 5 with a 19-25 set 1? | SELECT Set 5 FROM table WHERE Set 1 = 19-25 |
Translate the following into a SQL query | What is the set 1 with a 28-30 set 4? | SELECT Set 1 FROM table WHERE Set 4 = 28-30 |
Translate the following into a SQL query | What is the result when there's less than 2 goals? | SELECT Result FROM table WHERE Goal < 2 |
Translate the following into a SQL query | What is the score when there are less than 2 goals? | SELECT Score FROM table WHERE Goal < 2 |
Translate the following into a SQL query | What is the position of the player born on May 13, 1983 who played for the Los Angeles Kings during 2009-2010? | SELECT Position FROM table WHERE 2009–2010 Team = los angeles kings AND Birthdate = may 13, 1983 |
Translate the following into a SQL query | What is the birthplace of the player who played for the Calgary Flames between 2009-2010 and wears a jersey number greater than 23? | SELECT Birthplace FROM table WHERE 2009–2010 Team = calgary flames AND Jersey # > 23 |
Translate the following into a SQL query | How many points on average had a position smaller than 8, 16 plays, and a lost larger than 9? | SELECT AVG Points FROM table WHERE Position < 8 AND Played = 16 AND Lost > 9 |
Translate the following into a SQL query | What's the highest Total when Women's Wheelchair was 2, Men's Wheelchair was smaller than 1, and Women's race was larger than 0? | SELECT MAX Total FROM table WHERE Women's Wheelchair = 2 AND Men's wheelchair < 1 AND Women's race > 0 |
Translate the following into a SQL query | What's the average men's wheelchair when women's wheelchair is less than 0? | SELECT AVG Men's wheelchair FROM table WHERE Women's Wheelchair < 0 |
Translate the following into a SQL query | When the Country is Mexico, Women's race is less than 0, and Men's race is more than 0, what's the average total? | SELECT AVG Total FROM table WHERE Men's race > 0 AND Country = mexico AND Women's race < 0 |
Translate the following into a SQL query | What's the sum of Men's race when Women's race is less than 1, Women's Wheelchair is 1, Men's wheelchair is more than 3 and the Total is more than 3? | SELECT SUM Men's race FROM table WHERE Women's race < 1 AND Women's Wheelchair = 1 AND Total > 3 AND Men's wheelchair > 3 |
Translate the following into a SQL query | What's the average Women's Wheelchair when Men's race is 0, Women's race is 1, and Men's wheelchair is less than 2? | SELECT AVG Women's Wheelchair FROM table WHERE Men's race = 0 AND Women's race = 1 AND Men's wheelchair < 2 |
Translate the following into a SQL query | What was the lowest Attendance when the Opponent was Maryland? | SELECT MIN Attendance FROM table WHERE Opponent = maryland |
Translate the following into a SQL query | Which Network has a Local name of moj tata je bolji od tvog tate? | SELECT Network FROM table WHERE Local name = moj tata je bolji od tvog tate |
Translate the following into a SQL query | Which Country has a Network of channel 1? | SELECT Country FROM table WHERE Network = channel 1 |
Translate the following into a SQL query | Which Country has a Network of nelonen? | SELECT Country FROM table WHERE Network = nelonen |
Translate the following into a SQL query | Which Local name has a Network of nova tv? | SELECT Local name FROM table WHERE Network = nova tv |
Translate the following into a SQL query | Which Local name has a Network of tvn? | SELECT Local name FROM table WHERE Network = tvn |
Translate the following into a SQL query | Which Country has a Host of miguel esteban? | SELECT Country FROM table WHERE Host = miguel esteban |
Translate the following into a SQL query | Can you tell me the lowest Chapter that has the Pinyin of dehua, and the Articles smaller than 16? | SELECT MIN Chapter FROM table WHERE Pinyin = dehua AND Articles < 16 |
Translate the following into a SQL query | Can you tell me the average Chapter that has Articles smaller than 15? | SELECT AVG Chapter FROM table WHERE Articles < 15 |
Translate the following into a SQL query | Can you tell me the Chinese that has the Chapter larger than 4, and the English Translation of food transformations? | SELECT Chinese FROM table WHERE Chapter > 4 AND English Translation = food transformations |
Translate the following into a SQL query | Can you tell me the English Translation that has the Articles of 24? | SELECT English Translation FROM table WHERE Articles = 24 |
Translate the following into a SQL query | What shows for ICAO when the IATA is sin? | SELECT ICAO FROM table WHERE IATA = sin |
Translate the following into a SQL query | What is the IATA when France was the country, and the ICAO was lfrn? | SELECT IATA FROM table WHERE Country = france AND ICAO = lfrn |
Translate the following into a SQL query | What is the Airport when France was the country, and Montpellier was the city? | SELECT Airport FROM table WHERE Country = france AND City = montpellier |
Translate the following into a SQL query | What is the ICAO for luqa airport? | SELECT ICAO FROM table WHERE Airport = luqa airport |
Translate the following into a SQL query | What is the Airport for New York City? | SELECT Airport FROM table WHERE City = new york |
Translate the following into a SQL query | What is the Country when the IATA was osl? | SELECT Country FROM table WHERE IATA = osl |
Translate the following into a SQL query | Which Division has a Year larger than 1996,a Regular Season of 4th, and a Playoffs of final? | SELECT Division FROM table WHERE Year > 1996 AND Regular Season = 4th AND Playoffs = final |
Translate the following into a SQL query | Which League that has a Open Cup of 1st round, and a Year of 2009? | SELECT League FROM table WHERE Open Cup = 1st round AND Year = 2009 |
Translate the following into a SQL query | Which Playoffs has a Division of 2 and a Regular Season of 4th, southeast? | SELECT Playoffs FROM table WHERE Division = 2 AND Regular Season = 4th, southeast |
Translate the following into a SQL query | What are the least amount of points that have points for greater than 438, and points against greater than 943? | SELECT MIN Points FROM table WHERE Points For > 438 AND Points Against > 943 |
Translate the following into a SQL query | What are the highest losses that have points agaisnt less than 956, high park demons as the club, and points less than 16? | SELECT MAX Loses FROM table WHERE Points Against < 956 AND Club = high park demons AND Points < 16 |
Translate the following into a SQL query | What club has losses greater than 1, 4 for the wins, with points against less than 894? | SELECT Club FROM table WHERE Loses > 1 AND Wins = 4 AND Points Against < 894 |
Translate the following into a SQL query | How many losses have points against greater than 592, with high park demons as the club, and points for greater than 631? | SELECT COUNT Loses FROM table WHERE Points Against > 592 AND Club = high park demons AND Points For > 631 |
Translate the following into a SQL query | What losses have points for less than 1175, wins greater than 2, points against greater than 894, and 24 as the points? | SELECT Loses FROM table WHERE Points For < 1175 AND Wins > 2 AND Points Against > 894 AND Points = 24 |
Translate the following into a SQL query | What's the smallest track written by dennis linde that's 2:50 minutes long | SELECT MIN Track FROM table WHERE Writer(s) = dennis linde AND Time = 2:50 |
Translate the following into a SQL query | How long is the song titled burning love? | SELECT Time FROM table WHERE Song title = burning love |
Translate the following into a SQL query | When was the song titled if you talk in your sleep released? | SELECT Release date FROM table WHERE Song title = if you talk in your sleep |
Translate the following into a SQL query | What is the city that is located in California when the year is greater than 2009? | SELECT City FROM table WHERE State = california AND Year > 2009 |
Translate the following into a SQL query | What is the host in a year greater than 1989 and when the venue is the Staples Center located in California? | SELECT Host FROM table WHERE Year > 1989 AND State = california AND Venue = staples center |
Translate the following into a SQL query | What is the venue in 2011, when the state is California? | SELECT Venue FROM table WHERE State = california AND Year = 2011 |
Translate the following into a SQL query | What is the wards/branches of the fort smith Arkansas stake? | SELECT Wards/ Branches in Arkansas FROM table WHERE Stake = fort smith arkansas |
Translate the following into a SQL query | What stake has realtor for American equity realty as their occupation? | SELECT Stake FROM table WHERE Occupation = realtor for american equity realty |
Translate the following into a SQL query | What is the organized date of the stake with an occupation of senior buyer for Wal-mart? | SELECT Organized FROM table WHERE Occupation = senior buyer for wal-mart |
Translate the following into a SQL query | What is the sum of the wards/branches in Arkansas of the North Little Rock Arkansas stake? | SELECT SUM Wards/ Branches in Arkansas FROM table WHERE Stake = north little rock arkansas |
Translate the following into a SQL query | What stake has 16 wards/branches in Arkansas? | SELECT Stake FROM table WHERE Wards/ Branches in Arkansas = 16 |
Translate the following into a SQL query | What is Stable, when Current Rank is F1 Jūryō 14 West? | SELECT Stable FROM table WHERE Current rank = f1 jūryō 14 west |
Translate the following into a SQL query | What is Ring Name, when Current Rank is E0 Maegashira 9 West? | SELECT Ring name FROM table WHERE Current rank = e0 maegashira 9 west |
Translate the following into a SQL query | What is Birthplace, when Ring Name is Masunoyama Tomoharu? | SELECT Birthplace FROM table WHERE Ring name = masunoyama tomoharu |
Translate the following into a SQL query | What is Current Rank, when Ring Name is Tamaasuka Daisuke? | SELECT Current rank FROM table WHERE Ring name = tamaasuka daisuke |
Translate the following into a SQL query | What is Ring Name, when Stable is Kasugano, and when Birthplace is Z Mtskheta , Georgia? | SELECT Ring name FROM table WHERE Stable = kasugano AND Birthplace = z mtskheta , georgia |
Translate the following into a SQL query | What is Current Rank, when Ring Name is Kimurayama Mamoru? | SELECT Current rank FROM table WHERE Ring name = kimurayama mamoru |
Translate the following into a SQL query | Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley? | SELECT Interview subject FROM table WHERE Pictorials = christie brinkley |
Translate the following into a SQL query | In the issue in which the Interview subject was Jesse Jackson, who were there Pictorials of? | SELECT Pictorials FROM table WHERE Interview subject = jesse jackson |
Translate the following into a SQL query | Who was the Centerfold model in the issue in which the Interview subject was Paul Simon? | SELECT Centerfold model FROM table WHERE Interview subject = paul simon |
Translate the following into a SQL query | Who was the Centerfold model in the issue in which the Interview subject was José Napoleón Duarte? | SELECT Centerfold model FROM table WHERE Interview subject = josé napoleón duarte |
Translate the following into a SQL query | Who was the Cover model in the issue in which the Interview subject was Joan Collins? | SELECT Cover model FROM table WHERE Interview subject = joan collins |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.