Yurttas/PL/DBL/postgres/F/01/Bank/q04.sql

Revision as of 00:38, 5 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">/* REM REM q04.sql REM REM Suppose we want a relation showing customers and the branches REM from which they borrow, b...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 1/*
 2REM
 3REM q04.sql
 4REM
 5REM Suppose we want a relation showing customers and the branches
 6REM from which they borrow, but do not care about the amount of
 7REM the loan, or the loan number.
 8REM
 9*/
10
11SELECT current_schema();
12SET search_path to "bank";
13
14SELECT branchname, customername
15FROM Borrower;