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
|
1411 Discussions
|
Please Login in order to post a comment
** With using Join **
select sum(city.population) from city JOIN country on country.code = city.countrycode where country.continent='Asia';
** Without using Join **
select sum(city.population) from city, country where country.continent='Asia' and city.countrycode = country.code;
select sum(city.population) from city left join country on CITY.CountryCode=COUNTRY.Code where continent="asia";