yeah, it's a Kronos labour management system.
that first part rocks, Sreejith you the man!
now comes the trick, here's my query:
SELECT ssMainData.dbo.ssTagHolders.EmployeeNumber, LEFT(dbo.ssAccessLog.DateTime, CHARINDEX(' ', dbo.ssAccessLog.DateTime,...