Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 ( α , γ ).
  1. What primary and foreign-key constraint do you expect to hold on the decomposed relations?
  2. 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.
  3. 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

Step: 1

Solution 1 should be a primary key for r1 and should be the foreign key from r2 refe... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant Navathe

7th Edition

0133970779, 978-0133970777

More Books

Students also viewed these Computer Engineering questions

Question

List the difficulties in implementing a data warehouse.

Answered: 1 week ago