Skip to content
Home ยป lag vs lead in sql

lag vs lead in sql

SQL Server Lead Function

SQL Server LEAD() function is a Analytics function that provides access to a row at a specified physical offset which follows the current row.

Basically, LEAD() function provides access to a row at a given physical offset that follows the current row.

 1,447 total views