Leetcode Mysql 1075. 项目员工 I(DAY 15)
作者:互联网
文章目录
原题题目
代码实现(首刷自解)
# Write your MySQL query statement below
SELECT project_id,ROUND(SUM(experience_years) / COUNT(*),2) AS average_years
FROM project LEFT JOIN employee USING(employee_id)
GROUP BY project_id
标签:15,原题,1075,id,project,首刷,employee,years,Leetcode 来源: https://blog.csdn.net/qq_37500516/article/details/120820927