728x90
반응형
https://www.hackerrank.com/challenges/revising-aggregations-sum/problem?isFullScreen=true
문제
Query the total population of all cities in CITY where District is California.
Input Format
The CITY table is described as follows:
Code
SELECT SUM(POPULATION)
FROM CITY
WHERE DISTRICT = 'CALIFORNIA'
728x90
반응형
'SQL > MySQL' 카테고리의 다른 글
[MySQL/HackerRank] Average Population (0) | 2023.08.21 |
---|---|
[MySQL/HackerRank] Revising Aggregations - Averages (0) | 2023.08.21 |
[MySQL/HackerRank] Revising Aggregations - The Count Function (0) | 2023.08.21 |
[MySQL/HackerRank] The PADS (0) | 2023.08.21 |
[MySQL/HackerRank] Type of Triangle (0) | 2023.08.18 |