Categories: Conditional

BOOL_AND

Computes the boolean AND of two boolean expressions. Returns TRUE if both epxressions evaluate to TRUE. Returns FALSE if one or both expression(s) evaluate(s) to FALSE.

Syntax

BOOL_AND(bool_expression1 boolean, bool_expression2 boolean) → boolean

  • bool_expression1: Boolean input expression.
  • bool_expression2: Boolean input expression.

Examples

SELECT BOOLEANAND(TRUE, FALSE)
-- False