and predicato

Si applica a: segno di spunta sì Databricks SQL segno di spunta sì Databricks Runtime

Restituisce l'AND logico di expr1 e expr2.

Sintassi

expr1 and expr2

Argomenti

  • expr1: espressione BOOLEAN
  • expr2: 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