Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql substract count and distinct count

SELECT COUNT(CITY) - COUNT(DISTINCT CITY)
FROM STATION
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #substract #count #distinct #count
ADD COMMENT
Topic
Name
1+3 =