MySQL Not Records

MySQL Not is used to return the set of record opposite to the values.
Understand with Example
The Tutorial illustrate an example from MySQL Not. To understand and
elaborate the example we use select !0 query that return you opposed to the
values. The below query return you 1 when we select !0 is performed.
.Query for Mysql not :
mysql> select !0;
+----+
| !0 |
+----+
| 1 |
+----+
1 row in set (0.00 sec)
|
Another Query for Mysql not :
The select !1 query is performed to return 0 as records.
mysql> select !1;
+----+
| !1 |
+----+
| 0 |
+----+
1 row in set (0.01 sec)
|

|