GREATEST(value1,value2,...) returns NULL if any argument is NULL. : GREATEST : Comparison Functions Operators MySQL TUTORIALS


MySQL TUTORIALS » Comparison Functions Operators » GREATEST »

 

GREATEST(value1,value2,...) returns NULL if any argument is NULL.


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

mysql>



Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Comparison Functions Operators
» GREATEST