MediumConceptAdvanced SQL
How do LAG and LEAD help in analysis?
This answer is part of Pro
48 of 348 Data engineering answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousWhat is the difference between a window frame of ROWS and RANGE?Next What is a recursive CTE and give an example use.