D
Dave Holmes
My SQL is a little shaky: is there a way to combine COUNT and
DISTINCT, that is to get a count of distinct values returned in a
query?
Right now I'm doing
SELECT COUNT(xyz) FROM (
SELECT DISTINCT(xyz) FROM Table
)
Thanks!
DISTINCT, that is to get a count of distinct values returned in a
query?
Right now I'm doing
SELECT COUNT(xyz) FROM (
SELECT DISTINCT(xyz) FROM Table
)
Thanks!