Let be the number of CITY entries in STATION, and let be the number of distinct CITY names in STATION; query the value of from STATION. In other words, find the difference between the total number of CITY entries in the table and the number of distinct CITY entries in the table.
Input Format
The STATION table is described as follows:
where LAT_N is the northern latitude and LONG_W is the western longitude.
My SQL Query:
where LAT_N is the northern latitude and LONG_W is the western longitude.
My SQL Query:
select count(CITY)-count(DISTINCT CITY) from STATION;