First thing first,
1. There is no need for Name field in the employeestatus table as it rightfully belongs to employee table, this concerns
http://www.studytonight.com/dbms/database-normalization.php[
^]
2. Avoid using 'date' as field name as this is a reserved word in sql and it should be of the appropriate date type not string,
https://msdn.microsoft.com/en-us/library/bb630352.aspx[
^]
3. Use
NOT EXISTS[
^] to get the result, e.g.
select * from employee e where NOT exists
(
select * from employeestatus es where e.emp_id=es.emp_id AND
function_date = '10-05-2015'
)