Yurttas/PL/DBL/mssql/F/01/Company-A/q06.sql
Revision as of 04:29, 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: SELECT fname, m...")
1/*
2REM
3REM q06.sql
4REM
5REM Retrieve the names of employees who do not work
6REM on any project.
7REM
8*/
9
10SELECT fname, minit, lname
11FROM Employee
12WHERE ssn NOT IN (SELECT essn
13 FROM WorksOn
14 WHERE essn = ssn);