Example: Let us consider a relation TEACHING which has three attributes: Student, Course, and instructor. TEACHING (Student, Course, Instructor). In this relation, Student determines the course which determines the instructor. Also instructor determines the course which he has to handle. If an instructor is having a command in a particular subject, naturally he would like to handle the subject or course. The relation TEACHING can be transformed into BCNF by splitting the relation into two relations R1 and R2. R1(Instructor, Course) and R2 (Instructor, Student). By splitting the relation TEACHING into two relations R1 and R2 we have transformed the relation TEACHING into BCNF because for the relation to be in BCNF all nonprime attributes must be fully dependent on every key. In the relation R1, the nonprime attribute course is fully dependent on the key attribute Instructor.
0 Comments
Please add nice comments or answer ....