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
|
394 Discussions
|
Please Login in order to post a comment
SELECT SUM (POPULATION) FROM CITY WHERE COUNTRYCODE = 'JPN';
For MySQL
For MySQL:
SELECT SUM(POPULATION) FROM CITY WHERE COUNTRYCODE = 'JPN';
SELECT SUM(POPULATION) FROM CITY WHERE COUNTRYCODE = 'JPN'
The SELECT function is used to select the population FROM city table. SUM function adds up the population. WHERE clause is used to filter the countrycode for Japan.