我想看看这些示例是否在 BCNF 中,以了解我是否正确执行这些操作。关系:
Employee (EID, Ename, PID, ProjectName, MID, ManagerName)
功能依赖:
EID==>(Ename, PID)
PID==>(ProjectName, EID, MID)
MID==>(ManagerName, PID)
BCNF 关系:
Employees(EID,Ename, PID)
Project(PID, ProjectName)
Managers(MID, ManagerName, PID)
第二个例子
关系:
Pet (PID, Pname, Type, Breed, DOB, OwnerID, OwnerName, OwnerPhone,
OwnerEmail, ServiceType, Date, Charge)
功能依赖:
PID==>(Pname, Type, Breed, DOB, OwnerID)
OwnerID==>(OwnerName, OwnerPhone, OwnerEmail, PID)
ServiceType==>(Charge)
BCNF 关系:
Pet(PID,Pname,Type,Breed,DOB)
Owner(OwnerID, OwnerName, OwnerPhone, OwnerEmail, PID)
Service(ServiceType, PID, Date, Charge)
我在正确的轨道上吗?