Sign in
apache
/
drill-test-framework
/
9a5d7ecf7f32f0e95c0ea874e75d785fdee9e51d
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
count_distinct
/
with_sum_avg_c_bigint_group_by_3_cols.sql
blob: acec90570cc63bde9e47619f7e7e3874b7dbd005 [
file
] [
log
] [
blame
]
select
count
(
distinct
c_bigint
),
sum
(
c_bigint
),
round
(
avg
(
c_bigint
))
from
alltypes_with_nulls
group
by
c_varchar
,
c_integer
,
c_bigint
order
by
c_varchar
,
c_integer
,
c_bigint
;