sql server multiple cte