What is a transaction?
Model answer
A group of statements that succeed or fail as one unit. BEGIN starts, COMMIT saves, and ROLLBACK undoes. A classic example is moving money: subtract from one account and add to another, and either both happen or neither does.
Learn this topic
Indexes and Faster Queries: EXPLAIN for Beginners in the course SQL for Beginners: Learn Databases Step by Step.
Sign in to add your own answer.