結果 : select case with if statement in sql