Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Employee Project Assignments | Advanced Join Techniques and Multi-Table Queries
SQL Joins in Depth

bookChallenge: Employee Project Assignments

Opgave

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, and departments tables.
  • Select the employee's name from the employees table.
  • Select the project name from the projects table.
  • Select the department name from the departments table.
  • Ensure the output includes only employees who have project assignments.

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 2
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

close

bookChallenge: Employee Project Assignments

Stryg for at vise menuen

Opgave

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, and departments tables.
  • Select the employee's name from the employees table.
  • Select the project name from the projects table.
  • Select the department name from the departments table.
  • Ensure the output includes only employees who have project assignments.

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 2. Kapitel 2
single

single

some-alt