By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| item | weeks | total_sales |
|---|---|---|
| cupcake | 1-2 | 45 |
| cookie | 3-4 | 34 |
| cookie | 5 | 120 |
| cupcake | >5 | 42 |
| item | weeks | total_sales |
|---|---|---|
| cupcake | 1-2 | 45 |
| cookie | 3-4 | 34 |
| cookie | 5 | 120 |
| cupcake | >5 | 42 |