blob: 09c145ceb14abfb98bc20451b378e63893a49044 [file] [log] [blame]
-- scalar count distinct with aggregate functions
-- drill-658
select
count(distinct a1),
max(a1),
min(a1),
avg(a1),
sum(a1),
max(b1),
min(b1),
min(c1),
max(c1)
from
t1;