Introduction
A running total adds up values step-by-step in order. It helps see how numbers grow over time without using special window functions.
When your database does not support window functions like SUM() OVER().
When you want to calculate cumulative sales day by day.
When you track total points scored by a player after each game.
When you want to show a growing balance in a bank account statement.
When you analyze stepwise totals in a report but have limited SQL features.