Window Functions in SQL: Aggregating Values
Calculate running totals with window functions
Published in
4 min readOct 5, 2021
When working with a table in SQL, it is often the case that one might wish to aggregate values, or calculate a running total among the values in the table.
In this article, we will investigate how this can be done using what is called a window function.