Question: Question 2 ( 6 points ) Describe ( use good table layout format / style like those used in the lecture slides, i . e
Question points
Describe use good table layout formatstyle like those used in the lecture slides, ie Word table format at least tables with some attributes that might
be used to store information in a Car Dealership system.
Question points
Consider the database schema below:
Notes: We use a simplified schema where we assume customer names are unique. Just in this schema.
branchbranch name, branch city, assets
customer customer name, customer street, customer city
loan loannumber, branch name, amount
borrower customer name, loannumber
account accountnumber, branchname balance
depositor customer name, accountanumber
a What are the appropriate primary keys? points
b Given your choice of primary keys, identify appropriate foreign keys. points
Question points
Using the database above, give an expression in the relational algebra for each of the following queries:
a Find all loan numbers with a loan value greater than $
b Find the names of all depositors who have an account with a value greater than $
c Find the names of all depositors who have an account with a value 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
