Skip to main content
Returns true if at least one row for expr is true. Otherwise, returns false. boolor_agg is an alias for this function.

Syntax

Parameters

expr: The expression must evaluate to a boolean value, that is, true or false.

Return value

Returns a boolean value. An error is returned if expr does not exist.

Usage notes

This function ignores NULL values.

Examples

  1. Create a table named employees.
  2. Insert data into employees.
  3. Query data from employees.
    Text
  4. Use this function to check for managers in each region. Example 1: Check if there is at least one manager in each region.
    Text

keyword

BOOL_OR, bool_or, boolor_agg