PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: tourism industry

Relational Database Design - Database System Concepts

CHAPTER. 8. Relational Database Design Exercises Suppose that we decompose the schema R = (A, B, C, D, E) into (A, B, C). (A, D, E). Show that this decomposition is a lossless-join decomposition if the following set F of functional dependencies holds: A BC. CD E. B D. E A. Answer: A decomposition {R1 , R2 } is a lossless-join decomposition if R1 R2 R1 or R1 R2 R2 . Let R1 = (A, B, C), R2 =. (A, D, E), and R1 R2 = A. Since A is a candidate key (see Practice Exercise ), Therefore R1 R2 R1 . List all functional dependencies satisfied by the relation of Figure Answer: The nontrivial functional dependencies are: A B and C B, and a dependency they logically imply: AC B. There are 19 trivial functional dependencies of the form a b, where b a. C. does not functionally determine A because the first and third tuples have the same C but different A values. The same tuples also show B does not functionally determine A. Likewise, A does not functionally determine C because the first two tuples have the same A value and different C.

14 Chapter 8 Relational Database Design Answer: a. a should be a primary key for r 1, and a should be the foreign key from r 2, referencing r 1. b. If the foreign key constraint is not enforced, then a deletion of a tuple from r 1 would not have a corresponding deletion from …

Loading..

Tags:

  Database, Design, Relational, Relational database design

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Relational Database Design - Database System Concepts

Related search queries