Sign in
apache
/
drill-test-framework
/
HEAD
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
scalar
/
q15.sql
blob: 7bdfbbe465559c6c917d66095e14da4184ef8e26 [
file
] [
log
] [
blame
]
-- count distinct in having clause
-- count distinct in having clause is not projected
select
count
(
distinct
c_integer
)
from
alltypes
having
count
(
distinct
c_date
)
>
0
;