Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Impara Challenge: Employees Without Projects | Advanced Join Techniques and Multi-Table Queries
SQL Joins in Depth
Sezione 2. Capitolo 7
single

single

bookChallenge: Employees Without Projects

Scorri per mostrare il menu

Compito

Scorri per iniziare a programmare

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.

Soluzione

Switch to desktopCambia al desktop per esercitarti nel mondo realeContinua da dove ti trovi utilizzando una delle opzioni seguenti
Tutto è chiaro?

Come possiamo migliorarlo?

Grazie per i tuoi commenti!

Sezione 2. Capitolo 7
single

single

Chieda ad AI

expand

Chieda ad AI

ChatGPT

Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione

some-alt