The till that never stops

The owner wants to watch sales pile up. For each invoice_date, show total and a running_total column: the sum of every invoice up to and including that day. In chronological order — first invoice 2.58, then 2.58 + 4.56, and so on until the grand total of 53.61.

Tables in this exercise
invoices
id customer_id invoice_date billing_city billing_country total

Back to the chapter