0% found this document useful (0 votes)
18 views6 pages

Based On The Given E

Uploaded by

einsteinriyad223
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views6 pages

Based On The Given E

Uploaded by

einsteinriyad223
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

LAB TASK -2

DBMS

Submitted to
Name : Sumon Saha
Lecturer,BDU

SUBMITTED BY
Md. Al -Riad

5th batch | ID- 2201042


i. Based on the given E-R diagram, design and implement the necessary tables with
appropriate columns and data types to represent the entities and relationships.

Soluion : The necessary tables with appropriate columns and data types also which

This is the Schema of bank management system.


For Appropriate Table Implementation :
ii. Set the primary keys for each table. With set Appropriate value for each table :

Solution : In Bank table we use code is a primary key.

In Branch table we use branch id is primary key.

Bank & Branch Table has relationship. This Relationship Known as many to many
relationship:
Branch and Account have one to many relationship .Primary key is Account_no.

Branch and Laon table have one to many relationship .Primary key is Loan_id.

This is Customer Table. Primary key is cust id .

Customer Table and Loan table have a relationship. We known as the relationship is many to
many relationship.
Customer table and Account table have also same relationship.

You might also like