Show monthly revenue and a cumulative running total. For each month (YYYY-MM), display the monthly revenue from delivered orders and the cumulative revenue up to and including that month. Round to 2 decimal places. Sort chronologically.
Schema
🔑idINT
🔗customer_idINT
order_dateTEXT
statusTEXT
total_amountREAL
postgresql
Run your query to see results
Press Ctrl + Enter to execute