You are on page 1of 2

CH-2 DATA MODELS

1. A model is an abstraction process that hides superfluous details while highlighting details
pertinent to the applications at hand. A data model is a mechanism that provides this
abstraction for database.
2. Association that exist among the attributes of an entity is called an attribute association.
3. There are different kinds of association between attributes:-
1. one to one- In case of 1:1 association there is a unique association between different
attributes.
For eg : A company which maintains record of their employees containing details such as
Employee_Name, Social_Security_Number, Employee_Id, Position_Held, Salary. The
association between Employee_Id and Social_Security_No is 1:1.

Employee_Id Social_Security_Number

Social_Security_Number Employee_Id

Social_Security_Number Employee_Id

The association from employee identification number to the Social Security Number is unique.
Similarly the association from the Social Security Number to the employee identification number is
unique. The association between these attribute is therefore one to one.
2. One to Many-There can be only one Employee_Name associated with a given
Social_Security_Number. But more than one Social_Security_Number

You might also like