You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
id is the primary key (column with unique values) for this table.
16
+
The sex column is ENUM (category) value of type ('m', 'f').
17
+
The table contains information about an employee.
18
+
19
+
20
+
Write a solution to swap all 'f' and 'm' values (i.e., change all 'f' values to 'm' and vice versa) with a single update statement and no intermediate temporary tables.
21
+
22
+
Note that you must write a single update statement, do not write any select statement for this problem.
0 commit comments