Skip to content

Glossary: SQL Beyond the Basics

Running total

Also written: quarter to date, cumulative sum

A sum of all rows up to the current one, made with an ordered SUM(...) OVER. Each month's figure includes the months before it.

Where the book teaches it

Related terms

Window functionFrame