Skip to content

1303. Find the Team Size 👍

1
2
3
4
SELECT
  employee_id,
  COUNT(*) OVER(PARTITION BY team_id) AS team_size
FROM Employee;