Question: Module 1 Assignment 2 - Relational Model Overview This assignment is based on the following bank database. branch ( branch _ name, branch _ city,
Module Assignment Relational Model
Overview
This assignment is based on the following bank database.
branch branchname, branchcity, assets
customer ID customername, customerstreet, customercity
loan loannumber, branchname, amount
borrow ID loannumber
account accountnumber, branchname, balance
despitor ID accountnumber
Instructions
To complete this assignment, answer these questions:
points Consider the bank database. Give an expression in the relational algebra for each of the following queries:
Find the name of each branch located in "Chicago".
Find the ID of each borrower who has a loan in branch "Downtown".
points Consider the bank database. Assume that branch names and customer names uniquely identify branches and customers, but loans and accounts can be associated with more than one customer.
What are the appropriate primary keys for each relation?
Given your choice of primary keys, identify appropriate foreign keys for each relation if there is one In your answer, list which attribute is a foreign key referencing which relation.
points Consider the bank database. Give an expression in the relational algebra for each of the following queries:
Find each loan number with a loan amount greater than $
Find the ID of each depositor who has an account with a balance greater than $
Find the ID of each depositor who has an account with a balance greater than $ at the Uptown branch.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
