Transactions and ACID
Hands-on tutorial
01 / THE CONCEPT
Understand the idea
In this lesson, explore transactions and acid. Study the SQL example, run it in the lab when applicable, and consider how it relates to real database systems.
02 / SQL EXAMPLE
◉ example.sqlSQL
BEGIN; UPDATE students SET score=score+1 WHERE id=1; ROLLBACK;Try in SQL Lab ↗03 / KNOWLEDGE CHECK
Check your understanding
Which statement best describes transactions and acid?