Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
a1
a1
a2
a2
b1
b2
b3
b4
c1
c1
c2
c2
Closure of a attribute(*):
closure of attributes contains all attributes
those are directly or indirectly driven by this
attribute(using above rules).
Example: for a relation R(A,B,C,D), functional
dependencies are: AB , BC , BCD.
Closure of A: By 1st rule a attribute derives
itself so its closure contain A(i.e {A}*={A}). Now
from AB, B can be directly derive from B. if
AB and BC then AC(2nd rule), C can be
derived from A . similarly if AB and AC then
ABC(4th rule) and if ABC and BCD then
AD, so D can be derived from A.
A* = {A,B,C,D}
Simlarly, B*={B,C,D} , C*={C} , D*={D}
Normalization
Normalization: To remove data
redundancy and anomalies we Normalize
table by decomposing into multiple tables.
Following normal forms are defined for
Normalization:
1st Normal Form:
a relation is said to be in 1st normal form if its
data is represented in tabular form or atomic
and there should not be duplicated row(whole
row should not be duplicated, at least value in
one same field of two rows must be different ).
partial (primenonnot
not
not partial(non-
Thank You