Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 513 Bytes

File metadata and controls

29 lines (19 loc) · 513 Bytes

English Version

题目描述

None

解法

SQL

SELECT p.project_id,
         round(avg(e.experience_years),
        2) AS average_years
FROM Project p
JOIN Employee e
    ON p.employee_id = e.employee_id
GROUP BY  p.project_id