You are viewing a single comment's thread. Return to all comments →
SELECT COUNT(CITY) - COUNT(DISTINCT CITY) FROM STATION
Here we are minusing each city i.e:- COUNT(DISTINCT CITY) from total no of cities i.e:- COUNT(CITY) to return the difference
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 4
You are viewing a single comment's thread. Return to all comments →
SELECT COUNT(CITY) - COUNT(DISTINCT CITY) FROM STATION
Here we are minusing each city i.e:- COUNT(DISTINCT CITY) from total no of cities i.e:- COUNT(CITY) to return the difference