Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given the following relational database schema (primary keys are bold and underlined). Answer questions 4.1 to 4.2: branch( branch_id , branch_name, branch_city, assets) customer( customer_id

Given the following relational database schema (primary keys are bold and underlined). Answer questions 4.1 to 4.2:

branch(branch_id, branch_name, branch_city, assets)

customer(customer_id, customer_name, customer_street, customer_city, customer_st, customer_zip)

loan(loan_number, branch_id, amount)

borrower(customer_id, loan_number)

account(account_number, branch_id, balance)

depositor(customer_id, account_number)

4.1 (3 Points) For each of the following queries, write a relational algebra expression to answer the query:

a) Find the names of all customers who live in Plymouth and have the name Bronson.

b) Find the names and zip codes of all customers who have loans.

c) Find the names, cities of residence, and state for all depositors who have accounts with balance that is less than $5000

4.2 (2 point) For each of the following relational algebra expressions, explain the output of the expression in words:

branch_name (branch_city=Tampa( branch)

loan_number (branch_name=Orlando( branch loan)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions

Question

8. Explain design facilities for manufacturing?

Answered: 1 week ago

Question

=+(18.17) [ G(n)fn=F(x)G(x)-["F(t)8(t)dt ROEnEX

Answered: 1 week ago

Question

mple 10. Determine d dx S 0 t dt.

Answered: 1 week ago

Question

Does it highlight your accomplishments rather than your duties?

Answered: 1 week ago

Question

Does it clearly identify what you have done and accomplished?

Answered: 1 week ago

Question

Does it avoid using personal pronouns (such as I and me)?

Answered: 1 week ago