Problem
1. Explain why it is important for the changes made by each of these transactions to be atomic.
2. Describe a scenario in which an update of QuantityOnHand could be lost.
3. Describe a scenario for a nonrepeatable read and a scenario for a phantom read.
4. Explain how locking could be used to prevent the lost update in your answer to part B.
The response should include a reference list. Double-space, using Times New Roman 12 pnt font, one-inch margins, and APA style of writing and citations.