Analyse the following scenario given below and construct an EER-Diagram by including participation constraints and disjoint/overlapping constraints.
a. Construct an ER/EER Model.
b. Represent the total and partial participations used in your EER Model, with the entity constraints and connectors.
c. Transform your ER/EER model into an equivalent Relational Schema. Clearly mention the primary and foreign keys.
Scenario: In the Oman Arab Bank, different types of accounts are available for the depositors. Each account is identified by accountID and other details are accountType and account advisor. All the types of accounts are broadly classified into two; they are personal accounts and joint accounts. Personal accounts are not used as joint accounts. The FirmID is recorded in the joint accounts; while date of opening and minimum balance is recorded in the personal accounts. There are different types in joint accounts; some of them are corporate accounts and some are family accounts. Corporate accounts cannot be used as family accounts. Corporate accounts can be recorded with corporate name and family accounts with family name. There are different types in personal accounts some of them are saving accounts and some are overdraft accounts. Sometimes saving accounts can accommodate overdraft accounts. The overdraft accounts are recorded with overdraftAmt while the saving account can be identified by SavAccountNo and other details are Branch, Balance and interest rate. Each saving account is held by only one depositor and each depositor can have either one or more than one saving account. Each depositor is identified by Depo_id and other details are depositor name, depositor address (which contains street, city and country) and phone number. Each depositor is advised by only one advisors and each advisor advises one or more depositors. Advisor can be identified by advisorID and other details are advisor name (which contains first name and last name) and phone number (some of the advisors are having more than one phone numbers). Each advisor has one and only one manager and under each manager there can be one or many advisors.