Abstract

Modeling the many-to-many relationship in database design has been an important topic in traditional database textbooks for many years. Using these textbooks, database, instructors are able to teach students the correct approach, but it is difficult to explain the reasoning behind the algorithms and rules. This paper introduces a new way of teaching M:N relationships and their mapping from the entity-relationship model to the relational data model using multi-valued foreign keys. The aim is to provide a complementary approach to traditional ways of teaching the M:N relationship. We first describe a case scenario that we will use to describe our new approach. Secondly, we introduce a new way of mapping the M:N case to the relational model using multi-valued foreign key attributes. Finally we present some teaching techniques for enhancing students’ understanding of the M:N relationship.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.