Sign in
apache
/
drill-test-framework
/
9a5d7ecf7f32f0e95c0ea874e75d785fdee9e51d
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
sanity
/
q17.sql
blob: e6af827e8486d803b81ad4c531db1ac14e3f9f49 [
file
] [
log
] [
blame
]
select
t1
.
a1
,
count
(
distinct
t1
.
b1
),
sum
(
t2
.
a2
)
from
t1
inner
join
t2
on
t1
.
c1
=
t2
.
c2
group
by
t1
.
a1
;