← 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()?
- A.Deletes duplicate rows
- B.Splits rows into groups; the function restarts for each group
- C.Sorts the final output
- 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 →