Very easy to understand query in MYSQL
\nselect event_day as day, emp_id, (sum(out_time ) - sum(in_time)) as total_time from Employees group by event_day, emp_id order by event_day ASC\n
```\nselect event_day as day, emp_id, (sum(out_time ) - sum(in_time)) as total_time from Employees group by event_day, emp_id order by event_day ASC\n```
['MySQL']