[SQL] Population Density Difference

정만·2025년 3월 10일

SQL

목록 보기
15/36

문제

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
profile
멋있는 어른이 되고싶은 정만이의 벨로그

0개의 댓글