select 状态,用时,zcsc,hxsj,ljdd,scjs,jhtj, sum(zcsc,hxsj,ljdd,scjs,jhtj) as 总和 from (图片里的sql)
方法一,再union all一行求和的select方法二,使用rollup