Database Normalization and Indexing Principles
1. Functional Dependency (FD)
A functional dependency A → B means: if you know the value of attribute A, you can always determine the value of attribute B. In other words, no two rows can have the same A value but different B values.
Example: In a table Student(StudentID, Name, Email): StudentID → Name, Email (Given a StudentID, the Name and Email are always uniquely determined.)
2. Boyce-Codd Normal Form (BCNF)
A relation is in BCNF if, for every functional dependency X → Y, X is a superkey.
- Compliance: Every determinant in the table is a candidate key—no changes needed.
- Evaluation: Whenever there is a non-trivial FD X → Y where X is not a superkey. This means some attribute depends on only part of a key, or on a non-key attribute—causing
English with a size of 3.08 KB