Yurttas/PL/DBL/postgres/F/01/Bank/q08.sql
Jump to navigation
Jump to search
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';