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
{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?
.png)
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
a fd1 A given student has only one teacher per subject that student may have the same teacher for an... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
887-CS-DB (2191).docx
120 KBs Word File
