📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

When a relationship has its own attributes, where are they stored after mapping?

A. In the parent table only
B. They are discarded
C. In a separate database
D. In the child table for a one-to-many link, or in the junction table for a many-to-many link ✅

Correct Answer: D. In the child table for a one-to-many link, or in the junction table for a many-to-many link

Explanation

Relationship attributes belong with the link, so they go in the child table for one-to-many or in the junction table for many-to-many.