Using Logical XOR operator with NULL value : XOR « Logic Operator « MySQL Tutorial






mysql>
mysql>
mysql> SELECT 1 XOR NULL;
+------------+
| 1 XOR NULL |
+------------+
|       NULL |
+------------+
1 row in set (0.00 sec)

mysql> SELECT NULL XOR NULL;
+---------------+
| NULL XOR NULL |
+---------------+
|          NULL |
+---------------+
1 row in set (0.00 sec)

mysql>
mysql>








8.5.XOR
8.5.1.Logical XOR (XOR)
8.5.2.Using Logical XOR operator with NULL value
8.5.3.Using XOR to link two conditions