Return
day: the calendar datetotal_revenue: combined revenue from all regions for that daytotal_orders: combined order count from all regions for that daysignup_count: number of user signups for that dayconversion_rate: ratio of total orders to signups, rounded to two decimal placesday ascending.Expected output
| day | total_revenue | total_orders | signup_count | conversion_rate |
|---|---|---|---|---|
| 2023-01-02 | 1786 | 36 | 92 | 0.39 |
| 2023-01-04 | 1868 | 37 | 66 | 0.56 |
| 2023-01-05 | 1854 | 37 | 108 | 0.34 |
First 3 of 30 rows your query should return. Your column aliases don't need to match.