Sign in
apache
/
drill-test-framework
/
9a5d7ecf7f32f0e95c0ea874e75d785fdee9e51d
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
count_distinct
/
with_min_max_c_integer_group_by_6_cols.sql
blob: c5bf6ffb7d364304371b79fe7e68110aaefd5567 [
file
] [
log
] [
blame
]
select
count
(
distinct
c_integer
),
max
(
c_integer
),
min
(
c_integer
)
from
alltypes_with_nulls
group
by
c_date
,
c_time
,
c_timestamp
,
c_boolean
,
c_varchar
,
c_integer
order
by
c_date
,
c_time
,
c_timestamp
,
c_boolean
,
c_varchar
,
c_integer
;