Database Relationships
In the database world the lines that connect the different entities (tables) together are called relationships; these are the relationships that occur in real life between entities as part of a process. Relationships in the database are very important because can play a significant role in the areas as follows:
- Data quality
- Non repeating groups
- business rules enforcement
- Communication on how the business works (or better said how it has been implemented) to IT staff and business users with some modeling skills.
Every RDBMS out there supports four types of relationships. They are as follows:
- One-to-One relationships.
- One-to-Many relationships.
- Many-to-Many relationships.
- Self referencing relationships (aka recursive relationships)
Relationships can be between 1 or more tables. Here is some nomenclature:
| Number of tables in relationship | Tecnical term | Friendly term |
|---|---|---|
| 1 | Unary | Recursive relationship |
| 2 | Binary | Two table relationship |
| 3 | Ternary | Three table relationship |
| 4 or more | N-ary | Four or more tables relationship |




Having read this I thought it was rather enlightening.
I appreciate you finding the time and energy to put this article together.
I once again find myself personally spending way too much time both reading and
posting comments. But so what, it was still worthwhile!