Sign in
apache
/
tajo
/
refs/heads/window_function
/
.
/
tajo-core
/
src
/
test
/
resources
/
queries
/
TestWindowQuery
/
testWindowWithAggregation6.sql
blob: 1a9d46bf4276af4c1bf62b3a13d30e46533aa00a [
file
] [
log
] [
blame
]
select
l_orderkey
,
count
(*)
as
cnt
,
row_number
()
over
(
order
by
count
(*)
desc
)
row_num
from
lineitem
group
by
l_orderkey
order
by
l_orderkey
;