Seksjon 1. Kapittel 6
single
Challenge: Employees on Multiple Projects
Sveip for å vise menyen
Oppgave
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
WHEREclause to identifyemployee_idvalues from theemployee_projectstable that appear in more than one project. - Select the
employee_id,first_name, andlast_namefrom theemployeestable for those employees. - The query must use the
INoperator and a nested subquery.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 1. Kapittel 6
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår