Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 4 ( 4 Points ) : Given the following relational database schema ( primary keys are bold and underlined ) . Answer questions 4
Question Points:
Given the following relational database schema primary keys are bold and underlined Answer questions to :
branchbranchid branchname, branchcity, assets
customercustomerid customername, customerstreet, customercity, customerst customerzip
loanloannumber, branchid amount
borrowercustomerid loannumber
accountaccountnumber, branchid balance
depositorcustomerid accountnumber
Points For each of the following queries, write a relational algebra expression to answer the query:
a Find the branch name and branch city of all branches with assets more than $ Million
b Find the branchid and loan number of all branches whose loan amount is less than $
c Find the names, cities of residence, and state for all depositors who have accounts with balance that is less than $
point For each of the following relational algebra expressions, explain the output of the expression in words:
aPi branchname sigma branchcityTampa branch
bPi loannumber sigma branchnameOrlando branch loan
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started