반응형
츄르사려고 코딩하는집사입니다.
1. [HackerRank] Revising Aggregations - The Sum Function 오라클(Oracle)
2. 문제 출처
https://www.hackerrank.com/challenges/revising-aggregations-sum/problem
Revising Aggregations - The Sum Function | HackerRank
Query the total population of all cities for in the District of California.
www.hackerrank.com
3. 문제
Query the total population of all cities in CITY where District is California.
Input Format
The CITY table is described as follows:
4. 풀이
- CITY 테이블에서 DISTRICT가 California인 인구(POPULATION)의 합을 출력하라.
5. 소스 코드
SELECT SUM(POPULATION)
FROM CITY
WHERE DISTRICT = 'California';
반응형
'알고리즘 > HackerRank' 카테고리의 다른 글
[HackerRank] Population Density Difference 오라클(Oracle) (0) | 2021.09.27 |
---|---|
[HackerRank] Japan Population 오라클(Oracle) (0) | 2021.09.27 |
[HackerRank] Average Population 오라클(Oracle) (0) | 2021.09.23 |
[HackerRank] Revising Aggregations - Averages 오라클(Oracle) (0) | 2021.09.23 |
[HackerRank] Type of Triangle 오라클(Oracle) (0) | 2021.09.17 |
[HackerRank] Employee Names 오라클(Oracle) (0) | 2021.09.14 |
[HackerRank] Weather Observation Station 12 오라클(Oracle) (0) | 2021.09.09 |
[HackerRank] Higher Than 75 Marks 오라클(Oracle) (0) | 2021.09.08 |
최근댓글