[SQL] Revising Aggregations - The Sum Function

순동·2022년 4월 15일
0

✅ Revising Aggregations - The Sum Function


📝 문제

Query the total population of all cities in CITY where District is California.

Input Format

The CITY table is described as follows:


💻 풀이

SELECT SUM(POPULATION)
FROM CITY
WHERE DISTRICT = 'California';

0개의 댓글

관련 채용 정보