Normalization Dbms Int 306
Normalization Dbms Int 306
Normalization
Ø Update Anomaly:
Ø Insert Anomaly:
Ø Delete Anomaly:
Means that deleting some data causes other information to be
lost.
Data Consistency:
Dependencies
• Functional dependency
• Full Functional dependency
• Partial dependency
• Transitive dependency
• Multi-valued dependency
• Functional dependency
Parts
Part_Name Cost A --> B "B is determined by A"
Hard Disk 2000
R
Floppy Disk 20 A B
A B A B C D E A) A--> BC
Mouse 150 a 1
a 1 a 2 3 4 5 B) DE --> C
Hard Disk 2000 b 2 C) C --> DE
a 2 2 a 3 4 5
Keyboard 400 c 3 D) BC --> A
c 3 a 2 3 6 5
Floppy Disk 20 d 4
d 4 a 2 3 6 6
(VALID)
(INVALID)
• Full Functional dependency
Student
RollNo Name Course_id Course_Title Grade
1 Raj CSE301 Database Concepts A
1 Raj CSE306 Computer Networks C
2 Pardeep CSE301 Database Concepts B
2 Pardeep CSE306 Computer Networks A
3 Arun CSE316 Software Engineering C
• Partial dependency
Example
Name attribute partial dependent on the RollNo, because RollNo
is a part of composite key (RollNo, Course_id)
• Transitive dependency
A -->B -->C
Department
• Multi-Valued dependency
A --> --> B
Person
Name Mobile_No
Sunil 1
Sunny 2
Name --> --> Mobile_No
Arun 3
Harish 4
Sunil 5
Harish 6 Downloaded by cutei manisha ([email protected])