OR

Syntax

value_1 OR value_2

Description

Performs a Boolean join of two expressions with the OR condition.

Argument types:

  • value_1Boolean
  • value_2Boolean

Return type: Same type as (value_1, value_2)

Note

Arguments (value_1, value_2) must be of the same type.

Example

[Month] = "January" OR [Year] < 2019

Data source support

ClickHouse 19.13, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3.