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 ce6c170 commit 2a79685Copy full SHA for 2a79685
sql-queries-11/lock-single-row-mysql/update-delete-insert.sql
@@ -1,15 +1,15 @@
1
START TRANSACTION;
2
UPDATE DEPARTMENT
3
-SET code='MATH'
4
-WHERE id=5;
+SET code = 'MATH'
+WHERE id = 5;
5
COMMIT;
6
7
INSERT
8
-INTO DEPARTMENT(id,name,code)
9
-VALUES(6,"Mathematics","MA");
+INTO DEPARTMENT(id, name, code)
+VALUES(6, "Mathematics", "MA");
10
11
12
DELETE
13
FROM DEPARTMENT
14
-WHERE id=6;
+WHERE id = 6;
15
0 commit comments