📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is an orphan row in a database?

A. A row with a NULL primary key
B. A parent row with no children
C. A child row whose foreign key refers to a parent row that does not exist ✅
D. A row with duplicate values

Correct Answer: C. A child row whose foreign key refers to a parent row that does not exist

Explanation

Orphan rows break referential integrity because their parent reference points nowhere.