I have 2 tables: Employees, attendanceIn
When I query using LEFT JOIN
SELECT employees.eno,employees.name,employees.dept,attendanceIn.attIn FROM `employees`
LEFT JOIN attendanceIn ON employees.eno = attendanceIn.eno
WHERE date(attIn) like '2016-07-02%'
What I got is,
- Whats wrong with my Query?
- How do I get my Expected result?