Introduction
Auto-commit makes sure each change you make to the database is saved right away without needing extra steps.
When you want every change to be saved immediately after you run a command.
When you are running simple queries and don't need to group multiple changes together.
When you want to avoid losing data if your program stops unexpectedly.
When you are testing small changes and want to see results right away.
When you do not need to undo changes after running commands.