instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Name the asian american population 2010 for kansas city-overland park-kansas city, mo-ks csa | SELECT MAX Asian American Population (2010) FROM table WHERE Combined Statistical Area = Kansas City-Overland Park-Kansas City, MO-KS CSA |
Translate the following into a SQL query | Name the % indian american for asian population 126965 | SELECT % Indian American FROM table WHERE Asian American Population (2010) = 126965 |
Translate the following into a SQL query | Name the % asian american for 23526 | SELECT % Asian American FROM table WHERE Indian American Population (2010) = 23526 |
Translate the following into a SQL query | When buffalo narrows is the name how many measurements of population density per kilometer squared are there? | SELECT COUNT Population density (per km²) FROM table WHERE Name = Buffalo Narrows |
Translate the following into a SQL query | When 1233 is the population of 2011 what is the land area in kilometers squared? | SELECT Land area (km²) FROM table WHERE Population (2011) = 1233 |
Translate the following into a SQL query | When 6.00 is the land area in kilometers squared what is the highest population of 2011? | SELECT MAX Population (2011) FROM table WHERE Land area (km²) = 6.00 |
Translate the following into a SQL query | When beauval is the name what is the lowest population of 2011? | SELECT MIN Population (2011) FROM table WHERE Name = Beauval |
Translate the following into a SQL query | When 4.5 is the percentage of change how many population counts were made for 2011? | SELECT COUNT Population (2011) FROM table WHERE Change (%) = 4.5 |
Translate the following into a SQL query | When 14.85 kilometers squared is the land area what is the name? | SELECT Name FROM table WHERE Land area (km²) = 14.85 |
Translate the following into a SQL query | What is every state and District of Columbia with 60.0% overweight or obese adults? | SELECT State and District of Columbia FROM table WHERE Overweight (incl. obese) adults = 60.0% |
Translate the following into a SQL query | What are all percentages of overweight or obese adults for obesity rank of 21? | SELECT Overweight (incl. obese) adults FROM table WHERE Obesity rank = 21 |
Translate the following into a SQL query | What is the least obesity rank for the state of Utah? | SELECT MIN Obesity rank FROM table WHERE State and District of Columbia = Utah |
Translate the following into a SQL query | How many states or District of Columbia have 65.4% overweight or obese adults? | SELECT COUNT State and District of Columbia FROM table WHERE Overweight (incl. obese) adults = 65.4% |
Translate the following into a SQL query | What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese? | SELECT Overweight (incl. obese) adults FROM table WHERE Obese children and adolescents = 12.4% |
Translate the following into a SQL query | Who directed the film Gomorra? | SELECT Director(s) FROM table WHERE Film title used in nomination = Gomorra |
Translate the following into a SQL query | What language was spoken in Everlasting Moments? | SELECT Language(s) FROM table WHERE Film title used in nomination = Everlasting Moments |
Translate the following into a SQL query | What is the original title of the film submitted by Greece? | SELECT Original title FROM table WHERE Submitting country = Greece |
Translate the following into a SQL query | Who directed the film Nuits d'arabie? | SELECT Director(s) FROM table WHERE Film title used in nomination = Nuits d'Arabie |
Translate the following into a SQL query | What is every value for population (2006) with a Romanian mother tongue? | SELECT Population (2006) FROM table WHERE Mother Tongue = Romanian |
Translate the following into a SQL query | What is the lowest population(2011)? | SELECT MIN Population (2011) FROM table |
Translate the following into a SQL query | What is the lowest population(2006) when there is a 1.06% in 2011? | SELECT MIN Population (2006) FROM table WHERE Percentage (2011) = 1.06% |
Translate the following into a SQL query | How many values for population(2011) correspond to a 1.40% in 2006? | SELECT COUNT Population (2011) FROM table WHERE Percentage (2006) = 1.40% |
Translate the following into a SQL query | What is every value for percentage(2006) with a Polish mother tongue? | SELECT Percentage (2006) FROM table WHERE Mother Tongue = Polish |
Translate the following into a SQL query | Which team/s have 48 goals total? | SELECT Club FROM table WHERE Goals = 48 |
Translate the following into a SQL query | Who was the contestant eliminated on episode 8 of RW: Key West season? | SELECT Player FROM table WHERE Original Season = RW: Key West AND Eliminated = Episode 8 |
Translate the following into a SQL query | Who was the female contestant on the Original season of Fresh Meat? | SELECT Player FROM table WHERE Original Season = Fresh Meat AND Gender = Female |
Translate the following into a SQL query | What was the gender of the contestant on RR: South Pacific season? | SELECT Gender FROM table WHERE Original Season = RR: South Pacific |
Translate the following into a SQL query | What was the season where Evelyn Smith was on? | SELECT Original Season FROM table WHERE Player = Evelyn Smith |
Translate the following into a SQL query | How many original Australian performers are there when the Original West End Performer is Jordan Dunne? | SELECT COUNT Original Australian performer FROM table WHERE Original West End performer = Jordan Dunne |
Translate the following into a SQL query | Who is the Original west end performer for the character Martha? | SELECT Original West End performer FROM table WHERE Character = Martha |
Translate the following into a SQL query | Who is the original broadway performer for the character Colin Craven? | SELECT Original Broadway performer FROM table WHERE Character = Colin Craven |
Translate the following into a SQL query | Who is the original west end performer for the character Neville Craven? | SELECT Original West End performer FROM table WHERE Character = Neville Craven |
Translate the following into a SQL query | Who is the 2005 World AIDS Day Benefit "Dream" Cast when the Original Australian performer is Susan-Ann Walker? | SELECT 2005 World AIDS Day Benefit Dream Cast FROM table WHERE Original Australian performer = Susan-Ann Walker |
Translate the following into a SQL query | Who is the Original Australian performer when the Original West End Performer is Linzi Hateley? | SELECT Original Australian performer FROM table WHERE Original West End performer = Linzi Hateley |
Translate the following into a SQL query | Name the minimum wins | SELECT MIN Wins FROM table |
Translate the following into a SQL query | Name the country for hideki noda category:articles with hcards | SELECT Country FROM table WHERE Name = Hideki Noda Category:Articles with hCards |
Translate the following into a SQL query | Name the number of poles for stefano livio category:articles with hcards | SELECT COUNT Poles FROM table WHERE Name = Stefano Livio Category:Articles with hCards |
Translate the following into a SQL query | Name the points for thierry tassin category:articles with hcards | SELECT Points FROM table WHERE Name = Thierry Tassin Category:Articles with hCards |
Translate the following into a SQL query | Name the number of wins for michele rugolo category:articles with hcards | SELECT COUNT Wins FROM table WHERE Name = Michele Rugolo Category:Articles with hCards |
Translate the following into a SQL query | Name the lg for ermengol | SELECT L G FROM table WHERE Player = Ermengol |
Translate the following into a SQL query | Name the nat for total apps for 27 | SELECT Nat FROM table WHERE Total Apps = 27 |
Translate the following into a SQL query | Name the number of apps for total g is 8 | SELECT COUNT L Apps FROM table WHERE Total G = 8 |
Translate the following into a SQL query | Name the player for l apps is 27 | SELECT Player FROM table WHERE L Apps = 27 |
Translate the following into a SQL query | What are all the countries where the electric company Ebisa has a presence? | SELECT Country FROM table WHERE Entities = EBISA |
Translate the following into a SQL query | In how many countries is Itaipu a supply point for electricity? | SELECT COUNT Country FROM table WHERE Supply point = Itaipu |
Translate the following into a SQL query | What are the electric companies drawing power from Itaipu? | SELECT Entities FROM table WHERE Supply point = Itaipu |
Translate the following into a SQL query | what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)? | SELECT Asia FROM table WHERE Latin America/Caribbean = 783 (7.5%) |
Translate the following into a SQL query | what will be the population of Europe when Northern America is 482 (4.7%)? | SELECT Europe FROM table WHERE Northern America = 482 (4.7%) |
Translate the following into a SQL query | what row is the population of Latin America/Caribbean when Asia is 4,894 (46.1%)? | SELECT COUNT Latin America/Caribbean FROM table WHERE Asia = 4,894 (46.1%) |
Translate the following into a SQL query | what will be the population of Africa when Oceania is 67 (0.6%) | SELECT Africa FROM table WHERE Oceania = 67 (0.6%) |
Translate the following into a SQL query | What is population in the world when 788 (8.1%)? | SELECT MIN World FROM table WHERE Latin America/Caribbean = 788 (8.1%) |
Translate the following into a SQL query | what is the worlds smallest population? | SELECT MIN World FROM table |
Translate the following into a SQL query | What is the first year in the competition? | SELECT MIN Year FROM table |
Translate the following into a SQL query | What is the result in the final versos Jennifer Capriati? | SELECT Outcome FROM table WHERE Opponent in the final = Jennifer Capriati |
Translate the following into a SQL query | What is the first year that she competed? | SELECT MIN Year FROM table |
Translate the following into a SQL query | What tournament did she win with a final score of 4–6, 7–5, 6–2? | SELECT Championship FROM table WHERE Score in the final = 4–6, 7–5, 6–2 |
Translate the following into a SQL query | When joj agpangan* is the name how many duration's are there? | SELECT COUNT Duration FROM table WHERE Name = Joj Agpangan* |
Translate the following into a SQL query | When davao city is the home or representative town or province and clash 2010 is the edition how many ages are there? | SELECT COUNT Age FROM table WHERE Edition = Clash 2010 AND Home or representative town or province = Davao City |
Translate the following into a SQL query | When winner is the status and 77 is the total days in pbb house what is the edition? | SELECT Edition FROM table WHERE Total days in PBB House = 77 AND Status = Winner |
Translate the following into a SQL query | When days 1-86 is the duration how many names are there? | SELECT COUNT Name FROM table WHERE Duration = Days 1-86 |
Translate the following into a SQL query | WHen joaqui mendoza is the name how long is the duration? | SELECT Duration FROM table WHERE Name = Joaqui Mendoza |
Translate the following into a SQL query | When guiguinto, bulacan is the home or representative town or province how many names are there? | SELECT COUNT Name FROM table WHERE Home or representative town or province = Guiguinto, Bulacan |
Translate the following into a SQL query | When 3t7458 is the production code who are the writers? | SELECT Written by FROM table WHERE Production code = 3T7458 |
Translate the following into a SQL query | When there are 3.39 million u.s viewers what is the production code? | SELECT Production code FROM table WHERE U.S. viewers (million) = 3.39 |
Translate the following into a SQL query | When 3t7461 is the production code who is the director? | SELECT Directed by FROM table WHERE Production code = 3T7461 |
Translate the following into a SQL query | What was the score at the end of the match number 4? | SELECT Score FROM table WHERE Match no. = 4 |
Translate the following into a SQL query | What's the match number where Bill Hoffman plays for Team USA? | SELECT MIN Match no. FROM table WHERE Team USA = Bill Hoffman |
Translate the following into a SQL query | How many different scores did Team Europe get when Mika Koivuniemi played for them? | SELECT COUNT Score FROM table WHERE Team Europe = Mika Koivuniemi |
Translate the following into a SQL query | What was the score when Tore Torgersen played for Team Europe? | SELECT Score FROM table WHERE Team Europe = Tore Torgersen |
Translate the following into a SQL query | Name the launch date for duration days 174.14 | SELECT Launch date FROM table WHERE Duration (days) = 174.14 |
Translate the following into a SQL query | What is the 1st place when Pennsylvania finished 2nd place? | SELECT 1st Place FROM table WHERE 2nd Place = Pennsylvania |
Translate the following into a SQL query | What is the 2nd place when Virginia finished in 1st place? | SELECT 2nd Place FROM table WHERE 1st Place = Virginia |
Translate the following into a SQL query | How many years did Florida finish in 4th place? | SELECT COUNT Year FROM table WHERE 4th Place = Florida |
Translate the following into a SQL query | What is the total number of 3rd placed teams when the host is University of Manitoba, Winnipeg, Manitoba? | SELECT COUNT 3rd Place FROM table WHERE Host = University of Manitoba, Winnipeg, Manitoba |
Translate the following into a SQL query | Who was in 4th place when Missouri finished in 3rd place? | SELECT 4th Place FROM table WHERE 3rd Place = Missouri |
Translate the following into a SQL query | When tim mack is on team usa what is the progressive total? | SELECT Progressive Total FROM table WHERE Team USA = Tim Mack |
Translate the following into a SQL query | When 14 is the match number how many usa teams are there? | SELECT COUNT Team USA FROM table WHERE Match no. = 14 |
Translate the following into a SQL query | When chris barnes is on team usa how many europe teams are there? | SELECT COUNT Team Europe FROM table WHERE Team USA = Chris Barnes |
Translate the following into a SQL query | in the year 1998/99 what was the league | SELECT League FROM table WHERE Year = 1998/99 |
Translate the following into a SQL query | in the year 1995/96 what was the reg. season | SELECT Reg. Season FROM table WHERE Year = 1995/96 |
Translate the following into a SQL query | in what playoffs the league was in the semifinals | SELECT League FROM table WHERE Playoffs = Semifinals |
Translate the following into a SQL query | what was the year where in the playoffs was champions | SELECT Year FROM table WHERE Playoffs = Champions |
Translate the following into a SQL query | what where the playoffs where the avg attendance of the team was 3416 | SELECT Playoffs FROM table WHERE Avg. Attendance = 3416 |
Translate the following into a SQL query | when did the club Citizen achieve its last top division title? | SELECT Last top division title FROM table WHERE Club = Citizen |
Translate the following into a SQL query | How many clubs achieved the 5th position in 2012-13? | SELECT COUNT Top division titles FROM table WHERE Position in 2012–13 = 5th |
Translate the following into a SQL query | When interplanet janet is the episode title who is the music by? | SELECT Music by FROM table WHERE Episode title = Interplanet Janet |
Translate the following into a SQL query | WHen jaime aff and christine langner are the performers what is the subject? | SELECT Subject FROM table WHERE Performed by = Jaime Aff and Christine Langner |
Translate the following into a SQL query | If skeletal system is the subject when was it first aired? | SELECT First aired FROM table WHERE Subject = Skeletal system |
Translate the following into a SQL query | When zachary sanders is the performer what is the lowerst first aired? | SELECT MIN First aired FROM table WHERE Performed by = Zachary Sanders |
Translate the following into a SQL query | What's the amount of winnings (in $) in the year with 2 wins? | SELECT Winnings FROM table WHERE Wins = 2 |
Translate the following into a SQL query | What's the number of starts in the year with 19.3 average finish? | SELECT MIN Starts FROM table WHERE Avg. Finish = 19.3 |
Translate the following into a SQL query | In what year did the #14 FitzBradshaw Racing compete? | SELECT Year FROM table WHERE Team(s) = #14 FitzBradshaw Racing |
Translate the following into a SQL query | What's the average finish in 2008? | SELECT Avg. Finish FROM table WHERE Year = 2008 |
Translate the following into a SQL query | What's #14 FitzBradshaw Racing's top 5 result? | SELECT MAX Top 5 FROM table WHERE Team(s) = #14 FitzBradshaw Racing |
Translate the following into a SQL query | What is the date for the episode performed by Sue Manchester? | SELECT First aired FROM table WHERE Performed by = Sue Manchester |
Translate the following into a SQL query | Who is the music by for episode the Elbow Room? | SELECT Music by FROM table WHERE Episode title = Elbow Room |
Translate the following into a SQL query | What is the name of the episode performed by Essra Mohawk | SELECT Episode title FROM table WHERE Performed by = Essra Mohawk |
Translate the following into a SQL query | When five is the new channel what is the date of original removal? | SELECT Date(s) of original removal FROM table WHERE New channel(s) = Five |
Translate the following into a SQL query | When bbc two is the original channel what is the date of original removal? | SELECT Date(s) of original removal FROM table WHERE Original channel = BBC Two |
Translate the following into a SQL query | When bbc two is the new channel what is the date of return? | SELECT Date of return FROM table WHERE New channel(s) = BBC Two |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.