






























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!































































(pseudotransitivity)
The above rules can be inferred from Armstrongโs
axioms.
Is (AG) a candidate key?
Functional dependency (FD) means that if there is only one possible value of Y for every value of X, then Y is Functionally dependent on X.
Is the following FDs hold?
X โโโโโ> Y
X Y Z 10 B1 C 10 B2 C 11 B4 C 12 B3 C 13 B1 C 14 B3 C
X โโโโโ> Y
Z โโโโโ> Y
Y โโโโโ> Z Y โโโโโ> X
Give a relation R , Assume the following FD hold:
Note : Both Ename and Address attributes are non-key attributes in R , and since Address depends on a non-Prime attribute Name, which depends on the primary key(EmpNo), a transitive dependency exists
EmpNo EName Salary Address
EmpNo โ โโโ> Ename , Ename โโโโ> Addresst , EmpNo โโโโ> Address
Ename โโโโ > Address
EmpNo EName Salary Ename^ Address
R1 R
Note : If address is a prime attribute Then R is in 3NF
Patron Name
Patron Address
Book ID
Book Title
Book Author
Borrow Date
Due Date
Return Date
Smith Jones Hart Hicks Rice Jones
12 Elk 25 Sun 73 Sera 22 Main 69 Witt 25 Sun
AAA BBB CCC AAA DDD CCC
Peace War System Peace Spring System
Bart Hine Vang Bart Lyon Vang
2/ 2/ 2/ 2/ 2/ 1/
2/ 2/ 2/ 2/ 2/ 2/
2/ 2/ 2/ 2/ 2/ 2/
A Table That Is In 3NF But Not In BCNF
Figure 5.
The Decomposition of a Table Structure to Meet BCNF Requirements
Figure 5.8 Docsity.com