Get started
Load & manage data
Work with data
Administration
Reference & resources
CLUSTER BY
mask
ROW FILTER
Updated Oct 08, 2024
Send us feedback
or
Applies to: Databricks SQL Databricks Runtime
Returns the logical OR of expr1 and expr2.
OR
expr1
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
and predicate
or operator
not operator
! (bang sign) operator