✅✅ Faster than 97.11% of MySQL online submissions || EASY || SIMPLE
Simple MySQL solution\n\nselect event_day as day,emp_id, sum(out_time - in_time) as total_time from employees group by event_day, emp_id;\n
Simple MySQL solution\n```\nselect event_day as day,emp_id, sum(out_time - in_time) as total_time from employees group by event_day, emp_id;\n```
['MySQL']