Give a tableT
containing two attributesA
andB
,A→B
, orA
functionally determinesB
if
- The attribute(
B
) is functionally dependent on attribute (A
) if each value in column (A
) determines one and only one value in column (B
); or
- Given two rows
r1
andr2
in a tableT
, ifr1(A)=r2(A)
thenr1(B)=r2(B)
.
Graphical representation of functional dependencey is given on the right: |
An Example
The previous single table designed is given on the right again: |
|
FDs are based on the intent of the database designers. From the table content, the table’s FDs are given on the right (note that this is unusual because it is reverse thinking), where ↛ means “does not functionally determine.” |
|
“When ambition ends, happiness begins.” ― Thomas Merton |