Definition:
WindowFunctionCall ::= ( ( 'RANK' | 'DENSE_RANK' | 'PERCENT_RANK' | 'CUME_DIST' | 'ROW_NUMBER' ) '(' | 'NTILE' '(' LongConstant | ( 'LEAD' | 'LAG' ) '(' ( SqlExpression | SourceField ) ( ',' IntegerConstant ( ',' Constant )? )? | ( ( 'FIRST_VALUE' | 'LAST_VALUE' ) '(' ( SqlExpression | SourceField ) | 'NTH_VALUE' '(' ( SqlExpression | SourceField ) ',' IntegerConstant ) ( ',' Constant )? ) ')' WindowSpecification
Used In: