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

From ZCubes Wiki
Jump to navigation Jump to search
 1/*
 2REM
 3REM q05.sql
 4REM
 5REM Find all those customers who have the same name as their
 6REM personal banker.
 7REM
 8*/
 9
10SELECT current_schema();
11SET search_path to "bank";
12
13SELECT customername
14FROM Client
15WHERE customername = bankername;