SQL - Transactions and Data Integrity
Given this sequence:
Which rows will be in
BEGIN; SAVEPOINT sp1; INSERT INTO products VALUES (10, 'Table'); SAVEPOINT sp2; INSERT INTO products VALUES (20, 'Chair'); ROLLBACK TO sp1; COMMIT;
Which rows will be in
products after commit?