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
|
1441 Discussions
|
Please Login in order to post a comment
SELECT COUNT(CITY)- COUNT(DISTINCT CITY) FROM STATION AS DIFFERENCE ;
TYPE1: Select Count(City) - Count(Distinct City) From Station; TYPE2: Select Count(*) - Count(Distinct City) From Station;
There are two way to solve that problem;
SELECT COUNT(city)-COUNT(DISTINCT(city) FROM Station;
SELECT COUNT(city)-COUNT(DISTINCT(city) AS Difference FROM Station;
select (select count(CITY) from STATION)-(select count(distinct city) from station);
SELECT COUNT(CITY) - COUNT(DISTINCT CITY) AS Difference FROM STATION;