多条记录求和问题

2014-11-24 10:55:08 · 作者: · 浏览: 5

下面语句sql server与oracle均适用:

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