📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is a self-referencing relationship?

A. A relationship between two different tables
B. A relationship with no foreign key
C. A relationship where rows in a table relate to other rows in the same table ✅
D. A relationship between a table and itself in a view only

Correct Answer: C. A relationship where rows in a table relate to other rows in the same table

Explanation

In a self-referencing relationship a table has a foreign key that points to its own primary key, for example an employee's manager.