Answer: Using LAG() And LEAD()
Find a detailed explanation of using LAG() and LEAD() functions.
Solution
The solution is given below:
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.
Find a detailed explanation of using LAG() and LEAD() functions.
The solution is given below:
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.