The "window" in "window function" refers to a set of rows. SQL windows function clearly explained:
The "window" in "window function" refers to a set of rows. SQL windows function clearly explained: