There is 1 person name “Sony” with age 25. Admin A will get requirement to update his age from 25 to 21. He’ll fetch the details from DB & by this time he’ll not update, at the same he’ll get call & he’ll leave the place
Now other admin B will come he too wants to update Sony’s age from 25 to 30. So he’ll fetch the date from DB & updates it.
Now the admin A will come & updates Sony’s age from 25 to 21.
Now my questions are that
1. Can admin A update Sony’s age?
2. If yes is it the correct way?
3. If it is not correct way then how to avoid this?