Given the CITY and COUNTRY tables, query the sum of the populations of all cities where the CONTINENT is ‘Asia’.
Note: CITY.CountryCode and COUNTRY.Code are matching key columns.
The CITY and COUNTRY tables are described as follows:
Population Census sql – Hacker Rank Solution
select sum(City.Population) from City INNER JOIN Country on City.CountryCode = Country.Code Where Country.Continent = 'Asia';
Disclaimer: The above Problem (Population Census) generated by Hackerrank but the Solution is Provided by Chase2Learn. This tutorial is only for Educational and Learning purposes. Authority if any of the queries regarding this post or website fill the following contact form thank you.