Skip to main content
All Problems
hard0% acceptance

Running Total of Daily Revenue

The finance team needs a running total of daily revenue. First compute total revenue per day, then calculate a cumulative running total across days. Return the order_date, daily revenue, and running total.

Schema

🔑idINT
🔗customer_idINT
order_dateTEXT
statusTEXT
total_amountREAL
postgresql

Run your query to see results

Press Ctrl + Enter to execute