Introduction
The LEAD function helps you look at the next row's data in a list without moving your place. It makes comparing current and next items easy.
When you want to compare a current sales amount with the next day's sales.
When you need to find the next event date after the current one in a schedule.
When you want to see the next price of a product in a sorted list.
When you want to calculate the difference between current and next row values.