AI engineering glossary · SQL databases

What is transaction?

Transaction: A group of database operations treated as one indivisible unit: either all changes take effect together, or none do. It protects against partial updates caused by errors, crashes or concurrent users.

Level: beginnerTopic: SQL databases

Transaction: an example

A UPI-style transfer subtracts ₹500 from one account and adds it to another inside one transaction, so money is never lost halfway.

Related terms

More SQL databases terms

Where you learn it

Transaction is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.