将立立饭饭的性别变更为女 ,烦烦 嗯嗯 问我的性别变更为男
update `table` set sex = ( case when sname in('立立','饭饭') then '女' else '男' end )
将立立饭饭的性别变更为女 ,烦烦 嗯嗯 问我的性别变更为男
update `table` set sex = ( case when sname in('立立','饭饭') then '女' else '男' end )
转载于:https://www.cnblogs.com/lelexiong/p/11325529.html