我有一张这样的桌子:
name1 | name2 | value1
-------------------------
Apple | asdg | 100
Apple | ghf | 50
Lemon | dhjhgf | 60
Meat | iop | 300
Meat | pdjs | 70
Meat | ncm | 10
Strawberry | jdksa | 20
我应该怎么做才能得到这个:
name1 | name2 | value1
----------------------------
Apple | asdg | 100
Lemon | dhjhgf | 60
Meat | iop | 300
Strawberry | jdksa | 20