Advertisement
dragonbs

Employees Without Projects

Sep 28th, 2023
1,201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.16 KB | None | 0 0
  1. SELECT TOP(3) e.[EmployeeID], e.[FirstName]
  2. FROM [Employees] e
  3. WHERE e.[EmployeeID] NOT IN (SELECT [EmployeeID] FROM [EmployeesProjects])
  4. ORDER BY e.[EmployeeID]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement