sql server cte multiple select