Window functions add labels beside visible base rows.
highlighted = computed this step
Base ordered rows
A window function starts with the same base rows still visible.
base rows stay visible
Sort once
The compiler reads 5 base rows and produces 5 window rows.
window rows=5
Window-function examples are tiny finite table transforms; SQL dialects, NULL ordering, frames beyond prefix rows, optimizer behavior, performance, and product behavior are out of scope.
Read the order
The window rows table shows source row, order key, and tie-breaker key before the function value.
source plus order
Summary
The original rows are not grouped away; the window value is added beside them.