📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A foreign key can reference which of the following?

A. A primary key or a unique key in the referenced table ✅
B. A column in the same row only
C. Any non-unique column
D. A column with duplicate values

Correct Answer: A. A primary key or a unique key in the referenced table

Explanation

The referenced column must uniquely identify a parent row, so it must be a primary key or a unique key.