





















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






















1
Lecture 2: Entity/Relationship modelling
www.cl.cam.ac.uk/Teaching/current/Databases/
Dr. Peter Chen http://bit.csc.lsu.edu/~chen/
Today
4
Employees
e e^12 e 3 e 4 e 5
d 1 d 2 d 3 d 4 d 5
r 1 r 2 r 3 r 4 … … …
Works_in
NI Name dob
Employees
DID dname budget
Departments
since
e.g.
Employees
Reports-to
NI
name (^) dob
supervisor subordinate
1:1 1:N
M:N
M:N
N:
1:
M N
N 1
1 1
Note: Sometimes this is written using different arrowheads
Manages
NI Name dob
Employees
DID dname budget
Department
since
1 N