📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What happens to a one-to-one child row if its parent row is deleted with ON DELETE CASCADE?

A. The child row remains with a null key
B. The child row is deleted as well ✅
C. The delete is blocked
D. The child becomes the parent

Correct Answer: B. The child row is deleted as well

Explanation

CASCADE removes the dependent child row together with its parent, so no orphan child remains.