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

Revision as of 00:43, 5 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div">/* REM REM q060.sql REM REM Find all employees who do not work for 'First Bank Corporation'. REM REM [ Assume that all...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 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';