Yurttas/PL/DBL/mysql-f-2010/01/Company-A/q06.sql
Revision as of 01:59, 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: \. set-db.sql ...")
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);