Home Sql Mysql-example MySQL Not Records
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

MySQL Not Records

Advertisement
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)

 

Advertisement

Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: February 4, 2009

Ask Questions?    Discuss: MySQL Not Records  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
DMCA.com