Yurttas/PL/DBL/mssql/F/01/Bank/q06.sql
1/*
2REM
3REM q06.sql
4REM
5REM Find all customers of the Perryridge branch, i.e., find
6REM everyone who has an account, a loan, or both.
7REM
8*/
9
10(SELECT customername
11 FROM Depositor
12 WHERE branchname = 'Perryridge')
13UNION
14(SELECT customername
15 FROM Borrower
16 WHERE branchname = 'Perryridge');