Super Solution with MYSQL
Group by emp_id,event_day\n\nselect event_day as day, emp_id,sum(out_time-in_time) as total_time\nfrom employees\ngroup by event_day, emp_id\n\n# please upvote 
# Group by emp_id,event_day\n```\nselect event_day as day, emp_id,sum(out_time-in_time) as total_time\nfrom employees\ngroup by event_day, emp_id\n```\n# please upvote me it would encourage me alot\n
['MySQL']