📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

If a parent Department row is deleted and all its Employee rows are deleted automatically, which action was defined?

A. ON DELETE CASCADE ✅
B. ON DELETE RESTRICT
C. ON DELETE SET NULL
D. ON DELETE SET DEFAULT

Correct Answer: A. ON DELETE CASCADE

Explanation

CASCADE propagates the delete from parent to child rows, preserving referential integrity.