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