日期:2014-05-18 浏览次数:20478 次
select SceneId,sum(ApplyNumber) from tb group by SceneId
------解决方案--------------------
select SceneId,sum(ApplyNumber) [ApplyNumber_Total] from Apply group by SceneId
------解决方案--------------------
select sceneid,sum(applynumber) totalapplynumber from tbl group by sceneid