Yurttas/PL/DBL/postgres/F/01/Bank/q08.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 q08.sql REM REM Find all clients of banker 'Johnson', as well as the cities REM in which these clients live...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 1/*
 2REM
 3REM q08.sql
 4REM
 5REM Find all clients of banker 'Johnson', as well as the cities
 6REM in which these clients live.
 7REM
 8*/
 9
10SELECT current_schema();
11SET search_path to "bank";
12
13SELECT Customer.customername, customercity
14FROM Client, Customer
15WHERE Client.customername = Customer.customername
16  AND bankername = 'Johnson';