새소식

IT/SQL

[해커랭크] Population Density Difference

  • -
728x90
반응형

문제링크 : https://www.hackerrank.com/challenges/population-density-difference?isFullScreen=true

 

Query the difference between the maximum and minimum populations in CITY.

Input Format

The CITY table is described as follows: 

 

🔉 문제 설명

인구수의 최대와 최소의 차를 쿼

 

SELECT MAX(POPULATION) - MIN(POPULATION)
FROM CITY

 


 

728x90

'IT > SQL' 카테고리의 다른 글

[해커랭크] Aggregation  (0) 2023.03.31
[해커랭크] The Blunder  (0) 2023.03.31
[해커랭크] Japan Population  (0) 2023.03.31
[해커랭크] Average Population  (0) 2023.03.31
[해커랭크] Revising Aggregations - Averages  (0) 2023.03.31
Contents

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

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