Question DB-TXN-0045
MediumT1 and T2 both read stock = 10, each subtracts 1 and writes 9. What problem is this?
- A.
Phantom read
- B.
Cascading rollback
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Transactions and ACID question
T1 and T2 both read stock = 10, each subtracts 1 and writes 9. What problem is this?
Phantom read
Cascading rollback
Sign up free to see the answer and a step-by-step explanation.
Lost update
Dirty read