All records from table A, corresponding records from table B

betheball

Registered User.
Local time
Today, 12:51
Joined
Feb 5, 2003
Messages
107
Table A is an employee table. Table B is an attendance table that shows that reflects hours worked by employee on a given day. However, if an employee doesn't work on a given day, there is no record for that employee in the attendance table on that day. Herein lies the problem. I want a query that for a given day shows the hours worked for each employee. I get all employees that worked at least one hour, but I need it to return even those who didn't work with a null value for the hours worked.
 

Users who are viewing this thread

Back
Top Bottom