📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is the foreign key in a self-referencing relationship?

A. A foreign key with no primary key
B. A foreign key that references a different database
C. A foreign key in a table that references the primary key of the same table ✅
D. A foreign key that is always unique

Correct Answer: C. A foreign key in a table that references the primary key of the same table

Explanation

Self-referencing means the referencing and referenced tables are the same table.