Database 3
Database 3
Ghalib University
Computer Science Department
Zabihullah Rahmani
Example
Required Attributes
An attribute that must be present for each entity instance is called a required
attribute.
E.g. Reg_No, Name
Optional Attribute
An attribute that may not have a value for every entity instance.
E.g. Overtime_Houre, Email
Simple
A simple (or atomic) attribute is an attribute that cannot be broken down into
Single-Value Attributes
An Attribute that can take one and only one value for a given entity instance. e.g.
Reg_No, Roll_No
Multi-Value Attributes
An Attribute that may take more than one value for a given entity instance. e.g.
Phone_No, Skill.
Store Attributes
An attributes that value are store in database are called store attributes. E.g.
Derived Attributes
An attribute whose value can be calculated from related attribute values is called
No two instances of the entity type may have the same value for the identifier
attribute.
In the relational model, such identifiers are mapped to primary keys (PKs) in
tables. Identifiers are underlined in the ERD.
Choose an identifier such that for each instance of the entity, the attribute