Back In the print window choose "Save as PDF" as the destination
NOTE.CS

ER Diagram

1 topic · 28 Nov 2026
1

ER Diagram

Database

An Entity-Relationship diagram models the database before building tables: entities (things), attributes (properties) and relationships.

A student can take many courses and a course has many students (M:N)

A student can take many courses and a course has many students (M:N)

  • Cardinality: one-to-one (1:1), one-to-many (1:N), many-to-many (M:N).
  • Weak entity — cannot be identified by its own attributes (double rectangle), e.g. Dependent of an Employee.
  • Derived attribute (dashed ellipse), e.g. Age from DOB; multi-valued (double ellipse), e.g. Phone numbers.