Which sequence correctly uses savepoints to achieve this?
hard📝 Application Q15 of 15
SQL - Transactions and Data Integrity
You have a transaction that inserts multiple rows into a table. You want to undo only the last two inserts if an error occurs, but keep the earlier inserts. Which sequence correctly uses savepoints to achieve this?