[HackerRank] Weather Observation Station 4

2021. 1. 20. 20:47데이터베이스/SQL

728x90
반응형

Find the difference between the total number of CITY entries in the table and the number of distinct CITY entries in the table.
The STATION table is described as follows:


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