ms sql cte multiple selects