select z1+x2+c3+d4,id from t1 where id=?select id,sum(z1),sum(x2),sum(c3),sum(d4)from t1 group by id不知道楼主说的是那种求和,都写上了
select s=z1+x2+c3+d4 from t1 where id=