📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which of the following violates entity integrity?

A. Inserting a child row for a missing parent
B. Inserting a row with a NULL primary key ✅
C. Inserting a value outside the allowed range
D. Inserting a duplicate foreign key value

Correct Answer: B. Inserting a row with a NULL primary key

Explanation

A NULL primary key means the row has no identifier, directly violating entity integrity.