Skip to content

Commit ff5436e

Browse files
authored
Create replace.sql
1 parent e15d5e0 commit ff5436e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

sql-queries-4/replace.sql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
START TRANSACTION; -- Start transaction
2+
3+
/* Replace data */
4+
REPLACE
5+
INTO Department
6+
VALUES (5, 'Math', 'MA');
7+
8+
COMMIT; -- Commit transaction

0 commit comments

Comments
 (0)