結果 : example of nested case statement in sql