
Overview of Relational DBMS
■
9
The course-id attribute of STU
2
relation is a foreign key of the relation STU
1
. After decompo-
sition, the above relations are also in BCNF, because the determinants sreg-no and course-id are
candidate keys.
Example 1.7
In this example, the Emp-proj relation of Example 1.5 is considered. This relation contains two
multi-valued dependencies as follows:
emp-id 䲕 project-no and
emp-id 䲕 hobby.
By defi nition of 4NF, the Emp-proj relation is not in 4NF because it contains non-trivial multi-
valued dependencies. To convert this relation into 4NF, it is decomposed into two relations PROJ1
and PROJ2 as illustrated in fi gure ...