Hey I am working on an example problem where I have to identify which of this relations given are in 3NF/BCNF.
These are the relations:
R1(A,B,C,D,E)
F=(CE->ABC, AB->C, C->A)
R2(C,D,E,G)
F=(CD->GE, E->D)
Now according to the answers R1 is in 3NF and R2 is in BCNF, Which in both cases I fail to see why.
How can R1 be in 3NF if the rules are either :
X -> A, then A is a subset of X
X is a superkey
A is a part of some key for R
and in R1 there is C->A = A is not a part of a key, C is not a superkey and A is clearly not a subset.
And for R2 the rules for BCNF are :
X → Y is a trivial functional dependency (Y ⊆ X)
X is a super key for schema R
and E->D = E is not a superkey nor D is a subset of E.
Are the answers wrong or am I missing something?
Thanks alot!