b_book1.gif (162 bytes)Info engineering | Database
Selecting

Unique identifier - defined

KS-0

Definitions:

b_dfn.gif (837 bytes)Entity:
A person, place, object, event, or concept about which an organisation wishes to maintain data.
  For example
  Person (Employee, Student, Client), Place (Town, City, Country), Object (Part, building, vehicle), Event (sale, enrolment), Concept (course, account).
  • b_dfn.gif (837 bytes)Entity type (Table name):
    Is a collection of entities sharing common attributes. Eg. Employee, Sales. In MS-Access is the table name.
  • b_dfn.gif (837 bytes)Entity attributes (field names in a record):
    Named property of the entity of interest to the organisation. Commonly referred to as the Field names.
  • b_dfn.gif (837 bytes)Entity instance (record):
    The actual data stored in the entity (table), and is a single occurrence of the entity type.
    Eg. 123422, Ben Dover, 12 Hide St, TAURANGA. Commonly referred to as the  record.
  • b_ref.gif (1385 bytes)(1994) McFadden,F & Hoffer,J. pp126-.

Unique identifier

danorm2.gif (3831 bytes)
  • NAME Name of the entity (Supplier, Part)
  • PRIMARY-KEY unique identification key
    • key with single attribute called atomic key
      SupplierId in Supplier
    • key with mutiple attributes called compound key
      PartId + SupplierId in Part
  • FOREIGN-KEY* key of a related table
    • SupplierId in Part
  • ATTRIBUTE mandatory (must-have) attributes
  • OPTIONAL-ATTRIBUTE attribute that could have null or missing value

Ack: S. Corich EIT98: [Rev 16/05/99] 13/6/97 ©1997-99 V/2-Com (Verhaart), Box 8415, Havelock North, New Zealand.