Professional Documents
Culture Documents
Normalization
Tanveer Khan
Department of Computer Sciences
Bahria University (Karachi Campus)
tanveer.zahid@bimcs.edu.pk
https://sites.google.com/site/tanveerkhanbukc
Normalization of Database
2
Ahmed 14 Maths
Sajid 17 Maths
must exist
Functional Dependencies
16
EmpNum EmpEmail
EmpNum EmpFname 3 different ways
EmpNum EmpLname you might see FDs
depicted
EmpEmail
EmpNum EmpFname
EmpLname
Functional Dependency
EmpNum EmpEmail
91.2914
Transitive dependency
18
EmpNum DeptNum
DeptNum DeptName
Waseem 15
Ahmed 14
Sajid 17
In Student Table, the Primary key will be Student column, because all
other column i.e Age is dependent on it.
26
Waseem Biology
Waseem Maths
Ahmed Maths
Sajid Maths
27
relationships:
A BCD
BC AD
DB
Above relationship is already in 3NF. Keys are A & BC
33
R1(A,D,C) R2(D,B)