Challenge: Employee Project Assignments
Task
Swipe to start coding
Write a query to list each employee's name, the project they are assigned to, and the department of the project.
- Join the
employees,assignments,projects, anddepartmentstables. - Select the employee's name from the
employeestable. - Select the project name from the
projectstable. - Select the department name from the
departmentstable. - Ensure the output includes only employees who have project assignments.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Awesome!
Completion rate improved to 4.76
Challenge: Employee Project Assignments
Swipe to show menu
Task
Swipe to start coding
Write a query to list each employee's name, the project they are assigned to, and the department of the project.
- Join the
employees,assignments,projects, anddepartmentstables. - Select the employee's name from the
employeestable. - Select the project name from the
projectstable. - Select the department name from the
departmentstable. - Ensure the output includes only employees who have project assignments.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 2
single