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 19.13, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3.