Sign in
apache
/
drill-test-framework
/
9a5d7ecf7f32f0e95c0ea874e75d785fdee9e51d
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
count_distinct
/
q1.sql
blob: 6868601270434acd57d3350540cd6c8da3e01670 [
file
] [
log
] [
blame
]
-- with sum
select
a1
,
count
(
distinct
a1
),
sum
(
a1
)
from
t1
group
by
a1
;