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