HackerRank/SQL
[hackerrank] Japan Population
예쁜꽃이피었으면
2022. 8. 24. 10:01
[hackerrank] Prepare > SQL > Aggregation > 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:

[MYSQL]
[ORCALE]
select sum(population)
from city
where countrycode = 'JPN';
반응형