16.20 - LAG and LEAD Expression Rules - Teradata Database - Teradata Vantage NewSQL Engine
Teradata Vantage™ - NewSQL Engine Analytic Functions
- Teradata Database
- Teradata Vantage NewSQL Engine
- Release Number
- Release Date
- July 2019
- Content Type
- Programming Reference
- Publication ID
- English (United States)
- A symbol definition can have multiple LAG and LEAD expressions.
- A symbol definition that has a LAG or LEAD expression cannot have an OR operator.
- If a symbol definition has a LAG or LEAD expression and the input is not a table, you must create an alias of the input query, as in LAG and LEAD Expressions Example: Alias for Input Query.