結果 : update temp table with case statement sql