I have 2 queries in MS SQL that return a number of results using the COUNT function.
I can run the the first query and get the first result and then run the other on
This can be done in a single query:
SELECT COUNT(col_name) - COUNT(DISTINCT col_name) as Difference from table_name;