LEAD
Window Function
Description
The LEAD window function returns the values for a row at a given offset below (after) the current row in the partition.
This function is partially supported in Snowflake. In Redshift the offset can be a constant integer or an expression that evaluates to an integer. In Snowflake it has a limitation that it can only be a constant.
For more information about quoted identifiers in functions, click here.
Grammar Syntax
Sample Source Patterns
Setup data
Input Code:
Output Code:
OUT -> Redshift_01.sql
Known Issues
No issues were found.
Related EWIs
There are no known issues.
Last updated