Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Employees Without Projects | Advanced Join Techniques and Multi-Table Queries
SQL Joins in Depth
Seção 2. Capítulo 7
single

single

bookChallenge: Employees Without Projects

Deslize para mostrar o menu

Tarefa

Deslize para começar a programar

Write a SQL query to list all employees who are not assigned to any project.

  • Use the employees and assignments tables.
  • Select employee_id and name from the employees table.
  • Use a LEFT JOIN on employee_id to include all employees regardless of whether they have an assignment.
  • Filter results using WHERE a.assignment_id IS NULL to keep only employees with no matching row in assignments.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 7
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt