Professional Documents
Culture Documents
Student Student_ID
Person Social_Insurance_number
Phone IMEI
One to many relationship
• In a one-to-many relationship, one record in a table can be
associated with one or more records in another table.
Customer Orders
Patient Hospital_visits
Customer Orders
Many to many relationship
• A many-to-many relationship occurs when multiple records in
a table are associated with multiple records in another table.
Books Authors
Books Authors
Book_Author
Data Redundancy
• Unnecessarily storing same data at different places
• Islands of information: Scattered data locations
– Increases the probability of having different versions of
the same data
• Proper use of foreign keys minimizes data
redundancies
Data Redundancy Implications
• Poor data security
• Data inconsistency
• Increased likelihood of data-entry errors when
complex entries are made in different files
• Data anomaly: Develops when not all of the required
changes in the redundant data are made successfully
Types of Data Anomaly
Update Anomalies
Insertion Anomalies
Deletion Anomalies