Question d’entretien chez Leoforce

Explain how deadlock happens in sql?