By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 5 Duplicates: 0 Warnings: 0
SUBSTRING_INDEX(`Description`,' ',1) | SUM(`Amount`) |
---|---|
Food | 6 |
Non-food | 7 |
Records: 5 Duplicates: 0 Warnings: 0
SUBSTRING_INDEX(`Description`,' ',1) | SUM(`Amount`) |
---|---|
Food | 6 |
Non-food | 7 |