Not equal: <> or != : Not equal « Comparison Functions Operators « MySQL Tutorial






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

mysql>
mysql>
mysql>








15.13.Not equal
15.13.1.Not equal: <> or !=
15.13.2.Data type conversion in Not equal operator
15.13.3.SELECT .01 <> '0.01';
15.13.4.Compare string value using the Not equal operator
15.13.5.String comparisons are not case sensitive