Docsity

study review for exam 2, Exercises of Advanced Data Analysis

Toggle sidebar
bg1
Exam 2 reviews
Recursive Relationship Mapping
o An entity has a relationship with itself.
Create a foreign key in the same table that references its own
primary key.
• EX: Employee (SupervisorID → EmployeeID).
Used to represent hierarchy or reporting structure.
Normalization Overview
o Process to remove redundancy and avoid anomalies.
1NF: Eliminate repeating groups, ensure atomic values.
2NF: Remove partial dependency (non-key depends on part of
composite key).
3NF: Remove transitive dependency (non-key depends on another
non-key).
• Goal: Improve data integrity and consistency.

Partial preview of the text

Download study review for exam 2 and more Exercises Advanced Data Analysis in PDF only on Docsity!

Exam 2 reviews Recursive Relationship Mapping o An entity has a relationship with itself.  Create a foreign key in the same table that references its own primary key.

  • EX: Employee (SupervisorID → EmployeeID).  Used to represent hierarchy or reporting structure. Normalization Overview o Process to remove redundancy and avoid anomalies.  1NF: Eliminate repeating groups, ensure atomic values.  2NF: Remove partial dependency (non-key depends on part of composite key).  3NF: Remove transitive dependency (non-key depends on another non-key).
  • Goal: Improve data integrity and consistency.