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