📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A Book can have many Authors and an Author can write many Books. Where is the Author’s contribution, such as Editor or Co-author, stored?

A. In the Author table alone
B. In the Book table alone
C. In a separate database
D. In the BookAuthor junction table, because the role belongs to that book-author pair ✅

Correct Answer: D. In the BookAuthor junction table, because the role belongs to that book-author pair

Explanation

Role describes a specific author in a specific book, so it is an attribute of the relationship in the junction table.