Question: Database Schema: branch ( branch _ name, branch _ city, assets ) customer ( cust _ ID , customer _ name, customer _ street, customer
Database Schema:
branch branchname, branchcity, assets
customer custID customername, customerstreet, customercity
loan loannumber, branchname, amount
borrower custID loannumber
account accountnumber, branchname, balance
depositor custID accountnumber
Write a query to retrieve a list of branchnames for every branch that has at least one customer living in 'Harrison' that has a deposit account with them. Branch names should not be duplicated.
Your solution must include a subquery and a JOIN.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
