New SQL:2008 OLAP functions

Interrow functions are OLAP functions that access previous rows or subsequent rows in a data series without requiring you to define a self-join. These two interrow functions have been added:

A ranking function has also been added:

See Reference: Building Blocks, Tables, and Procedures > SQL Functions and System Administration Guide: Volume 2 > Using OLAP.