Lesson 3 Laboratory
Lesson 3 Laboratory
Notation is based on :
R. Elmasri and S.B. Navathe, “ Fundamentals of Database Systems,” Ed. 3., Addison Wesley, 2000, Chapters 3.4.
Elmasri and Navathe, Fundamentals of Database Systems, Fourth Edition
Copyright © 2004 Elmasri and Navathe.
SUMMARY OF ER-DIAGRAM
NOTATION
Symbol Meaning
ENTITY TYPE
RELATIONSHIP TYPE
ATTRIBUTE
KEY ATTRIBUTE
MULTIVALUED ATTRIBUTE
COMPOSITE ATTRIBUTE
DERIVED ATTRIBUTE
E1 R E2 TOTAL PARTICIPATION OF E2 IN R
car1
((ABC 123, TEXAS), TK629, Ford Mustang, convertible, 1989, (red, black))
car2
((ABC 123, NEW YORK), WP9872, Nissan Sentra, 2-door, 1992, (blue))
car3
((VSY 720, TEXAS), TD729, Chrysler LeBaron, 4-door, 1993, (white, blue))
.
.
.
e1
r1 d1
e2 r2
e3 d2
r3
e4
r4
e5 d3
r5
e6
e7 r6
r7
e1
r1 d1
e2 r2
e3 d2
r3
e4
r4
e5 d3
r5
e6
e7 r6
r7
r8
© The Benjamin/Cummings Publishing Company, Inc. 1994, Elmasri/Navathe, Fundamentals of Database Systems, Second Edition
s1
r1 j1
s2
r2
j2
r3
r4 j3
PART
r5
p1
p2 r6
p3 r7
© The Benjamin/Cummings Publishing Company, Inc. 1994, Elmasri/Navathe, Fundamentals of Database Systems, Second Edition