add multiple columns in postgresql code example
Example 1: sum of multiple columns in postgres
SELECT
Val1,
Val2,
Val3,
sum(Val1 + Val2 + Val3) as 'Total'
FROM Emp
Example 2: alter table add multiple columns postgresql
ALTER TABLE customer
ADD COLUMN fax VARCHAR,
ADD COLUMN email VARCHAR;