Yurttas/PL/DBL/postgres/F/01/Company-B/q060.sql

From ZCubes Wiki
Jump to navigation Jump to search
 1/*
 2REM
 3REM q060.sql
 4REM
 5REM Find all employees who do not work for 'First Bank Corporation'.
 6REM
 7REM [ Assume that all people work for exactly one company. ]
 8REM
 9*/
10
11SELECT current_schema();
12SET search_path to "companyb";
13
14SELECT employeename 
15FROM Works 
16WHERE companyname <> 'First Bank Corporation';