use AdventureWorks2008
go
select Name from HumanResources.Department
where ModifiedDate in (select ModifiedDate from HumanResources.EmployeePayHistory)
this is just an example if I understood your question correct?
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This thing is addressing problems that dont exist. Its solution-ism at its worst. We are dumbing down machines that are inherently superior. - Gilfoyle