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.
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
Related questions
Question
Please solve and show all steps.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
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…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
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…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning