본문 바로가기
SQL

leetcode 627. Swap Salary

by 무적김두칠 2022. 3. 17.

1
2
3
4
5
/* Write your PL/SQL query statement below */
update Salary 
set sex = case when sex = 'm' then 'f' 
               when sex = 'f' then 'm' 
               end
cs

 

반응형

댓글