What are LEAD() and LAG() functions in SQL?
Anonymous
LEAD() and LAG() are window functions used to access data from a previous or next row in the result set, useful for comparing sequential data.
Check out your Company Bowl for anonymous work chats.