how to select a column of sum of several columns in postgresql code example
Example: sum of multiple columns in postgres
SELECT
Val1,
Val2,
Val3,
sum(Val1 + Val2 + Val3) as 'Total'
FROM Emp
SELECT
Val1,
Val2,
Val3,
sum(Val1 + Val2 + Val3) as 'Total'
FROM Emp