How to use Subquery in Where Clause
This article describes how to use subquery in where clause. SELECT Title,EmployeeID,NationalIDNumber,ManagerID FROM dbo.HumanResources_Employee WHERE EmployeeID IN (SELECT EmployeeID FROMdbo.HumanResources_EmployeeDepartmentHistory WHERE DepartmentID IN (SELECT DepartmentID FROMdbo.HumanResources_Department WHERE GroupName IN (‘Research …
How to use Subquery in Where Clause Read More