- Associative Entities
An associative entity is an element of the
Entity-relationship model . The databaserelational model doesn't offer direct support to many-to-many relationships, even though such relationships happen frequently in normal usage. The solution to this problem is the creation of another table to hold the necessary information for this relationship. This new table is called an associative entity.An associative entity can be thought of as both an entity and a relationship since it encapsulates properties from both. It is a relationship since it is serving to join two or more entities together, but it is also an entity since it may have its own properties. The associative entity must have identifiers, Primary Keys, for both adjoining tables, but may also contain its own unique identifier and other information about the relationship.
The following guidelines may be used when considering the use of an associative entity:
* All relationships for the associative entity should be many.
* The associative entity could have meaning independent of the other entities.
* The associative entity preferably has a unique identifier, and should also have other attributes.
* The associative entity may participate in relationships other than the entities of the associated relationship.ee also
*
Many-to-many (data model)
*Junction table References
* Modern Database Management - 7th Edition - Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden
Wikimedia Foundation. 2010.