Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Challenge: Employee Project Assignments | Advanced Join Techniques and Multi-Table Queries
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
SQL Joins in Depth

bookChallenge: Employee Project Assignments

Tâche

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.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 2
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Employee Project Assignments

Glissez pour afficher le menu

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 2. Chapitre 2
single

single

some-alt