Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write both relational algebra expression for each of the following queries. 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)

Write both relational algebra expression for each of the following queries.

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)

1. Find the names of branches with customers who have an account in the bank and who lives in "Harrison".

2. List all branches whose average account balances are more than $10,000.

3. Find all the customers of the bank who have an account but not a loan.

4. Find out the total sum of all loan amounts in the bank.

5. List the names of all branches that have assets greater than those of at least one branch located in "Brooklyn".

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 Management System MCQs Multiple Choice Questions And Answers

Authors: Arshad Iqbal

1st Edition

1073328554, 978-1073328550

More Books

Students also viewed these Databases questions

Question

Identify the four steps of the investment planning process.

Answered: 1 week ago