https://leetcode.com/problems/find-total-time-spent-by-each-employee/
Find Total Time Spent by Each Employee - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
leetcode.com
select event_day as day, emp_id, sum(out_time-in_time) as total_time
from Employees
group by emp_id, event_day728x90
반응형
'자료구조 알고리즘 > 코딩테스트' 카테고리의 다른 글
| 198. House Robber (0) | 2022.06.11 |
|---|---|
| 61. Rotate List (0) | 2022.06.09 |
| 607. Sales Person (0) | 2022.06.03 |
| 197. Rising Temperature (0) | 2022.06.03 |
| 1148. Article Views I (0) | 2022.06.03 |