Hello coders, In this post, you will learn how to solve the Population Census SQL Hacker Rank Solution. This problem is a part of the SQL Hacker Rank series.

Population Census SQL Hacker Rank Solution
Problem
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.
Input Format 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.