Answers for "get the total sum of two columns from database"

SQL
2

sql add two values together

SELECT  ID, SUM(VALUE1 + VALUE2)
FROM    tableName
GROUP   BY ID

--or simple addition

SELECT
	ID,
	(VALUE1 + VALUE2) as AddedValues
FROM tableName
Posted by: Guest on May-27-2020

Code answers related to "get the total sum of two columns from database"

Code answers related to "SQL"

Browse Popular Code Answers by Language