Yurttas/PL/DBL/mysql/F/01/00/bank/Bank/q06.sql

From ZCubes Wiki
Revision as of 15:52, 3 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">/* REM REM q06.sql REM REM Find all customers of the Perryridge branch, i.e., find REM everyone who has an account, a ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 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\. set-db.sql
11
12(SELECT customername
13 FROM Depositor
14 WHERE branchname = 'Perryridge')
15UNION
16(SELECT customername
17 FROM Borrower
18 WHERE branchname = 'Perryridge');