Distinct Count.
611993Dec 10 2007 — edited Nov 6 2010Hi-
How do I get a count of distinct records in a table? When I do a distinct on a single column it works, but not when I put a *.
I tried
select count(distinct(*)) from table1;
select count(distinct *) from table1;
Thanks!