結果 : cursor with cte in sql server