You are on page 1of 3

CHAPTER 3

Part05

Data Modeling Using the


Entity-Relationship (ER) Model

Copyright © 2016 Ramez Elmasr and Shamkant B. Navathei Slide 3- 1


Relationships of Higher Degree
◼ Relationship types of degree 2 are called binary
◼ Relationship types of degree 3 are called ternary
and of degree n are called n-ary
◼ In general, an n-ary relationship is not equivalent
to n binary relationships

Copyright © 2016 Ramez Elmasr and Shamkant B. Navathei Slide 3- 2


Example of a ternary relationship

Fig (a)
◼ (s1,p1,j1)
◼ (s2,p2,j1)
◼ (s1,p2,j2)

Fig (b)
◼ (s1,p1)
◼ (s1,p2)
◼ (s2,p2)
◼ (p1,j1)
◼ (p2,j1)
◼ (p2,j2)
◼ (s1,j1)
◼ (s2,j1)
◼ (s1,j2)
Copyright © 2016 Ramez Elmasr and Shamkant B. Navathei Slide 3- 3

You might also like