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