Yurttas/PL/DBL/postgres/F/01/Company-A/q06.sql
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
10SELECT current_schema();
11SET search_path to "companya";
12
13SELECT fname, minit, lname
14FROM Employee
15WHERE ssn NOT IN (SELECT essn
16 FROM WorksOn
17 WHERE essn = ssn);