Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge: Employees Not in Any Project | Nested Subqueries in the WHERE section
Generate Nested Subqueries in SQL
Sectie 1. Hoofdstuk 7
single

single

bookChallenge: Employees Not in Any Project

Veeg om het menu te tonen

Taak

Swipe to start coding

Write a SQL query to list all employees who are not assigned to any project. Use a nested subquery with NOT IN to filter out employees who appear in the employee_projects table.

  • Select the employee_id, first_name, and last_name columns from the employees table.
  • Use a nested subquery in the WHERE clause to identify employee_id values that are present in the employee_projects table.
  • Exclude those employees from the results using NOT IN.
  • The query must return only those employees who are not assigned to any project.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 7
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

some-alt