31.07.2013 Views

Relational Model Introduction - E-Courses

Relational Model Introduction - E-Courses

Relational Model Introduction - E-Courses

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.

Keys for a Relation (1/2)<br />

• Key: A set of attributes K, whose values uniquely identify a<br />

tuple in any instance. And none of the proper subsets<br />

of K has this property<br />

Example: {rollNumber} is a key for student relation.<br />

{rollNumber, name} – values can uniquely identify a tuple<br />

• but the set is not minimal<br />

• not a Key<br />

• A key can not be determined from any particular instance data<br />

it is an intrinsic property of a scheme<br />

it can only be determined from the meaning of attributes<br />

Prof P Sreenivasa Kumar<br />

Department of CS&E, IITM<br />

4

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

Saved successfully!

Ooh no, something went wrong!