Pergunta de entrevista da empresa FPT Software

What is a deadlock in a database?