Starting from this lesson, we will learn how to use transaction. First, we need to talk about ACID.

ACID represents the four basic characters of a transaction operation. It stands for atomicity, consistency, isolation and durability.

In the content of databases, a sequence of database operations that satisfies the ACID properties is called a transaction. So one transaction usually consists of several…