Challenge: 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?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 7
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Can you explain that in simpler terms?
What are the main benefits of this approach?
Are there any common mistakes to avoid with this?
Awesome!
Completion rate improved to 4.76
Challenge: 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
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 7
single