Return
day: the date of activitysignup_count: total number of new signups on that daytotal_revenue: combined revenue from all regions for that daytotal_orders: combined number of orders from all regions for that dayavg_revenue_per_order: average revenue per order for that dayday in ascending order.Expected output
| day | signup_count | total_revenue | total_orders | avg_revenue_per_order |
|---|---|---|---|---|
| 1 row — values hidden, that's the puzzle | ||||
Your query should return 1 row with these columns. Your column aliases don't need to match.