blob: cfc5fbf11878830e26f20efa4156fff9b747a687 [file] [log] [blame]
-- count distinct on a non grouping column
select b1,
count(distinct a1)
from
t1
group by
b1
order by
b1;