Please find below query and don't forget to give a Like.
Question:
List the names (last and first) of employees who worked on one of these three projects combined
Answer:
Select Last_name,first_name from employees where project_no=1 or project_no=2 or project_no=3;
Explanation:
Since mentioned one of these 3 projects combined we took Or in where clause
Considering the hint:
Select Last_name,first_name from employees having avg(work_hours) in
(Select avg(work_hours) from employees where project_no=1 or project_no=2 or project_no=3);
Get Answers For Free
Most questions answered within 1 hours.