🎙 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 3 of 10

What does PARTITION BY do inside OVER()?

What does PARTITION BY do inside OVER()?

  1. A.Deletes duplicate rows
  2. B.Splits rows into groups; the function restarts for each group
  3. C.Sorts the final output
  4. D.Creates a new table
Answer & explanation

Correct answer: Splits rows into groups; the function restarts for each group

Each partition is calculated separately, but all rows remain.

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 →