You are on page 1of 3

EXPERIMENT NO.

Aim : To study the E-R model for banking enterprise

Theory : The ER data model was developed to facilitate the database design by allowing specification of an enterprise schema that represents the overall logical structure of the database. The ER model data model is one of the several data models. The semantic aspect of the model lies in its representation of the meaning of the data. The ER model is very useful many database design tools drawn on concepts from the ER model. The ER model employs 3 basic notations: entity set, relationship set and attributes.
Symbols Used in ER Notation 1.
Entity

Entity set: An entity is a set of entities of the same type that share the properties or attributes. Weak entity set: An entity set may not have sufficient attributes to form a primary key. Such an entity set is termed as weak entity set.

2.

Entity Name

3.

R Realtionship Set: A relationship is an association among several entities. A relationship set is a set of relationship of the same type.

4. R Identification relationship set for weak entity set : The relationship associating the weak entity set with the identifying entity set is called the identifying relationship.

5.
A

Primary key : The primary key is used to denote a candidate key that is chosen by the database designers as the principal means of identifying entities within an entity set. 6. R Many to many relationship

7.

One to One relationship

8. R

Role name Entity

Role Indicator

9.
ISA

Total Generalization 10.


A

Attribute

11.

Multi valued Attribute

12.
A

Derived Attribute 13.


A

Discriminating Attribute of weak entity set : The discrimination of weak entity set is a set of attributes that allows the distinction to be made. 14 R
Entity

Total Participation of entity set in relationship: The participation of an entity set E in a relationship set R is said to be total if every entity in E participates in at least one relationship in R.

Explanation of banking database : 1. Entities 1. Branch :a) Branch_name b) Branch_city c) Assets 2. Customer :a) social_security_no. b)cust_name c) cust_street d)cust_city 3. loan :a) loan_no b) amount 4. payment :- a) payment_no b) date c) amount 5.employee :- a) esocial_security_no b)dependent_name c) employee_name d)start_data e) name 6. account :a) account_no b) balance 7. saving account :- a) interest_rate 8. checking_account :-a) overdraft 2. Relationships 1. Borrower customer borrows loan. 2. cust_banker A relationship between customer and employee. 3. works_for A self relationship with employee. 4. depositor a relationship between customer and account. 5. loan_payment A relationship between loan and payment. 6. loan_branch A relationship between branch and loan 3. keys 1. primary keys a) branch_name for branch b) social_security_no for customer c) loan_no for loan d) esocial_security_no for employee e) account_no fo account Conclusion: We have studied ER- model

You might also like