LAST_VALUE()
Last value from the current partition
The same as type as expr
LAST_VALUE ( <expr> ) OVER <window_name_or_spec>
| Argument | Description |
|---|---|
expr |
Expression.May contain a table column, constant, variable, expression, scalar function.Aggregate functions are not allowed as an expression. |
See also note on frame for navigational functions.