Return
day: the sales dateregion: the region namerevenue: total revenue for that region and dayperformance_label: a label of 'High', 'Medium', or 'Low' based on revenue thresholdsday ascending, then region ascending.Expected output
| day | region | revenue | performance_label |
|---|---|---|---|
| 2023-01-01 | EU | 410 | Low |
| 2023-01-01 | US | 490 | Low |
| 2023-01-02 | EU | 758 | Low |
First 3 of 82 rows your query should return. Your column aliases don't need to match.