SQL - Transactions and Data Integrity
Given auto-commit is OFF, what is the output after these commands?
Assuming products table was empty before.
INSERT INTO products (id, name) VALUES (1, 'Pen');
ROLLBACK;
SELECT COUNT(*) FROM products;Assuming products table was empty before.
