📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A many-to-many relationship, such as students and courses, is usually implemented by:

A. Storing all data in one table only
B. Using a single foreign key
C. Ignoring the relationship
D. Creating a junction (linking) table with foreign keys to both tables ✅

Correct Answer: D. Creating a junction (linking) table with foreign keys to both tables

Explanation

A linking table, such as Enrolment, holds one foreign key to each side.