Skip to main content
Admissions guidance, study banks, and career tools — get started on Shalyam

Choose an Isolation Level

A report reads the same row twice in one transaction and must always see the same value, even if another transaction commits a change in between. Which isolation level is the minimum that guarantees this, and how do you set it?

Table schema

Accounts(id INT PRIMARY KEY, balance INT)

Sample data

Transaction A reads balance twice; transaction B updates the balance and commits between the two reads.

Discussion

No discussions yet.

Rewards · v2.1

Get Exclusive Insights with Every Issue

Join Shalyam Newsletter

Stay ahead in education, research, and innovation—straight to your inbox.