What are window functions in SQL?
Short answer
Functions calculating across related rows without grouping.
Advertisement
AModel answer
Functions calculating across related rows without grouping.
Example
Running total.
Real-world example
Window functions helped an analyst calculate running totals and rankings easily.
Likely follow-ups
- What are window functions
- What are CTEs
- What are subqueries
Related topics