Yurttas/PL/DBL/mysql/F/01/00/bank/Bank/q100.sql
Jump to navigation
Jump to search
1/*
2REM
3REM q100.sql
4REM
5REM Find all customers with both loan and an account
6REM at the 'Perryridge' branch.
7REM
8*/
9
10\. set-db.sql
11
12SELECT customername
13FROM Depositor
14WHERE branchname = 'Perryridge'
15 AND customername IN (SELECT customername
16 FROM Borrower
17 WHERE branchname = 'Perryridge');