答案 0 :(得分:1)
在数据列中使用聚合函数和
select ID,location,Trc,Commessa sum(data) From Table
Group by ID,location,Trc,Commessa
答案 1 :(得分:0)
试试这个: -
Select ID,location,Commessa,Trc, sum(Data) as Data
from
YOUR_TABLE_NAME
group by ID, location, Commessa, Trc