MySQL Not Records

MySQL Not is used to return the set of record opposite to the values.

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)

 

Advertisements

Ads

 

We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.

Share on Google+Share on Google+

MySQL Not Records

Posted on: February 4, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Advertisements

Ads
 

Discuss: MySQL Not Records  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0

Ads

 

Ads