Given These Schemas:
Account: bname, acct_no, balance
Depositor: cname, acct_no
Customer: cname, street, city <-(all customers / both loan and account customers)
Loan: loan_no, amount, b_name
Borrower: cname, loan_no
Branch: bname, b_city, assetsQuestion: Find branches whose customers include all customers that live in Tulsa
My professor gave this solution:
Π cname, bname(account ⋈ depositor) / Πcname(σcity == ‘Tulsa’ (customers))
I don't think the part Π cname, bname(account ⋈ depositor) is correct because that ONLY includes the cname and bname of customers with accounts and does not include ALL customers (leaves out those with loans). The question does not specifically say "Find branches whose customers with accounts include all customers that live in Tulsa".
What am I missing?