and
predicato
Si applica a: Databricks SQL
Databricks Runtime
Restituisce l'AND logico di expr1
e expr2
.
Sintassi
expr1 and expr2
Argomenti
expr1
: espressione BOOLEANexpr2
: espressione BOOLEAN
Valori restituiti
Valore booleano.
Esempi
> SELECT true and true;
true
> SELECT true and false;
false
> SELECT true and NULL;
NULL
> SELECT false and NULL;
false