[HackerRank] Japan Population

mzzzi·2022년 4월 21일
0

HackerRank SQL

목록 보기
30/52
post-thumbnail

MySQL > Japan Population


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:


My Answer


SELECT SUM(POPULATION)
FROM CITY
WHERE COUNTRYCODE = 'JPN';
profile
무럭무럭 성장하라🌳

0개의 댓글