How To Read a Relational Data Model

Many types of information are shown in the data model diagrams:

Key to Tables and Attributes

back to top

Key to Relationships

A dashed line between tables indicates a non-identifying relationship. This means that each table has its own unique identifier (primary key) and does not inherit it from the other table. Instead, the primary key of one table becomes a foreign key in the other.

In the example above SYNONYM_GLOBAL is an intersection table between ELEMENT_GLOBAL and SCIENTIFIC_NAME. It is necessary to "resolve" the many-to-many relationship between these tables for synonyms (that is, an element may have many synonyms, and the same synonym may apply to more than one element.

A solid line indicates an identifying relationship. This means that two tables share the same primary key. One type of identifying relationship is between a main table and its subtypes, as in the example shown below:

These subtypes means that every item in the HIGHER_CLASS_UNIT table must be either a TAXON or a COMMUNITY, but can't be both

back to top

Related Topics:

of