[MSSQL] 해커랭크(HackerRank) - Revising Aggregations - Averages

develop_wan·2021년 12월 30일

HackerRank SQL

목록 보기
28/51
post-thumbnail

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


문제


해석
district 값이 california 인 모든 도시의 평균 인구를 쿼리합니다.

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

0개의 댓글