Yurttas/PL/DBL/oracle/F/01/Bank/u06.sql

From ZCubes Wiki
Revision as of 22:51, 4 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div"> REM REM u06.sql REM REM Accounts with balances over $10,000 receive 6 percent interest, REM while all others receive ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1REM
 2REM u06.sql
 3REM
 4REM Accounts with balances over $10,000 receive 6 percent interest,
 5REM while all others receive 5 percent.
 6REM
 7
 8UPDATE Depositor
 9SET balance = balance*1.06
10WHERE balance>10000;
11
12UPDATE Depositor
13SET balance = balance*1.05
14WHERE balance<=10000;