Introduction
COMMIT saves your changes to the database permanently. ROLLBACK undoes changes you made since the last save.
When you finish adding or changing data and want to keep it safe.
If you make a mistake and want to undo recent changes.
When you want to group several changes together and save them all at once.
During a bank transfer to make sure money is moved correctly or not at all.
When testing changes and you want to cancel them if something goes wrong.