Snoopy [해커랭크/SQL] 9. Weather Observation Station 4
코딩테스트/해커랭크 SQL

[해커랭크/SQL] 9. Weather Observation Station 4

Sooyoon Jeong 2023. 2. 15.

 


🤔 문제 분석

1) Find the difference between the total number of CITY entries in the table and the number of distinct CITY entries in the table.

 

💡 풀이

SELECT COUNT(CITY) - COUNT(DISTINCT CITY)
FROM STATION

댓글