bars
Solutions
search
circle-xmark
⌘
Ctrl
k
copy
Copy
chevron-down
Problems
chevron-right
Database
chevron-right
Easy
#627 Swap Salary
hashtag
https://leetcode.com/problems/swap-salary/
arrow-up-right
MS SQL Server
Copy
UPDATE
Salary
SET
sex
=
CASE
WHEN
sex
=
'm'
THEN
'f'
ELSE
'm'
END
Previous
#620 Not Boring Movies
chevron-left
Next
#1050 Actors and Directors Who Cooperated At Least Three Times
chevron-right
Last updated
3 years ago