Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/lsp4you/public_html/connect.php on line 2 LSP4YOU - Learner's Support Publications

Attributes and Domain

Attributes
  • An attribute is a property used to describe the specific feature of the entity.
  • So to describe an entity entirely, a set of attributes is used.
    eg:- A Student entity may be described by the Student’s name, age, address, course, etc.

Domain
  • The set of possible values that can be attached to the attribute of an entity type is called the domain of the attribute.
  • An attribute cannot contain a value outside this domain.
    eg:- for PERSON entity PERSON_ID has a specific domain, integer values say from 1 to 100.