본문 바로가기

IT/코딩테스트

[Leetcode] 1075. Project Employees I

728x90

https://leetcode.com/problems/project-employees-i/

SELECT project_id, ROUND(AVG(experience_years), 2) AS average_years
FROM Project
INNER JOIN Employee ON Project.employee_id = Employee.employee_id
GROUP BY project_id;
728x90