[SQL] Revising Aggregations - The Sum Function

정만·2025년 3월 10일

SQL

목록 보기
12/36

문제

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

정답

SELECT SUM(POPULATION)
FROM CITY
WHERE DISTRICT = "California";
profile
멋있는 어른이 되고싶은 정만이의 벨로그

0개의 댓글