I have 2 tables First is Employee and Second is Attendance
Employee Table :-
Attendance Table :-
there is only 3 Employee's attendance entered in Attendance Table on AttDate = '2017-09-05'.
i use this query to join these table :-
select EmpName,Attendance from Employee Left join Attendance on Employee.EmpId = Attendance.refId where AttDate ='2017-09-05'
and it's show this output :-
but i need this output ( employees whose attendance did not enter in Attendance Table will also Show with Null attendance ) :-
what should i change in the query to get this output ?