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
- Aggregation
- Japan Population
- Discussions
Japan Population
Japan Population
Sort by
recency
|
436 Discussions
|
Please Login in order to post a comment
MYSQL
SELECT SUM(population) FROM CITY WHERE COUNTRYCODE = 'JPN';
WITH CTE AS ( SELECT countrycode, SUM(population) AS total_pop FROM city GROUP BY countrycode ) SELECT total_pop FROM CTE WHERE countrycode = 'JPN';
select sum(population) from city where countrycode = 'JPN'