You can create symbol predicates that compare a row to a previous or subsequent row, using a LAG or LEAD operator. See the following topics:LAG Expression Syntax LAG and LEAD Expression Rules LAG and LEAD Expressions Example: Alias for Input Query LAG and LEAD Expressions Example: No Alias for Input Query