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

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.

Student Smith Smith Jones Jones Subject Math Physics Math Teacher White Green White Brown PhysiCS

Step by Step Solution

3.44 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a fd1 A given student has only one teacher per subject that student may have the same teacher for an... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

887-CS-DB (2191).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!