🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.LEAD
  2. B.LAG
  3. C.PREV
  4. 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 →