Sign in
apache
/
drill-test-framework
/
9a5d7ecf7f32f0e95c0ea874e75d785fdee9e51d
/
.
/
framework
/
resources
/
Functional
/
aggregates
/
aggregation
/
sanity
/
q5.sql
blob: ababe930679ab15798e3c5f72bfa1ce619de57bf [
file
] [
log
] [
blame
]
-- group by 2 columns
select
count
(
distinct
a1
),
sum
(
a1
),
count
(
b1
)
from
t1
group
by
b1
,
c1
order
by
b1
;