Oracle Sql Case When Multiple Conditions In If Statement