📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

In a many-to-many mapping, which table’s primary key is referenced by the junction table?

A. Both entity tables, each by one of its foreign keys ✅
B. Only the junction table itself
C. Only the first table
D. Neither table, the junction table is independent

Correct Answer: A. Both entity tables, each by one of its foreign keys

Explanation

Each foreign key in the junction table references the primary key of one of the two entity tables.