mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
20 lines
344 B
ReStructuredText
20 lines
344 B
ReStructuredText
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
|
|
~~~~~~~~~~~~~~~
|
|
|