카테고리 없음
[MySQL] Revising Aggregations - The Sum Function
주 녕
2021. 4. 20. 16:21
반응형
SQL > Basic Select > Revising Aggregations - The Sum Function
Problem
Query the total population of all cities in CITY where District is California.
Input Format
The CITY table is described as follows:

My Answer
SELECT SUM(POPULATION)
FROM CITY
WHERE DISTRICT = 'California'
반응형