nth_value ( value anyelement, n integer ) → anyelementReturns
value evaluated at the row that is the n'th row of the window frame (counting from 1); returns NULL if there is no such row.Functions / Window Functions
Returns value evaluated at the row that is the n'th row of the window frame (counting from 1); returns NULL if there is no such row.
Reading PG 18current·documented in 19 of 27 versions, 8.4 to 20
nth_value ( value anyelement, n integer ) → anyelementReturns
value evaluated at the row that is the n'th row of the window frame (counting from 1); returns NULL if there is no such row.Definition snapshot: b7bd9cda · English manual source