IN conditions are search conditions with an IN predicate, to which the following rules apply:
· The operator is the operator IN.
·
IN
conditions have one of the following formats:
<column_spec>
IN (<extended_value_spec>,...)
<column_spec> IN <subquery>
To determine an optimal search strategy, the Optimizer can only use IN conditions that satisfy these prerequisites.
Conditions with the following format are converted to an expression without NOT and with the appropriate negated operator, if possible:
...NOT (<column_spec> NOT IN (<extended_value_spec>,...))
...NOT (<column_spec> NOT IN <subquery>)
The Optimizer then continues to process the modified condition.