Greetings!
I have produced a query that shows only the names of employees who have not logged in. But, I want the query to also only give me the employees who have not logged in for the current date = Date().
How do I incorporate that into this query I have already produced :
SELECT *
FROM Emp_tbl AS e
WHERE NOT EXISTS
(select null from tblEmpLogin t where t.pf_id = e.pf_id);
The date field 'DTE' is in table tblLogInOut.
Thank you for your help!
I have produced a query that shows only the names of employees who have not logged in. But, I want the query to also only give me the employees who have not logged in for the current date = Date().
How do I incorporate that into this query I have already produced :
SELECT *
FROM Emp_tbl AS e
WHERE NOT EXISTS
(select null from tblEmpLogin t where t.pf_id = e.pf_id);
The date field 'DTE' is in table tblLogInOut.
Thank you for your help!