[MSSQL] 해커랭크(HackerRank) - Revising Aggregations - The Sum Function

develop_wan·2021년 12월 30일

HackerRank SQL

목록 보기
27/51
post-thumbnail

https://www.hackerrank.com/challenges/revising-aggregations-sum/problem?isFullScreen=true


문제


해석
district 값이 california 인 모든 도시의 총 인구 조회

select
    sum(population)
from
    city
where
    district = 'california'
profile
서른. 개발자가 되기로 했다

0개의 댓글