SectionΒ 1. ChapterΒ 6
single
Challenge: Employees on Multiple Projects
Swipe to show menu
Task
Swipe to start coding
Write a query to list employees who are assigned to more than one project using a nested subquery with IN.
- Use a nested subquery in the
WHEREclause to identifyemployee_idvalues from theemployee_projectstable that appear in more than one project. - Select the
employee_id,first_name, andlast_namefrom theemployeestable for those employees. - The query must use the
INoperator and a nested subquery.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 6
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat