IT/SQL
[해커랭크] Population Density Difference
김보통김보름
2023. 3. 31. 01:56
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