Summation of multiple records

The following statement sql server and oracle are applicable:

select sum(A+B+C)
AS D
from ...
where ...
group by ...

Reproduced in: https: //my.oschina.net/cjkall/blog/195844

Guess you like

Origin blog.csdn.net/weixin_33829657/article/details/91756114