You are here

BCNF Example 2

19 January, 2016 - 14:28

Client Interview Table

media/image5.png

Fd1 – ClientNo, InterviewDate –> interviewTime, staffNo, roomNo (PK)
Fd2 – staffNo, InterviewDate, InterviewTime –> ClientNO (CK)
Fd3 – roomNo, InterviewDate, InterviewTime –> StaffNo, clientNo (CK)
Fd4 – staffNo, interviewDate –> roomNo
A relation is in BCNF if and only if every determinant is a candidate key. We need to create a table that incorporates the first 3 Fds and another table for the 4thFd.

Interview

media/image6.png

StaffRoom

media/image7.png
Figure 12.2 Source: http://db.grussell.org/section008.html