By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
purdate | category | item | total | revenue |
---|---|---|---|---|
2018-01-01 | stationary | pen | 5 | 15 |
2018-01-02 | stationary | card | 15 | 30 |
2018-01-03 | stationary | book | 10 | 50 |
2018-01-04 | toys | ball | 2 | 4 |
2018-01-04 | stationary | notebk | 2 | 6 |