📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

How is a recursive 1:N relationship converted to relational tables?

A. By creating a separate table always
B. By merging the entity with another
C. By dropping the relationship
D. By adding a foreign key in the same table referencing its own primary key ✅

Correct Answer: D. By adding a foreign key in the same table referencing its own primary key

Explanation

A self-referencing foreign key, such as SupervisorID in Employee referencing EmployeeID, implements a recursive 1:N relationship.