Consider the relation schema CLASS with attributes Student, Subject, and Teacher. The meaning of this relation is

Question:

Consider the relation schema CLASS with attributes Student, Subject, and Teacher. The meaning of this relation is that the specified student is taught the specified subject by the specified teacher. Assume that semantic rules, depicted by the following functional dependencies, exist:
{Student, Subject} †’ Teacher
Teacher †’ Subject
Subject --/--> Teacher
{Student, Teacher} †’ Subject
a. What do these rules mean in words? Are all these rules necessary? If not, explain which are not needed.
b. Is the following sample data consistent with these rules? Why or why not?
Consider the relation schema CLASS with attributes Student, Subject, and

c. What causes CLASS to contain a BCNF violation? What anomalies does it exhibit?
d. Decompose CLASS if necessary so that the resulting relational schema is in BCNF. Is your design attribute-preserving, dependency-preserving, and a lossless-join decomposition? Explain.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Data Modeling and Database Design

ISBN: 978-1285085258

2nd edition

Authors: Narayan S. Umanath, Richard W. Scammel

Question Posted: