📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What problem arises if ON DELETE CASCADE is set on a self-referencing ManagerID?

A. Subordinates automatically become managers of the company
B. Deleting a senior manager can delete the whole reporting chain below them ✅
C. Deleting a manager has no effect on subordinates
D. The table becomes read-only

Correct Answer: B. Deleting a senior manager can delete the whole reporting chain below them

Explanation

CASCADE follows the recursive links down the hierarchy, so one delete can remove many levels of subordinates.