A) You are asked to design a database for Banks. A bank will have one unique Code, Name andAddress. Banks will have multiple branches and each of those branches will be numbered (1,2..), first branch will be Number 1 for example and these will have an address of their own besides thebranch number. The Bank Branches will offer the option of creating accounts to customers, they willalso have the option of creating joint accounts. Customers will be able to open different accounts ineach of the bank branches. Account information will include the unique Account Number, TotalBalance and Account Type. The Bank Branches will also give Loans to Customers. Loans will haveunique Loan Number, Loan Amount and Loan Type. A customer can take multiple loans from acertain bank branch and banks can issue a number of different types of loans just like accounts. Thecustomer’s National_ID, Name, Phone and Address will be taken and stored. Using theseRequirements please construct an Entity-Relationship diagram. [Note- Use the notations andsymbols]
Hint: Do not forget to add the different constraints in the ER diagram, use common sense whererequired, for example one account cannot belong to multiple banks.
B) Construct a Relational Database Schema using the Entity Relationship Model Diagram that youcreated in the previous questions
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here