By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
item | weeks | total_sales |
---|---|---|
cookie | 1-2 | 24 |
cookie | 3-4 | 34 |
cookie | 5 | 9 |
cookie | >5 | 50 |
cupcake | 1-2 | 45 |
cupcake | 3-4 | 16 |
cupcake | 5 | 24 |
cupcake | >5 | 42 |
ice cream | 1-2 | 37 |
ice cream | 3-4 | 27 |
ice cream | 5 | 12 |
ice cream | >5 | 40 |