29.12.2014 Views

Chapter 6 Normalization

Chapter 6 Normalization

Chapter 6 Normalization

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

There are some natural relationships between<br />

the attributes. For example, it seems that every<br />

S# lives in exactly one city. Thus, {S# } →<br />

{CITY}.<br />

Moreover, this instance of SCP also satisfies<br />

several other FDs:<br />

1. {S#,P# } → {QTY}<br />

2. {S#,P# } → {CITY}<br />

3. {S#,P# } → {CITY, QTY}<br />

4. {S#,P# } → {S#}<br />

5. {S#,P# } → {S#,P#,CITY,QTY}<br />

6. {S# } → {QTY}<br />

7. {QTY } → {S#}<br />

The left- and right-hand sides of an FD are<br />

sometimes called the determinant and the dependent,<br />

respectively. When such a set consists<br />

of just one attribute, we often drop the<br />

set braces. E.g., S# → CITY.<br />

14

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

Saved successfully!

Ooh no, something went wrong!