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
|
1517 Discussions
|
Please Login in order to post a comment
MYSql
SELECT SUM(CITY.POPULATION) FROM CITY INNER JOIN COUNTRY ON CITY.COUNTRYCODE = COUNTRY.CODE WHERE COUNTRY.CONTINENT = 'Asia';
select sum(a.POPULATION) from CITY as a LEFT JOIN COUNTRY as b ON a.COUNTRYCODE = b.CODE where b.CONTINENT = 'Asia';
SELECT SUM(a1.POPULATION) FROM CITY a1 INNER JOIN COUNTRY b1 ON a1.COUNTRYCODE = b1.CODE WHERE CONTINENT = 'Asia'
MySQL - select sum(city.population) from city inner join country on country.code = city.countrycode where country.continent = 'Asia';