SELECT NOT (1 + 1); : NOT « Logic Operator « MySQL Tutorial






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

mysql>








8.3.NOT
8.3.1.NOT: !
8.3.2.Using NOT with integer value
8.3.3.Using NOT with NULL value
8.3.4.SELECT NOT (1 + 1);