I can get FirstIn - LastOut out of Day shift using min and max but I cannot do for Night Shift attendance.
SELECT bio_id, bioname, DATE(attendanc