SQL - Transactions and Data Integrity
Find the mistake in this SQL transaction to avoid deadlocks:
BEGIN TRANSACTION;
LOCK Table B;
LOCK Table A;
COMMIT;
BEGIN TRANSACTION;
LOCK Table B;
LOCK Table A;
COMMIT;
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions