ClickHouse/docs/en/query_language/functions/logical_functions.md

17 lines
381 B
Markdown
Raw Normal View History

# Logical functions
Logical functions accept any numeric types, but return a UInt8 number equal to 0 or 1.
Zero as an argument is considered "false," while any non-zero value is considered "true".
## and, AND operator
## or, OR operator
## not, NOT operator
## xor
2018-04-23 06:20:21 +00:00
2020-01-30 10:34:55 +00:00
[Original article](https://clickhouse.tech/docs/en/query_language/functions/logical_functions/) <!--hide-->