結果 : how to write nested case statement in oracle sql