Functional Dependency
Functional Dependency
A B C A B B C
α 1 A α 1 1 A
β 2 B β 2 2 B
r ∏A,B(r) ∏B,C(r)
A B C
∏A (r) ∏B (r)
α 1 A
β 2 B
1 4
1 5
3 7
F+=F
repeat
for each functional dependency f in F+
apply reflexivity and augmentation rules on f
add the resulting functional dependencies to F +
for each pair of functional dependencies f1and f2 in F +
if f1 and f2 can be combined using transitivity
then add the resulting functional dependency to F +
until F + does not change any further
result := α;
while (changes to result) do
for each β → γ in F do
begin
if β ⊆ result then result := result ∪ γ
end