mysql中update 按条件进行更新

update salary set sex=case when sex='f' then 'm' else 'f' end;
相关文章
相关标签/搜索