win_func_cume_dist.sql 141 B

1234567
  1. select
  2. r,x,
  3. cume_dist() over w,
  4. from (select * from (values (1,3),(2,null),(3,4),(4,5)) as a(r,x)) as z
  5. window w as (order by r)
  6. order by r