Purpose: list out department names which have NO employees
I have a query as follows:
for example
SELECT *
FROM departments
WHERE department_id NOT IN (SELECT Department_id FROM EMPLOYEES)
But the above query is not working... No records returned even i have some departments with the above condition
ij