if((select column1 from table where ID='1') is null)
update table set column1='1' where ID='1'
else update table set column1=column1+1 where ID='1';
感觉好罗嗦,不知道能不能简化...
update table set column1='1' where ID='1'
else update table set column1=column1+1 where ID='1';
感觉好罗嗦,不知道能不能简化...
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货