sql 一个表中 两列 求和

表A 中 列 a1 a2
1 2
2 3
求a1 + a2

第1个回答  2013-10-12
select *,a1+a2 as 和 from a

第2个回答  2013-10-13
select sum(a1,a2) from 表名

希望对你有帮助。本回答被提问者采纳
第3个回答  2013-10-12
select sum(a1,a2) as qiuhe from 表A
相似回答