結果 : how to use nested cte in sql server