When do customers buy? Return weekday (0 = Sunday … 6 = Saturday, as an integer), orders and revenue for each weekday that has orders, sorted by weekday.
Schema
customers(id, name, country, signup_date)
orders(id, customer_id, order_date, total)