Theprogrammersfirst Sql Difference Between Consecutive Rows

Theprogrammersfirst Sql Difference Between Consecutive Rows