HP Neoview SQL Reference Manual page 342

Hide thumbs Also See for Neoview SQL:
Table of Contents

Advertisement

such operations may not be parallelized because the entire sorted result set must be available in
order to compute the result of the sequence function.
Difference sequence functions:
"DIFF1 Function" (page 396)
"DIFF2 Function" (page 398)
Moving sequence functions:
"MOVINGAVG Function" (page 425)
"MOVINGCOUNT Function" (page 426)
"MOVINGMAX Function" (page 427)
"MOVINGMIN Function" (page 428)
"MOVINGSTDDEV Function" (page 429)
"MOVINGSUM Function" (page 431)
"MOVINGVARIANCE Function" (page 432)
Offset sequence function:
"OFFSET Function" (page 438)
Running sequence functions:
"RANK/RUNNINGRANK Function" (page 444)
"RUNNINGAVG Function" (page 456)
"RUNNINGCOUNT Function" (page 457)
"RUNNINGMAX Function" (page 458)
"RUNNINGMIN Function" (page 459)
"RUNNINGRANK Function" (page 459)
"RUNNINGSTDDEV Function" (page 460)
"RUNNINGSUM Function" (page 461)
"RUNNINGVARIANCE Function" (page 462)
Other sequence functions:
"LASTNOTNULL Function" (page 410)
"ROWS SINCE Function" (page 451)
342
SQL Functions and Expressions
Calculates differences between values of a column
expression in the current row and previous rows.
Calculates differences between values of the result of
DIFF1 of the current row and DIFF1 of previous rows.
Returns the average of nonnull values of a column
expression in the current window.
Returns the number of nonnull values of a column
expression in the current window.
Returns the maximum of nonnull values of a column
expression in the current window.
Returns the minimum of nonnull values of a column
expression in the current window.
Returns the standard deviation of nonnull values of a
column expression in the current window.
Returns the sum of nonnull values of a column expression
in the current window.
Returns the variance of nonnull values of a column
expression in the current window.
Retrieves columns from previous rows.
Returns the rank of the given value of an intermediate
result table ordered by a SEQUENCE BY clause in a
SELECT statement
Returns the average of nonnull values of a column
expression up to and including the current row.
Returns the number of rows up to and including the
current row.
Returns the maximum of values of a column expression
up to and including the current row.
Returns the minimum of values of a column expression
up to and including the current row.
Returns the rank of the given value of an intermediate
result table ordered by a SEQUENCE BY clause in a
SELECT statement.
Returns the standard deviation of nonnull values of a
column expression up to and including the current row.
Returns the sum of nonnull values of a column expression
up to and including the current row.
Returns the variance of nonnull values of a column
expression up to and including the current row.
Returns the last nonnull value for the specified column
expression. If only null values have been returned, returns
null.
Returns the number of rows counted since the specified
condition was last true.

Advertisement

Table of Contents
loading

Table of Contents