Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Employees on Multiple Projects | Nested Subqueries in the WHERE section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Generate Nested Subqueries in SQL
SectionΒ 1. ChapterΒ 6
single

single

bookChallenge: 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 WHERE clause to identify employee_id values from the employee_projects table that appear in more than one project.
  • Select the employee_id, first_name, and last_name from the employees table for those employees.
  • The query must use the IN operator and a nested subquery.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 1. ChapterΒ 6
single

single

Ask AI

expand

Ask AI

ChatGPT

Ask anything or try one of the suggested questions to begin our chat

some-alt