SQL - Transactions and Data Integrity
What is wrong with this transaction?
BEGIN TRANSACTION;
UPDATE employees SET salary = salary + 1000;
ROLLBACK;
COMMIT;
BEGIN TRANSACTION;
UPDATE employees SET salary = salary + 1000;
ROLLBACK;
COMMIT;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions