Map this BANK ER diagram into relational database tables. Specify all tables, attributes, primary keys and foreign keys.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Show steps clearly

### Mapping the BANK ER Diagram into Relational Database Tables

**BANK_ENTITY_RELATIONSHIP_DIAGRAM**

**1. BANK**
- **Attributes**: Code (Primary Key), Name, Addr
- **Description**: Represents the bank entity with its unique identification code, name, and address.

**2. BRANCHES**
- **Attributes**: Code (Foreign Key from BANK), Branch_no (Primary Key), Addr
- **Description**: Denotes the branches of the bank, each with a unique branch number and an address linked to a bank code.

**3. ACCOUNT**
- **Attributes**: Acct_no (Primary Key), Balance, Type, Branch_no (Foreign Key from BRANCHES)
- **Description**: Represents bank accounts with a unique account number, balance, type of account, and is linked to a specific branch.

**4. LOAN**
- **Attributes**: Loan_no (Primary Key), Amount, Type, Branch_no (Foreign Key from BRANCHES)
- **Description**: Represents loans issued by the bank, each with a unique loan number, amount, and type. Loans are linked to a specific branch.

**5. CUSTOMER**
- **Attributes**: Ssn (Primary Key), Name, Phone, Addr
- **Description**: Represents customers of the bank with their unique social security number, their name, phone number, and address.

**6. A_C (Account-Customer Relationship)**
- **Attributes**: Acct_no (Foreign Key from ACCOUNT), Ssn (Foreign Key from CUSTOMER)
- **Description**: Indicates the many-to-many relationship between accounts and customers, meaning one customer can have multiple accounts and one account can be owned by multiple customers.

**7. L_C (Loan-Customer Relationship)**
- **Attributes**: Loan_no (Foreign Key from LOAN), Ssn (Foreign Key from CUSTOMER)
- **Description**: Specifies the many-to-many relationship between loans and customers, indicating that one customer can have multiple loans and a single loan can have multiple customers.

#### Entity-Relationship Diagram Description:
- The ER diagram captures different entities such as BANK, BRANCHES, ACCOUNT, LOAN, and CUSTOMER along with their attributes.
- It indicates how entities are connected through relationships such as BRANCHES (1:N) BANK_BRANCH, ACCTS (1:N) ACCOUNT, LOANS (1:N) LOAN, and their respective foreign key links.
- Many
Transcribed Image Text:### Mapping the BANK ER Diagram into Relational Database Tables **BANK_ENTITY_RELATIONSHIP_DIAGRAM** **1. BANK** - **Attributes**: Code (Primary Key), Name, Addr - **Description**: Represents the bank entity with its unique identification code, name, and address. **2. BRANCHES** - **Attributes**: Code (Foreign Key from BANK), Branch_no (Primary Key), Addr - **Description**: Denotes the branches of the bank, each with a unique branch number and an address linked to a bank code. **3. ACCOUNT** - **Attributes**: Acct_no (Primary Key), Balance, Type, Branch_no (Foreign Key from BRANCHES) - **Description**: Represents bank accounts with a unique account number, balance, type of account, and is linked to a specific branch. **4. LOAN** - **Attributes**: Loan_no (Primary Key), Amount, Type, Branch_no (Foreign Key from BRANCHES) - **Description**: Represents loans issued by the bank, each with a unique loan number, amount, and type. Loans are linked to a specific branch. **5. CUSTOMER** - **Attributes**: Ssn (Primary Key), Name, Phone, Addr - **Description**: Represents customers of the bank with their unique social security number, their name, phone number, and address. **6. A_C (Account-Customer Relationship)** - **Attributes**: Acct_no (Foreign Key from ACCOUNT), Ssn (Foreign Key from CUSTOMER) - **Description**: Indicates the many-to-many relationship between accounts and customers, meaning one customer can have multiple accounts and one account can be owned by multiple customers. **7. L_C (Loan-Customer Relationship)** - **Attributes**: Loan_no (Foreign Key from LOAN), Ssn (Foreign Key from CUSTOMER) - **Description**: Specifies the many-to-many relationship between loans and customers, indicating that one customer can have multiple loans and a single loan can have multiple customers. #### Entity-Relationship Diagram Description: - The ER diagram captures different entities such as BANK, BRANCHES, ACCOUNT, LOAN, and CUSTOMER along with their attributes. - It indicates how entities are connected through relationships such as BRANCHES (1:N) BANK_BRANCH, ACCTS (1:N) ACCOUNT, LOANS (1:N) LOAN, and their respective foreign key links. - Many
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education