結果 : partition by case statement sql