Docsity

Entity relation model, Slides of Database Management Systems (DBMS)

Partial preview of the text

Download Entity relation model and more Slides Database Management Systems (DBMS) in PDF only on Docsity!

Entity Relation model

  • (^) Entity
  • (^) Attributes
    • (^) Simple attribute : atomic value.eg mobile no
    • (^) Composite attribute: set of value.eg name
    • (^) Derived attribute:derived from db.eg .average sal,age
    • (^) Single-value attribute:social_security_no
    • (^) Multi-value attribute :more than one value eg mobile no,email_id

Relationship

  • (^) The association among entities is called a relationship. eg works enrolls
  • (^) Relationship Set A set of relationships of similar type is called a relationship set. Like entities, a relationship too can have attributes. These attributes are called descriptive attributes.

Degree of Relationship

  • (^) The number of participating entities

in a relationship defines the degree

of the relationship.

  • (^) Binary = degree 2
  • (^) Ternary = degree 3
  • (^) n-ary = degree