I want to build query to return how many rows are in this query:
select distinct c1, c2 from t1
But SQL won't accept this syntax:
select count (distinct c1, c2) from t1
Does someone know how to count multiple distinct columns? Thanks.
--
Disclaimer: This post is solely an individual opinion and does not speak on
behalf of any organization.
select distinct c1, c2 from t1
But SQL won't accept this syntax:
select count (distinct c1, c2) from t1
Does someone know how to count multiple distinct columns? Thanks.
--
Disclaimer: This post is solely an individual opinion and does not speak on
behalf of any organization.
Comment