Sign in
apache
/
drill-test-framework
/
HEAD
/
.
/
framework
/
resources
/
Functional
/
window_functions
/
negative
/
q2.sql
blob: 4f72a28984d08023ee70269cea0b0168963ca902 [
file
] [
log
] [
blame
]
select
avg
(
a1
)
over
(
partition
by
b1
order
by
c1 range
between
unbounded
preceding
and
unbounded
following
),
sum
(
a1
)
over
(
partition
by
b1
order
by
c1 range
between
unbounded
preceding
and
unbounded
following
),
row_number
()
over
()
from
t1
;