Challenge: Complex Assignment Matching
Task
Swipe to start coding
Write a query that joins the assignments, projects, and departments tables to show assignment details, including the assignment ID, the employee's name, the project name, and the department name.
- Join the
assignmentstable to theemployeestable using theemployee_idcolumn. - Join the
assignmentstable to theprojectstable using theproject_idcolumn. - Join the
projectstable to thedepartmentstable using thedepartment_idcolumn. - Select the assignment ID, employee name, project name, and department name.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 6
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 takeaways from this?
Can you give me a real-world example?
Awesome!
Completion rate improved to 4.76
Challenge: Complex Assignment Matching
Swipe to show menu
Task
Swipe to start coding
Write a query that joins the assignments, projects, and departments tables to show assignment details, including the assignment ID, the employee's name, the project name, and the department name.
- Join the
assignmentstable to theemployeestable using theemployee_idcolumn. - Join the
assignmentstable to theprojectstable using theproject_idcolumn. - Join the
projectstable to thedepartmentstable using thedepartment_idcolumn. - Select the assignment ID, employee name, project name, and department name.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 6
single