Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns the logical OR
of expr1
and expr2
.
expr1 or expr2
expr1
: A BOOLEAN expression.expr2
: A BOOLEAN expression.
A BOOLEAN.
> SELECT true or false;
true
> SELECT false or false;
false
> SELECT true or NULL;
true
> SELECT false or NULL;
NULL