Skip to content
Hard/Scenario reasoning

Double Withdrawal

Two clerks read the same account balance of 100 at the same time and each withdraws 80. Both updates are accepted, leaving the account incorrectly negative. Which DBMS feature should have prevented this?

Commit to an answer

Choose one.

DB//COSMOS

A field manual for database systems: model the domain, normalize the facts, query the relations, and protect the result.

Edition 2026 · 32 chaptersTopic catalogInterview prep