Ticker

6/recent/ticker-posts

Construct An ER Diagram For A Bank Database. Bank Maintains Data About Customers, Their Loans,  Their Deposits, Lockers. Determine The Entities And Relationships?

Here is an ER diagram for a bank database, including the entities and relationships:

The main entities in this ER diagram are:

  1. Customer: Stores information about the bank's customers, including their name, address, and contact information.

  2. Account: Stores information about the various types of accounts the bank offers, including checking, savings, and money market accounts.

  3. Loan: Stores information about the loans that the bank has granted, including the loan amount, interest rate, and payment schedule.

  4. Deposit: Stores information about the various deposits that the bank has received, including CDs, savings deposits, and money market deposits.

  5. Locker: Stores information about the lockers that the bank rents out to customers, including the locker number, location, and size.

The relationships between these entities are:

  1. Customer-Account: Represents the fact that a customer can have multiple accounts.

  2. Customer-Loan: Represents the fact that a customer can have multiple loans.

  3. Customer-Deposit: Represents the fact that a customer can have multiple deposits.

  4. Account-Loan: Represents the fact that an account can be used as collateral for a loan.

  5. Account-Deposit: Represents the fact that an account can earn interest on a deposit.

  6. Locker-Customer: Represents the fact that a customer can rent a locker.

  7. Locker-Deposit: Represents the fact that a customer can store valuables in a locker.

Note that this is just one possible design for a bank database, and there may be variations depending on the specific requirements of the bank.