30.12.2014 Views

Chapter10(pdf) - KFUPM Open Courseware

Chapter10(pdf) - KFUPM Open Courseware

Chapter10(pdf) - KFUPM Open Courseware

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Definitions of Keys and Attributes<br />

Participating in Keys (2)<br />

• If a relation schema has more than one key, each<br />

is called a candidate key.<br />

• One of the candidate keys is arbitrarily designated<br />

to be the primary key, and the others are called<br />

secondary keys.<br />

• A Prime attribute must be a member of some<br />

candidate key<br />

• A Nonprime attribute t is not a prime attribute—<br />

t<br />

that is, it is not a member of any candidate key.<br />

Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Slide 10- 25

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

Saved successfully!

Ooh no, something went wrong!