Sektion 1. Kapitel 12
single
Challenge: Complex Assignment Matching
Stryg for at vise menuen
Opgave
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.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 12
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat