EASY 3-line MySQL query
Code\n\nSELECT event_day AS day, emp_id, SUM(out_time - in_time) AS total_time\nFROM Employees\nGROUP BY emp_id, event_day\n
# Code\n```\nSELECT event_day AS day, emp_id, SUM(out_time - in_time) AS total_time\nFROM Employees\nGROUP BY emp_id, event_day\n```
['MySQL']