VeloDB Cloud 26.x·Apache Doris 4.x (up to 4.0 supported)·"Since X.Y" tags refer to Apache Doris versionsVersion mapping
XOR
Description
Return the XOR value of two numbers.
Syntax
BOOLEAN xor BOOLEAN
Example
mysql> select true xor false, true xor true;
+------------------+-----------------+
| (TRUE XOR FALSE) | (TRUE XOR TRUE) |
+------------------+-----------------+
| 1 | 0 |
+------------------+-----------------+
Keywords
XOR