Sign in
apache
/
drill-test-framework
/
HEAD
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
sanity
/
q3.sql
blob: 5099b9b38f53982b64c89f609d3d62768123f2e5 [
file
]
-- count distinct with sum on non aggregate column
-- drill - 2092
select
count
(
distinct
a1
),
sum
(
a1
)
from
t1
group
by
c1
order
by
c1
;