Neoview SQL Reference Manual (R2.4 SP2)

SELECT deptnum, empnum, SUM (salary)
OVER (PARTITION BY deptnum ORDER BY empnum ROWS 3 PRECEDING)
FROM persnl.employee;
494 OLAP Functions