LEAD()
Value from a row in the current partition with a given offset after the current row
The same as type as expr
LEAD ( <expr> [, <offset [, <default>]]) 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. | 
| offset | The offset in rows after the current row to get the value identified by expr.If offset is not specified, the default is  | 
| default | The default value to return if offset points outside the partition.Default is  | 
The LEAD function provides access to the row in the current partition with a given offset after the current row.
If offset points outside the current partition, default will be returned, or NULL if no default was specified.