case statement in where condition in oracle sql