Following queries:
branch (branch_name, branch_city, assets)
customer (ID, customer_name, customer_street, customer_city)
loan (loan_number, branch_name, amount)
borrower (ID, loan_number)
account (account_number, branch_name, balance)
depositor (ID, account_number, date)
a) Find the name of each branch located in "Makurdi".
b) Find the ID of each borrower who has a loan in "Suleja".
c) Find the name of all customers who have taken a loan and the loan amount they have taken.
d) Write the Data Definition Language (DDL) command to create the loan table.
e) Write the SQL command to update all account balances by 1% and any other dummy value as necessary to answer this question correctly.
f) Write the equivalent Relational Algebra Expression for Question a.
g) Write the equivalent Relational Algebra Expression for Question b.
h) Is the ER-diagram below violating any of the rules of normalization? Justify your answer by explaining how there is no violation or identify the rule it is violating and how it can be resolved.
ACCOUNT (account_number, balance, date_opened, bank_location)
BANK (bank_number, name)