Question: Consider the bank database of Figure 2.18. Give an expression in the relational algebra for each of the following queries: a. Find each loan number
Consider the bank database of Figure 2.18. Give an expression in the relational algebra for each of the following queries:
a. Find each loan number with a loan amount greater than $10000.
b. Find the ID of each depositor who has an account with a balance greater than $6000.
c. Find the ID of each depositor who has an account with a balance greater than $6000 at the “Uptown” branch.
Figure 2.18

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)
Step by Step Solution
3.37 Rating (163 Votes )
There are 3 Steps involved in it
a b c ... View full answer
Get step-by-step solutions from verified subject matter experts
