We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- SQL
- Basic Join
- Population Census
- Discussions
Population Census
Population Census
Sort by
recency
|
1455 Discussions
|
Please Login in order to post a comment
SELECT SUM(CITY.POPULATION) FROM CITY JOIN COUNTRY ON CITY.COUNTRYCODE = COUNTRY.CODE WHERE COUNTRY.CONTINENT = 'Asia'
MySQL Solution:
SELECT SUM(CITY.POPULATION) FROM CITY JOIN COUNTRY on CITY.CountryCode = COUNTRY.Code where country.continent = 'Asia';
SELECT SUM(CITY.POPULATION) FROM CITY JOIN COUNTRY ON CITY.COUNTRYCODE = COUNTRY.CODE WHERE CONTINENT = "Asia";
select sum(a.population) as total_population from city a join country b on a.countrycode = b.code where b.continent = 'Asia';