In: Computer Science
Relational Modelling
For the relation:
R (A, B, C, D, E, F, G)
The following functional dependencies hold: F -> D
G -> B
C -> D
F -> C, E B -> F
A -> F, G
2.1 Use Inference rules to find the minimal b asis.
2.2 Determine the primary key of the relation.
2.3 Based on this key, determine if the relation R is in BCNF. Explain your answer in terms of the FDs and the key.
2.4 If the relation R is not in 3NF or BCNF, then decompose the relation to 3NF/BCNF.