The problem is :Find the employee last names for employees who do not work on any projects.
My solution is:
SELECT E.Lname
FROM EMPLOYEE E
WHERE E.Ssn NOT IN (SELECT *
FROM EMPLOYEE E,WORKS_ON W
WHERE E.Ssn = W.Essn);
This should subtract the ssns from employee from the essns from works_on, However I keep getting the error "Operand should contain 1 column". What does this mean and how can I correct this code?