Yurttas/PL/DBL/mysql-f-2010/01/Bank/q011.sql

From ZCubes Wiki
Revision as of 01:42, 4 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">/* REM q011.sql REM REM Find customer by any(&1) attribute from REM any branch('&2') who has a loan. REM REM &1(attrib...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1/*
 2REM q011.sql
 3REM
 4REM Find customer by any(&1) attribute from
 5REM any branch('&2') who has a loan.
 6REM
 7REM &1(attribute) and '&2'(value) are interactive values.
 8REM
 9*/
10
11/*
12
13    this won't work.
14
15*/
16
17\. set-db.sql
18
19SELECT &1
20FROM Borrower
21WHERE branchname LIKE '&2%';