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 AND of expr1 and expr2.
expr1 and expr2
expr1: A BOOLEAN expressionexpr2: A BOOLEAN expression
A BOOLEAN.
sql
> SELECT true and true;
true
> SELECT true and false;
false
> SELECT true and NULL;
NULL
> SELECT false and NULL;
false