Verwenden Sie einen allgemeinen Tabellenausdruck (CTE), wenn Sie SQL Server 2005+ verwenden:
with cte as (
select columns
from result_set
where condition_common
)
select columns
from cte as subset1
join
cte as subset2
on subset1.somekey = subset2.somekey
where otherconditions