I have to tables, a clock in table and clock out table, they both do the same: store the time where the user clock in or clock out.
I have a query that displays and add the times to show me how many hours they all worked but when they clock out for lunch and then clock back in the query register 3 times, from the 1st punch in time to lunch then from lunch to last the clock out time and then from the 1st clock in to the last.
I would like the query to get it right only add the hours that each employee worked.