We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 346e730 commit 702c284Copy full SHA for 702c284
1 file changed
MySQL/swap-salary.sql
@@ -0,0 +1,4 @@
1
+# Time: O(n)
2
+# Space: O(1)
3
+
4
+UPDATE salary SET sex = IF(sex = 'm', 'f', 'm')
0 commit comments