Pregunta de entrevista de HomeServe

How would you resolve database lock ?