Question
Question One Consider the bank database. [0.5+0.5+1=2 Marks] branch(branch name, branch city, assets) customer (customer name, customer street, customer city) loan (loan number, branch name,
Question One
Consider the bank database. [0.5+0.5+1=2 Marks]
branch(branch name, branch city, assets)
customer (customer name, customer street, customer city)
loan (loan number, branch name, amount)
borrower (customer name, loan number)
account (account number, branch name, balance)
depositor (customer name, account number)
Give an expression in the relational algebra for each of the following queries:
a. Find all loan numbers with a loan value greater than $50,000. b. Find the names of all depositors who have an account with a value greater than $9,000.
c. Find the names of all depositors who have an account with a value greater than $8,000 at the Uptown branch.
Question Two
Explain the distinctions among the terms primary key, candidate key, and super key.
''''please don't copy'''
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