Академический Документы
Профессиональный Документы
Культура Документы
Baker College
9/7/2019
CIS2210
Assignment 2
7. What is normalization?
evaluating and correcting table structures , minimize data redundancies Reduces data anomalie.
12. Given the dependency diagram shown in Figure Q12.6, answer items 12a-12c:
FIGURE Q12.6 Dependency Diagram for Question 12
C1 C2 C3 C4 C5
b. Create a database whose tables are at least in 2NF, showing the dependency diagrams for each
table.
Rule 1-Bc in 1NF (Each table cell should contain a single value.
Rule 2-Bc in 2NF (Rule 2 – Single Column Primary Key).
c. Create a database whose tables are at least in 3NF, showing the dependency
diagrams for each table.
Rule 1-Bc in 1NF (Each table cell should contain a single value).
Rule 2-Bc in 2NF (Rule 2-Single Column Primary Key).
Rule 3- has no transitive functional dependencies.
Professor(ProfesssorID), ProfessorName)
STUDENT(StudentID, StudentName, ProfessorID)
This is in 2Normal form but not in 3Normal form because we can see ProfessorID in Student
table is transitive functional dependency because ProfesorName is decomposed.
Professor((ProfessorID, ProfessorName)
STUDENT(StudentID, StudentName)
Std_Prof(StudentID, ProfessorID)