728x90
반응형
https://www.hackerrank.com/challenges/japan-population/problem?isFullScreen=true
문제
Query the sum of the populations for all Japanese cities in CITY. The COUNTRYCODE for Japan is JPN.
Input Format
The CITY table is described as follows:
Code
SELECT SUM(POPULATION)
FROM CITY
WHERE COUNTRYCODE = 'JPN'
728x90
반응형
'SQL > MySQL' 카테고리의 다른 글
[MySQL/HackerRank] The Blunder (0) | 2023.08.21 |
---|---|
[MySQL/HackerRank] Population Density Difference (0) | 2023.08.21 |
[MySQL/HackerRank] Average Population (0) | 2023.08.21 |
[MySQL/HackerRank] Revising Aggregations - Averages (0) | 2023.08.21 |
[MySQL/HackerRank] Revising Aggregations - The Sum Function (0) | 2023.08.21 |