我有一张桌子,其中包括:
id country Date item_name price
ae3u2 USA 27/12/2018 budget 1.99
bf5d8 India 31/12/2018 everything 34.99
dc8a4 USA 22/01/2019 cars 25.99
它继续。我必须计算:
- 总收入
- 按国家和日期细分的每个项目的总收入。
我很困惑如何计算它,因为我没有“数量”而且我也没有多少经验。