update table set a=xx and b=xxx where ….
更新操作set之后使用and 只会执行a = xx 但是此时不会赋值为xx,而是默认值0(大多数情况字符串1) 情况 但是 mysql并不会报错!!!!!!
[MySQL] update操作与and 使用---生产事故
猜你喜欢
转载自blog.csdn.net/drdongshiye/article/details/81227430
今日推荐
周排行