Weather Observation Station 4

Sort by

recency

|

1361 Discussions

|

  • + 0 comments

    Select count(CITY) - count(Distinct(CITY)) FROM STATION

  • + 0 comments

    In MySQL, you should avoid spaces between the function name and the parentheses. For example, instead of COUNT (), you should write COUNT().

  • + 0 comments

    Select count(City) - count(Distinct(City)) from Station;

  • + 0 comments

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

  • + 0 comments

    For MySQL

    SELECT COUNT(city) - COUNT(DISTINCT city) FROM station;