t sql cte multiple select