XOR
xorβ
descriptionβ
Syntaxβ
BOOLEAN xor BOOLEAN
Return the XOR value of two numbers.
exampleβ
mysql >select true xor false,true xor true;
+------------------+-----------------+
| (TRUE XOR FALSE) | (TRUE XOR TRUE) |
+------------------+-----------------+
| 1 | 0 |
+------------------+-----------------+
keywordsβ
XOR