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
|
1400 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';
SELECT SUM(C.POPULATION) FROM CITY C JOIN COUNTRY CC ON C.COUNTRYCODE = CC.CODE WHERE CC.CONTINENT = 'Asia'
select sum(population) from city where countrycode in (select code from country where continent='Asia');
SELECT SUM(POPULATION) FROM CITY WHERE COUNTRYCODE IN (SELECT CODE FROM COUNTRY WHERE CONTINENT = 'Asia');
____________________OR______________________________
SELECT SUM(CI.POPULATION) FROM CITY AS CI INNER JOIN COUNTRY AS CO ON CI.COUNTRYCODE = CO.CODE WHERE CO.CONTINENT = 'Asia';