I am trying to figure out the canonical cover for F of the table below and decompose it to BCNF. - Attribute of book
Book ID Title ISBN Publish Date Publisher ID Publisher Name Book score Author ID Author Name
Each book got single score and one author of course.
These are the given functional dependencies:
Book ID - > Title, ISBN, Publish Date, Publisher ID, Publisher Name<br />
Book ID - > Author ID, Author Name, Book Score<br />
Publisher ID- > Publisher Name<br />
Author ID - > Author Name<br />
To find the canonical cove for F, I know that the right hand size has to be single RHS, and no extraneous on LFS.
So I have this:
BookID- > Title <br />
BookID- > ISDN<br />
BookID- > Publish Date<br />
BookID- > Publish ID<br />
BookID- > Publisher Name<br />
BookID- > Author ID<br />
BookID- > Author Name<br />
BookID- > Book Score<br />
Publisher ID- > Publisher Name<br />
Author ID - > Author Name<br />
Then, I am stuck and have no idea how to move on...
To decompose it into BCNF, every determinant is a candidate key, and I believe BookID
, Publisher ID
and Author ID
are ALL candidates for a key.
And I have no idea how to continue afterwards...