문제
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:
코드
SELECT sum(population)
FROM City
WHERE countrycode = 'JPN'
- city 테이블에서 모든 일본 도시의 인구 합계를 출력하라
- 일본의 country code = 'JPN'
출처
반응형
'Algorithm > MySQL' 카테고리의 다른 글
[해커랭크(HackerRank)] The PADS (MySQL) (0) | 2021.07.07 |
---|---|
[해커랭크(HackerRank)] The Blunder (MySQL) (0) | 2021.07.06 |
[해커랭크(HackerRank)] Symmetric Pairs (MySQL) (0) | 2021.07.05 |
[LeetCode] 197. Rising Temperature (MySQL) (0) | 2021.07.05 |
[LeetCode] 181. Employees Earning More Than Their Managers (MySQL) (0) | 2021.07.05 |