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 21.8, Yandex Metrica, Microsoft SQL Server 2017 (14.0), MySQL 5.7, Oracle Database 12c (12.1), PostgreSQL 9.3, YDB.