Extended Normalization With 5NF Summary
Extended Normalization With 5NF Summary
| Student | Subject |
|---------|----------------|
| Ali | Math, Science |
| Student | Subject |
|---------|-----------|
| Ali | Math |
| Ali | Science |
| StudentID | Grade |
|-----------|-------|
|1 |A |
|1 |B |
Third Normal Form (3NF)
3NF requires no transitive dependencies. Non-key attributes should not depend on other
non-key attributes.
A relation is in 3NF if it is in 2NF and there are no transitive dependencies.
Example:
| EmployeeID | Title |
|------------|----------|
|1 | Manager |
|2 | Clerk |
| Title | Salary |
|----------|--------|
| Manager | 5000 |
| Clerk | 2500 |
| Course | Instructor |
|---------|------------|
| Math | Dr. Smith |
| Science | Dr. John |
| Course | Instructor |
|---------|------------|
| Math | Dr. Smith |
| Science | Dr. John |
Fourth Normal Form (4NF)
A relation is in Fourth Normal Form (4NF) if it has no multi-valued dependencies (MVDs). A
multi-valued dependency occurs when two attributes are independent of each other but
both depend on the same entity.
Example:
| Employee | Project |
|----------|---------|
| Smith | X |
| Smith | Y |
| Employee | Department |
|----------|------------|
| Smith | Sales |
| Smith | Marketing |
Domain Constraints: EmpID must be a 4-digit number, EmpEmail must follow a valid email
format.
NOT 5NF: Course, Instructor, Semester → Data. Decompose into smaller relations:
| Course | Instructor |
|--------|------------|
| Math | Dr. Smith |
| Science| Dr. John |
| Instructor | Semester |
|------------|-----------|
| Dr. Smith | Fall 2025 |
| Dr. John | Fall 2025 |