Domanda di colloquio di Ant International

How to resolve lock in sql, what method to use