You are on page 1of 7

Name :- Harsh Suvagiya

Roll no :- 49
Topic :- Type of attribute
Attribute :-
The attribute is used to describe the property of an entity .

Type of Attribute :-

1. Simple attribute
2. Composite attribute
3. Key attribute
4. Multivalued attribute
5. Derived attribute
Simple Attribute :-
• An attribute that can note be further subdivided into
components is a simple attribute.

Ex. :-

The roll number of a student , the id number of on employee.

Roll no
Composite attribute :-
• An attribute that can be split into components is a
composite attribute.
• The composite attribute is represented by on ellipse and
these ellipse are connected with an ellipse.

First name

Name Middle name

Last name
Key Attribute :-
• The key attribute is used to represent the main characteristics of
an entity.
• It represent a primary key.
• The key attribute is represented by an ellipse with the next
underlined.

Student.id
Multivalued Attribute :-
• An attribute can have more than one value . these attribute are know as a multivalued
attribute.
• The key attribute ellipse is used to represent multivalued attribute.

Ex. :-

A student can have more than one phone number.

Phone no
Derived Attribute :-
• An attribute that can be derived from other attribute is know as a derived
Attribute .
• It can be represented by a dashed ellipse.

Ex : -

A person’s age changes over time and can be derived from another attribute
like date of birth.

age

You might also like