What is a deadlock in a database?
Q1. What is a deadlock in a database?
Answer: A situation where two or more transactions are blocked, waiting for each other to release resources
Explanation: Deadlock occurs when two or more transactions are blocked, waiting for each other to release resources, resulting in a stalemate.