LEFT JOIN between the Project and Employee tables on the employee_id column.GROUP BY clause to group the results by project_id.project_id and the average of experience_years for each group.ROUND function to format the average to 2 decimal places.project_id and the formatted average as average_years.
erDiagram
Project {
int project_id
int employee_id
}
Employee {
int employee_id
varchar name
int experience_years
}
Project ||--o{ Employee : ""