Weather Observation Station 4

Sort by

recency

|

1476 Discussions

|

  • + 0 comments

    SET @total_number = (Select count(CITY)from STATION); SET @total_dist_nmber = (Select count(distinct CITY)from STATION);

    SELECT @total_number - @total_dist_nmber;

  • + 0 comments

    SELECT COUNT(CITY) - COUNT(DISTINCT CITY) AS difference FROM STATION;

  • + 0 comments

    MySQL Code:

    SELECT COUNT(CITY) - COUNT(DISTINCT CITY) FROM STATION
    
  • + 0 comments

    select count(city) - count(distinct city) from station;

  • + 0 comments

    SELECT count(city)- count(distinct city) from station ; working query