LeetCode SQL Swap Salary [ MySQL ]

    Swap Salary - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com set 내부에 상황에 대한 조건문을 case when 구문을 사용하여서 작성하였습니다 UPDATE salary SET sex = CASE WHEN sex = 'm' THEN 'f' ELSE 'm' END