There are two tables - one consist of employee details, and the other contains the order details.
How can I find the name of employee who did not place any order on particular date?
I am using left outer join and my code is like this
SELECT
emp.FirstName+' '+emp.LastName AS 'FullName', emp.employeeid
FROM Employee emp
INNER JOIN Orders oON emp.EmployeeID=o.EmployeeID
WHERE
o.OrderDate NOT IN (SELECT o.OrderDate FROm Orders o WHERE o.OrderDate='4/4/1997')
GROUP BY
emp.FirstName+' '+emp.LastName, emp.employeeid
but the problem is that its take all the persons in the list.