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

From ZCubes Wiki
Revision as of 00:37, 5 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">/* REM REM o01.sql REM REM List in alphabetical order, all customers having a loan at the REM `Perryridge' branch. REM...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1/*
 2REM
 3REM o01.sql
 4REM
 5REM List in alphabetical order, all customers having a loan at the
 6REM `Perryridge' branch.
 7REM
 8*/
 9
10SELECT current_schema();
11SET search_path to "bank";
12
13SELECT DISTINCT customername
14FROM Borrower
15WHERE branchname = 'Perryridge'
16ORDER BY customername;