LAG and LEAD Expression Rules - Analytics Database
Database Analytic Functions
- Deployment
- VantageCloud
- VantageCore
- Edition
- Enterprise
- IntelliFlex
- VMware
- Product
- Analytics Database
- Release Number
- 17.20
- Published
- June 2022
- ft:locale
- en-US
- ft:lastEdition
- 2025-04-01
- dita:mapPath
- gjn1627595495337.ditamap
- dita:ditavalPath
- qkf1628213546010.ditaval
- dita:id
- jmh1512506877710
- Product Category
- Teradata Vantageā¢
- 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.