What is a window frame and why does it matter?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what a window frame is in a SQL window function and why the same aggregate can return a running total, a moving average or a partition total. Tests ROWS versus RANGE frames, the default frame once ORDER BY is added, and how tied rows are handled.