SQL - Transactions and Data Integrity
What is the result of this transaction sequence?
BEGIN TRANSACTION; INSERT INTO orders (id, amount) VALUES (1, 50); ROLLBACK; SELECT * FROM orders WHERE id = 1;
