Sign in
apache
/
drill-test-framework
/
9a5d7ecf7f32f0e95c0ea874e75d785fdee9e51d
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
sanity
/
q1.sql
blob: cfc5fbf11878830e26f20efa4156fff9b747a687 [
file
] [
log
] [
blame
]
-- count distinct on a non grouping column
select
b1
,
count
(
distinct
a1
)
from
t1
group
by
b1
order
by
b1
;