Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Employees on Multiple Projects | Nested Subqueries in the WHERE section
/
Generate Nested Subqueries in SQL
Sektion 1. Kapitel 6
single

single

bookChallenge: Employees on Multiple Projects

Stryg for at vise menuen

Opgave

Swipe to start coding

Write a query to list employees who are assigned to more than one project using a nested subquery with IN.

  • Use a nested subquery in the WHERE clause to identify employee_id values from the employee_projects table that appear in more than one project.
  • Select the employee_id, first_name, and last_name from the employees table for those employees.
  • The query must use the IN operator and a nested subquery.

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 1. Kapitel 6
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

some-alt