60 likes | 187 Views
This article explores the fundamentals of Entity Relationship Diagrams (ERDs) in the context of student enrollment in courses. It discusses how one student can enroll in multiple courses, and multiple students can be associated with a single course, emphasizing the need for a linking entity to resolve the many-to-many relationships. By understanding these concepts and implementing an ERD, educators and administrators can more effectively manage and visualize academic structures in educational institutions.
E N D
1 ∞ Entity Relationship Diagrams
S C T Entity Relationship Diagrams Students go on courses Tutors teach courses
S C T Entity Relationship Diagrams One student can be on one or more courses A course has one or more students Tutors teach one or more courses
Entity Relationship Diagrams Problem: We can’t have a many-to-many so we need to create a link entity
Entity Relationship Diagrams S C One student is enrolled on one or more courses A course can have one or more students enrolled on it T E