← Quiz: Window Functions: all 10 questions
Quiz: Window Functions · Question 4 of 10
Which function returns the value from the previous row?
Which function returns the value from the previous row?
- A.LEAD
- B.LAG
- C.PREV
- D.FIRST
Answer & explanation
Correct answer: LAG
LAG looks back; LEAD looks forward.
Can you get the rest right without peeking?
Take the timed Quiz: Window Functions quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →