Summary

In this chapter, we've examined the relationships between entities in detail. We've looked at each type of binary relationship—one-to-one, one-to-many, and many-to-many—and seen how to represent them in the data model by establishing a primary relation and including its candidate key in the other relationship participant, the foreign relation. In addition, we've examined the special cases of unary and ternary relationships and seen how they can also be represented in the data model.

You've now seen all the basic components of a data model: the entities, their attributes, and the relationships between them. In Chapter 4, we'll turn to data integrity and the mechanisms available to you to maintain the consistency of the database.



Designing Relational Database Systems
Designing Relational Database Systems (Dv-Mps Designing)
ISBN: 073560634X
EAN: 2147483647
Year: 1999
Pages: 124

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net