📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Can a foreign key reference a column that is neither a primary key nor a unique key?

A. No, it must reference a primary key or a unique key ✅
B. Yes, it can reference any column
C. Yes, but only in a weak entity
D. No, it must reference a foreign key

Correct Answer: A. No, it must reference a primary key or a unique key

Explanation

A foreign key must reference a primary key or a unique key so that each referenced value identifies exactly one parent row.