Yurttas/PL/DBL/oracle/F/01/Company-A/q06.sql

From ZCubes Wiki
Revision as of 22:54, 4 November 2013 by MassBot1 (talk | contribs) (Created page with "<syntaxhighlight lang="sql" line start="1" enclose="div"> REM REM q06.sql REM REM Retrieve the names of employees who do not work REM on any project. REM SELECT fname, minit,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1REM
 2REM q06.sql
 3REM
 4REM Retrieve the names of employees who do not work
 5REM on any project.
 6REM
 7
 8SELECT fname, minit, lname
 9FROM Employee
10WHERE ssn NOT IN (SELECT essn
11                  FROM WorksOn
12                  WHERE essn = ssn);