Database Management Systems (dbms)


Attributes that are not divisible are called simple or atomic attribute


Download 0.72 Mb.
bet7/12
Sana28.12.2022
Hajmi0.72 Mb.
#1022645
1   2   3   4   5   6   7   8   9   ...   12
Bog'liq
Zamonaviy MBBT

Attributes that are not divisible are called simple or atomic attribute.

Eg: Emp_No

  • Composite attribute
  • Can be divided in a smaller part which represent more basic attributes with independent meaning of their own.

    Eg: Name (First Name, Mid Name, Last Name)

    Type of attributes

    • Multi-valued attribute
    • In some case an attribute can have a set of values for the same entity such attributes are called multi-valued attributes.

      Eg. Degree of a person , Qualification

    • Derived attribute
      • An attribute whose value can be calculated from related attribute values
      • Eg: Age (Using Date of Birth) .

        Years Employed (Using Employed Date) .

    Relationship

    • Relationship
    • A meaningful association between entities.

      Eg:

      Student follows courses

      Employee works for department

    Relationship

    • Degree of a Relationship
    • The degree of the relationship type is no. of participating entity types .

      • Unary Relationship
        • Relationship between the instances of a single entity type.
        • E.g.: person is married to a person (1:1)

          Employee manages Employees (1:M)

      • Binary Relationship
        • Relationship between the instances of two entity types.
        • Degree = 2;


    Student
    Courses
    follows
    Manages
    Employee

    Relationship

    • Degree of a Relationship
      • Ternary Relationship
      • A simultaneous relationship among the instances of three entity type.


    Supplier
    Project
    supplies
    Part
    Degree = 3 ,Ternary Relationship

    Download 0.72 Mb.

    Do'stlaringiz bilan baham:
    1   2   3   4   5   6   7   8   9   ...   12




    Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
    ma'muriyatiga murojaat qiling