Using Logical OR operator with NULL value : OR : Logic Operator MySQL TUTORIALS


MySQL TUTORIALS » Logic Operator » OR »

 

Using Logical OR operator with NULL value


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

mysql> SELECT || NULL;
+-----------+
|| NULL |
+-----------+
|         |
+-----------+
row in set (0.02 sec)

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

mysql>
mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Logic Operator
» OR