Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT *, SEC_TO_TIME(SUM(TIME_TO_SEC(TIMEDIFF(duty_out, duty_in)))) AS time_difference FROM `timesheet` GROUP BY employee_id, date;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement