9 Ternary and Higher-Order ER Diagrams
9.1 INTRODUCTION
All relationships we have dealt with so far have been binary relationships. Although binary relationships seem natural to most of us, in reality it is sometimes necessary to connect three or more entities. If a relationship connects three entities, it is called a ternary or 3-ary relationship. If a relationship connects more than three entities (n entities), it is called an n-ary relationship, where n equals the number of entities participating in the relationship. The n-ary relationships (n ≥ 3) are also referred to as higher-order relationships.
In this chapter, we consider relationships to connect three or more entities. First, we look at ternary ...
Get Database Design Using Entity-Relationship Diagrams, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.