SQL 手册SQL 函数标量函数数值函数XOR本页总览XOR Description 返回两个数字 XOR 的结果。 Syntax BOOLEAN xor BOOLEAN Example mysql >select true xor false,true xor true;+------------------+-----------------+| (TRUE XOR FALSE) | (TRUE XOR TRUE) |+------------------+-----------------+| 1 | 0 |+------------------+-----------------+ Keywords XOR