Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Employees Without Projects | Advanced Join Techniques and Multi-Table Queries
SQL Joins in Depth

bookChallenge: Employees Without Projects

Task

Swipe to start coding

Write a query to list all employees who are not assigned to any project.

  • Select the employee ID and name for each employee who does not appear in the assignments table.
  • Use a join that includes all employees and only those assignments that match.
  • Ensure only employees without any assignment are included in the result.

Solution

Everything was clear?

How can we improve it?

Thanks for your feedback!

SectionΒ 2. ChapterΒ 7
single

single

Ask AI

expand

Ask AI

ChatGPT

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

close

bookChallenge: Employees Without Projects

Swipe to show menu

Task

Swipe to start coding

Write a query to list all employees who are not assigned to any project.

  • Select the employee ID and name for each employee who does not appear in the assignments table.
  • Use a join that includes all employees and only those assignments that match.
  • Ensure only employees without any assignment are included in the result.

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Β 2. ChapterΒ 7
single

single

some-alt