DBDesign-7
DBDesign-7
(CSF 212)
Prof.R.Gururaj
BITS Pilani CS&IS Dept.
Hyderabad Campus
Relational Database Design
(Ch. 14 &15 of T1)
Content
10 Engg HYD
CHENNAI
20 Mark HYD
MUMBAI
Condition for 2NF: All non-key attributes are fully functionally dependent on
key (or) no non-key attribute should be dependent on part of key(partial
dependency).
i) X must be a superkey or
ii) A is key attribute
12 Database Systems Prof.R.Gururaj BITS Pilani, Hyderabad Campus
BCNF (Boyce Codd Normal Form)
It is a stricter form of 3NF
Condition
For each FD X →A
X must be a super key
R1
( r ) = projection of r on R1
(or)
if it is binary decomposition
{R1} → {R1, R2}
( )
+
R1 ( F ) R2 ( F ) ...., Rm ( F ) = F +
R1 ( f ) - is projection of F on R1.