🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Window Frames: all 10 questions

Quiz: Window Frames · Question 3 of 10

With ORDER BY and no frame clause, what is the default frame?

With ORDER BY and no frame clause, what is the default frame?

  1. A.ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING
  2. B.The whole partition
  3. C.Only the current row
  4. D.RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW
Answer & explanation

Correct answer: RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW

This default is what makes SUM() OVER (ORDER BY …) a running total.

Can you get the rest right without peeking?

Take the timed Quiz: Window Frames quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →