📅  最后修改于: 2022-03-11 15:05:17.934000             🧑  作者: Mango
SELECT ID, SUM(VALUE1 + VALUE2)
FROM tableName
GROUP BY ID
--or simple addition
SELECT
ID,
(VALUE1 + VALUE2) as AddedValues
FROM tableName