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