📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Can a foreign key contain duplicate values?

A. Only if it is a primary key
B. Only in a 1:1 relationship
C. Yes, many rows can reference the same parent row ✅
D. No, it must be unique

Correct Answer: C. Yes, many rows can reference the same parent row

Explanation

Duplicates are normal in a foreign key: many employees can belong to the same department.