[HackerRank] Revising Aggregations - The Sum Function

mzzzi·2022년 4월 20일
0

HackerRank SQL

목록 보기
27/52
post-thumbnail

MySQL > 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:



My Answer


SELECT SUM(POPULATION)
FROM CITY
WHERE DISTRICT = 'California' ;
profile
무럭무럭 성장하라🌳

0개의 댓글