2.15 Consider the bank database of Figure 2.18. Give an expression in the relational algebra for each of the following queries: branch(branch_name, branch_city, assets) customer (ID, customer name, customer_street, customer_city) loan (loan_number, branch_name, amount) borrower (ID, loan_number) account (account_number, branch_name, balance) depositor (ID, account_number) Figure 2.18 Bank database. A. Find each loan number with a loan amount greater than $10000. B. Find the ID of each depositor who has an account with a balance greater than $6000. C. Find the ID of each depositor who has an account with a balance greater than $6000 at the "Uptown" branch.

Database Systems: Design, Implementation, & Management
11th Edition
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter10: Transaction Management And Concurrency Control
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

Please solve and show all steps.

2.15 Consider the bank database of Figure 2.18. Give an expression in the relational algebra for
each of the following queries:
branch(branch_name, branch_city, assets)
customer (ID, customer name, customer_street, customer_city)
loan (loan_number, branch_name, amount)
borrower (ID, loan_number)
account (account_number, branch_name, balance)
depositor (ID, account_number)
Figure 2.18 Bank database.
A. Find each loan number with a loan amount greater than $10000.
B. Find the ID of each depositor who has an account with a balance greater than $6000.
C. Find the ID of each depositor who has an account with a balance greater than $6000 at the
"Uptown" branch.
Transcribed Image Text:2.15 Consider the bank database of Figure 2.18. Give an expression in the relational algebra for each of the following queries: branch(branch_name, branch_city, assets) customer (ID, customer name, customer_street, customer_city) loan (loan_number, branch_name, amount) borrower (ID, loan_number) account (account_number, branch_name, balance) depositor (ID, account_number) Figure 2.18 Bank database. A. Find each loan number with a loan amount greater than $10000. B. Find the ID of each depositor who has an account with a balance greater than $6000. C. Find the ID of each depositor who has an account with a balance greater than $6000 at the "Uptown" branch.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning