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

From ZCubes Wiki
Revision as of 16:16, 3 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: \. set-db.sql ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
 1/*
 2REM
 3REM q06.sql
 4REM
 5REM Retrieve the names of employees who do not work
 6REM on any project.
 7REM
 8*/
 9
10\. set-db.sql
11
12SELECT fname, minit, lname
13FROM Employee
14WHERE ssn NOT IN (SELECT essn
15                  FROM WorksOn
16                  WHERE essn = ssn);