First page Back Continue Last page Image

BCNF – Boyce-Codd Normalized Form (3.5)

BldgID

TaskID

VendorID

1034

04

86 - Carpenter

1034

05

42 - Plumbing

1035

04

86 - Carpenter

1035

05

42 - Plumbing

1036

04

86 - Carpenter

1036

05

42 - Plumbing

Task Table

Superkey - that in all relations assigned to that variable, there are no two distinct tuples (rows) that have the same values for the attributes in this set

Candidate Key - A candidate key is a column, or set of columns, in a table that can uniquely identify any database record without referring to any other data

In this example I can derive the TaskID (Part of the Key) from the VendorID (Not a Key) Hence it is not BCNF