Skypro's finance team is closing out the last full calendar month and wants revenue totals for each course. The current date is fixed at 2024-04-15, so the last full month is March 2024. Sum the revenue for each course from 2024-03-01 through 2024-03-31, inclusive, in Moscow local time. Return course_id and revenue, calculated as the sum of price for that course's orders. Courses with the highest revenue should appear first. Sort the result by revenue in descending order.
Row order matters
Expected output columns:course_idrevenue
Showing the first 3 rows of the sample — the full sample comes with Premium