반응형
츄르사려고 코딩하는집사입니다.
1. [HackerRank] Japan Population 오라클(Oracle)
2. 문제 출처
https://www.hackerrank.com/challenges/japan-population/problem
Japan Population | HackerRank
Query to the sum of the populations of all Japanese cities in CITY.
www.hackerrank.com
3. 문제
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:
4. 풀이
- CITY 테이블에서 COUNTRYCODE가 JPN인 인구(POPULATION)의 합을 구하면 된다.
5. 소스 코드
SELECT SUM(POPULATION)
FROM CITY
WHERE COUNTRYCODE = 'JPN';
반응형
'알고리즘 > HackerRank' 카테고리의 다른 글
[HackerRank] Revising the Select Query I 오라클(Oracle) (0) | 2023.07.03 |
---|---|
[HackerRank] Revising Aggregations - The Count Function 오라클(Oracle) (0) | 2022.10.19 |
[HackerRank] Solve Me First 자바(JAVA) (0) | 2021.09.27 |
[HackerRank] Population Density Difference 오라클(Oracle) (0) | 2021.09.27 |
[HackerRank] Average Population 오라클(Oracle) (0) | 2021.09.23 |
[HackerRank] Revising Aggregations - Averages 오라클(Oracle) (0) | 2021.09.23 |
[HackerRank] Revising Aggregations - The Sum Function 오라클(Oracle) (0) | 2021.09.23 |
[HackerRank] Type of Triangle 오라클(Oracle) (0) | 2021.09.17 |
최근댓글