Question:
a) There are three concurrency problems, i.e. three types of potential mistake which could occur if concurrency control is not properly enforced in the database system. Briefly explain each of these concurrency problems.
(b) Locking can be used to solve the three concurrency problems, but it can also produce the problem of deadlock. What is deadlock? Briefly explain how the problem of deadlock can be handled.