Return the value from the N-th row. This function retrieves the value of an expression from the N-th row within the window frame.
NTH_VALUE (expr[, num_row]) OVER ( [ PARTITION BY partition_expression ] [ ORDER BY order_list ] )
The NTH_VALUE function returns the value evaluated at row number num_row of the window frame, starting from 1, or NULL if the row does not exist.
NTH_VALUE
num_row
NULL
This page is licensed: CC BY-SA / Gnu FDL
Last updated 2 months ago
Was this helpful?