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
|
1440 Discussions
|
Please Login in order to post a comment
SELECT SUM(CITY.POPULATION) FROM CITY JOIN COUNTRY ON CITY.CountryCode = COUNTRY.Code WHERE CONTINENT = 'Asia';
select sum(city.population) from city join country on city.countrycode = country.code where continent = "Asia"
select sum(c.population) from city c join country cn on c.CountryCode = cn.Code where cn.continent='Asia';
SELECT SUM(city.population) FROM city INNER JOIN country ON city.countrycode = country.code WHERE country.continent LIKE '%sia';
we can use the Where statement to match the Country code keys