29.12.2014 Views

Chapter 6 Normalization

Chapter 6 Normalization

Chapter 6 Normalization

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A couple of points<br />

1. A BCNF can have more than one candidate<br />

keys. For example, R = (ABCD, F), where<br />

F = {AB → CD, AC → BD}, has two keys, AB<br />

and AC. R is still in BCNF, since the determinant<br />

of both FDs are superkeys, although they<br />

are different.<br />

2. Redundancy arises when the values of some<br />

attribute(s) X necessarily implies the values of<br />

other attribute(s) A, because of a FD X → A.<br />

For example, since SSN → Name, the information<br />

on Name is redundant in the following<br />

structure.<br />

SSN Name Address Hobby<br />

1111 John Doe 123 Main St. Stamps<br />

1111 John Doe 123 Main St. Coins<br />

2222 Mary Doe 7 Lake Dr. Acting<br />

28

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!