Question: In the BCNF decomposition algorithm, suppose you use a functional dependency to decompose a relation schema r ( , ,
- In the BCNF decomposition algorithm, suppose you use a functional dependency α → β to decompose a relation schema r ( α , β , γ ) into r1 (α , β ) and r2 ( α , γ ).
- What primary and foreign-key constraint do you expect to hold on the decomposed relations?
- Give an example of an inconsistency that can arise due to an erroneous update, if the foreign-key constraint were not enforced on the decomposed relations above.
- When a relation is decomposed into 3NF, what primary and foreign key dependencies would you expect will hold on the decomposed schema?
Step by Step Solution
3.49 Rating (149 Votes )
There are 3 Steps involved in it
Solution 1 should be a primary key for r1 and should be the foreign key from r2 refe... View full answer
Get step-by-step solutions from verified subject matter experts
