Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
sum of multiple columns in postgres
Motionless Mouse
Programming language:
Whatever
2021-07-25 20:23:45
0
Q:
sum of multiple columns in postgres
廖一霏
Code:
Whatever
2021-08-24 21:55:36
SELECT Val1, Val2, Val3, sum(Val1 + Val2 + Val3) as 'Total' FROM Emp
0
Tags
multiple
sum
columns
post
Related
how to combine diff colmun value using group by postgres
after groupby how to add values in two rows to a list
r sum based on two columns
dataframe groupby multiple columns
how to add the sum of multiple columns into another column in a dataframe
sum two columns in eloquent
New to Communities?
Join the community