Database Design for Mere Mortals™: A Hands-On Guide to Relational Database Design, Second Edition
by Michael J. Hernandez
Chapter 10
A relationship is important for the following reasons:
a. It establishes a connection between a pair of tables that are logically related to each other.
b. It helps to refine table structures and minimize redundant data further.
c. It is the mechanism that enables you to draw data from multiple tables simultaneously.
The three types of relationships are one-to-one, one-to-many, and many-to-many.
The many-to-many relationship will pose the most problems.
You could possibly encounter problems such as these with a many-to-many relationship:
a. It will be tedious and somewhat difficult for you to retrieve information from one of the tables.
b. One of the tables will contain a large amount of redundant data.
c. Duplicate data will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access