In Oracle, the result of comparison conditions can be (choose all that apply):
-
TRUE
-
UNKNOWN
-
ERROR
-
NULL
-
FALSE
Oracle comparison operators return three possible values: TRUE, FALSE, or UNKNOWN. UNKNOWN is returned when any operand in the comparison is NULL (not the same as NULL itself). ERROR is not a valid result for comparison conditions - errors occur from invalid operations, not comparisons. NULL is a value, not a comparison result.
In Oracle SQL, a comparison condition (like =, <, >) evaluates to TRUE or FALSE, or to UNKNOWN when one of the operands being compared is NULL (since NULL represents an unknown value, any comparison involving it is itself unknown rather than true or false). There's no "ERROR" or "NULL" result type for a comparison condition itself — those aren't valid outcomes of the comparison operation.