SELECT E.EmployeeID,
Sum(DateDiff("hh",T.TimeIn,T.TimeOut)) AS Hours
FROM Employee E
INNER JOIN TimeTable T
ON E.EmployeeID = T.EmployeeID
WHERE T.SomeDateColumn Between 1/1/1990 And 1/1/2005
GROUP BY E.EmployeeID
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.