Concept Flow - Running totals with SUM OVER
Start with table rows
Order rows by a column
For each row, calculate SUM of values from first row to current row
Add running total as new column
Return result with running totals
The query orders rows and calculates a running total by summing values from the start up to each row.