We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Weather Observation Station 4
Weather Observation Station 4
Sort by
recency
|
1476 Discussions
|
Please Login in order to post a comment
SET @total_number = (Select count(CITY)from STATION); SET @total_dist_nmber = (Select count(distinct CITY)from STATION);
SELECT @total_number - @total_dist_nmber;
SELECT COUNT(CITY) - COUNT(DISTINCT CITY) AS difference FROM STATION;
MySQL Code:
select count(city) - count(distinct city) from station;
SELECT count(city)- count(distinct city) from station ; working query