Skip to content

Commit 7f65166

Browse files
authored
Improved task 627.
1 parent 64a1b2b commit 7f65166

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/g0601_0700/s0627_swap_salary

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Write your MySQL query statement below
22
# #Easy #Database #SQL_I_Day_2_Select_and_Order #2022_03_21_Time_191_ms_(96.89%)_Space_0B_(100.00%)
3-
UPDATE Salary SET sex = CASE WHEN sex = 'm' THEN 'f' ELSE 'm' END;
3+
UPDATE Salary SET sex = CASE WHEN sex = 'm' THEN 'f' ELSE 'm' END WHERE TRUE;

0 commit comments

Comments
 (0)