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

17 lines
407 B
Markdown
Raw Normal View History

2019-05-05 17:38:05 +00:00
# 逻辑函数
逻辑函数可以接受任何数字类型的参数并返回UInt8类型的0或1。
当向函数传递零时函数将判定为“false”否则任何其他非零的值都将被判定为“true”。
## and, AND operator
## or, OR operator
## not, NOT operator
## xor
[来源文章](https://clickhouse.yandex/docs/en/query_language/functions/logical_functions/) <!--hide-->