blob: 0d64fc6144c1c03a0b020bc57792e4fffcc4f567 [file] [log] [blame]
-- Same window default definition
-- combination of ranking and row_number function
select
rank() over W,
dense_rank() over W,
percent_rank() over W,
cume_dist() over W,
row_number() over W
from
j6
where
c_boolean is not null
window W as (order by c_bigint, c_date, c_time, c_boolean desc nulls first)
order by
1,
2,
3,
4,
5
;