blob: 5099b9b38f53982b64c89f609d3d62768123f2e5 [file] [log] [blame]
-- count distinct with sum on non aggregate column
-- drill - 2092
select
count(distinct a1),
sum(a1)
from
t1
group by
c1
order by
c1;