혜온의 이것저것

[HackerRank] Japan Population (MySQL) 본문

Data Analysis/SQL

[HackerRank] Japan Population (MySQL)

혜온 :) 2022. 8. 12. 14:36

https://www.hackerrank.com/challenges/japan-population/problem?isFullScreen=true&h_r=next-challenge&h_v=zen 

 

Japan Population | HackerRank

Query to the sum of the populations of all Japanese cities in CITY.

www.hackerrank.com

 

문제

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'
Comments