1.update两列的值相加:
如果两列是整数则,update table set a=a+b where id=1;
如果两列有字符串则,update table set a=concat(a,b) where id=1;//如果用+代替concat,会有warning:truncated incorrect double value ‘ *‘;
sql 语句,布布扣,bubuko.com
sql 语句
原文:http://www.cnblogs.com/playerboy/p/3578700.html