Yurttas/PL/DBL/oracle/F/01/Bank/v01.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 v01.sql REM REM Consider a view consisting of branch names and the names of REM customers. REM CREATE VIEW A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1REM
 2REM v01.sql
 3REM
 4REM Consider a view consisting of branch names and the names of
 5REM customers.
 6REM
 7
 8CREATE VIEW AllCustomer
 9  AS (SELECT branchname, customername
10      FROM Depositor)
11     UNION
12     (SELECT branchname, customername
13      FROM Borrower);
14
15SELECT *
16FROM AllCustomer;