SQL
[해커랭크] Population Density Difference
주스 JUICE
2023. 7. 14. 19:54
728x90
Population Density Difference | HackerRank
Query the difference between the maximum and minimum city populations in CITY.
www.hackerrank.com
아니 이 문제를 어렵게 풀었다..
서브쿼리를 넣고 막..
이렇게 쉬운 문제인데...
쉽게쉽게 쉬운 방법으로 먼저 생각해보자
select max(population) - min(population)
from city
728x90