You are here

Primary key

19 October, 2015 - 15:50
  • A candidate key is selected by the designer to uniquely identify tuples in a table. It must not be null.
  • A key is chosen by the database designer to be used as an identifying mechanism for the whole entity set. This is referred to as the primary key. This key is indicated by underlining the attribute in the ER model.
  • For example Employee(EID, First Name, Last Name, SIN, Address, Phone, BirthDate, Salary, DepartmentID) -EID is the Primary key.