結果 : using case statement in partition by sql server