📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which of the following is the best test that a many-to-many mapping is correct?

A. One course can have only one student
B. A junction table has no primary key
C. One student can have only one course
D. One student can have many courses, one course can have many students, and the same pair cannot be entered twice ✅

Correct Answer: D. One student can have many courses, one course can have many students, and the same pair cannot be entered twice

Explanation

The test checks both directions of many and the uniqueness of each pair, which are the defining properties of M:N mapping.