編碼的世界 / 優質文選 / 歷史

mysql中update 按條件進行更新


2022年5月22日
-   

update salary set sex=case when sex='f' then 'm' else 'f' end;

 

熱門文章