새소식

IT/SQL

[해커랭크] Revising Aggregations - Averages

  • -
728x90
반응형

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

 

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

Input Format

The CITY table is described as follows: 

 

🔉 문제 설명

지역구가 California인 CITY의 인구 평균을 쿼

 

SELECT AVG(POPULATION)
FROM CITY
WHERE DISTRICT = 'California'

 


 AVG : 평균

728x90
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.