Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
It would be great to allow passing a DISTINCT expression to the COUNT aggregate function:
select user_id, count(distinct company_id) from TABLE group by user_id;