sql update 多个字段

sql update 多个字段

将多个需要update的字段通过逗号分隔开就可以了,例子如下所示:

update 表明 set 字段1=更新值1,字段2=更新值2 where 条件