[HackerRank] Population Density Difference

mzzzi·2022년 4월 21일
0

HackerRank SQL

목록 보기
31/52
post-thumbnail

MySQL > Population Density Difference


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

Input Format

The CITY table is described as follows:

My Answer


SELECT MAX(POPULATION) - MIN(POPULATION)
FROM CITY ;
profile
무럭무럭 성장하라🌳

0개의 댓글