Sección 1. Capítulo 6
single
Challenge: Employees on Multiple Projects
Desliza para mostrar el menú
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 6
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla