Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Complex Assignment Matching | Section
/
SQL Joins in Depth
Sektion 1. Kapitel 12
single

single

bookChallenge: 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 assignments table to the employees table using the employee_id column.
  • Join the assignments table to the projects table using the project_id column.
  • Join the projects table to the departments table using the department_id column.
  • Select the assignment ID, employee name, project name, and department name.

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 12
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

some-alt