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