AND

Syntax

value_1 AND value_2

Description

Performs a Boolean join of two expressions with the AND 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

[Profit] > 30 AND [Weekday] IN ("Saturday", "Sunday")

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.