Sign in
apache
/
drill-test-framework
/
9a5d7ecf7f32f0e95c0ea874e75d785fdee9e51d
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
count_distinct
/
with_group_by_order_by_count_distinct_d18.sql
blob: a4ea63d45f3d7808296ba0c30a52d83720395d61 [
file
] [
log
] [
blame
]
select
d18
,
COUNT
(
DISTINCT
c_integer
)
from
alltypes
group
by
d18
order
by
d18
,
COUNT
(
DISTINCT
c_integer
)
desc
;