Yurttas/PL/DBL/mysql/F/01/00/bank/BankOne/q071.sql

From ZCubes Wiki
Jump to navigation Jump to search
 1/*
 2REM
 3REM q071.sql
 4REM
 5REM Find all customers of the 'Perryridge' branch who have
 6REM an account but not a loan.
 7REM
 8*/
 9
10/*
11
12   MINUS is not implemented this won't work.
13
14*/
15
16\. set-db.sql
17
18(SELECT customername
19 FROM Depositor
20 WHERE branchname = 'Perryridge')
21MINUS 
22(SELECT customername
23 FROM Borrower
24 WHERE branchname = 'Perryridge');