Toggle navigation
George Opritescu
Blog
Tags
About
Read the Tutorial
Fork on GitHub
postgres sum more than one column
Developer from somewhere
Found
here
:
SELECT
COALESCE
(
col1
,
0
)
+
COALESCE
(
col2
,
0
)
FROM
yourtable