Yurttas/PL/DBL/mssql/F/01/Bank/q011.sql

From ZCubes Wiki
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
17SELECT &1
18FROM Borrower
19WHERE branchname LIKE '&2%';