What is the purpose of 'ROLLBACK' in a database transaction?
Q1. What is the purpose of 'ROLLBACK' in a database transaction?
Answer: To undo changes made during a transaction
Explanation: The 'ROLLBACK' statement undoes changes made during a transaction, restoring the database to its previous state.