Avsnitt 1. Kapitel 6
single
Challenge: Employees on Multiple Projects
Svep för att visa menyn
Uppgift
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.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 6
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal