The LAG function has the ability to fetch data from a previous row, while LEAD fetches data from a subsequent row.
Sources:
The LAG function has the ability to fetch data from a previous row, while LEAD fetches data from a subsequent row.
Sources:
Comments