3262. Find Overlapping Shifts ¶ SQL 1 2 3 4 5 6 7 8 9 10 11SELECT Shift1.employee_id, COUNT(*) AS overlapping_shifts FROM EmployeeShifts AS Shift1 INNER JOIN EmployeeShifts AS Shift2 USING (employee_id) WHERE Shift1.start_time < Shift2.start_time AND Shift2.start_time < Shift1.end_time GROUP BY 1 ORDER BY 1;