是否可以在 LibreOffice 中过滤某个范围?例如,我有下表。
Model | Type | Size |Price
--------------------------------
T-1 | T-Shirt | Small | 10
T-2 | T-Shirt | Large | 25
T-3 | T-Shirt | Small | 30
T-4 | T-Shirt | Large | 35
S-1 | Shirt | Small | 20
S-2 | Shirt | Large | 25
S-3 | Shirt | Large | 35
--------------------------------
我想过滤行Type=T-Shirt
并获取按大小分组的小计。我正在寻找以下 SQL 查询的 LibreOffice 等效版本
SELECT Size, SUM(Price) FROM table WHERE Type = 'T-Shirt' GROUP BY Size.