GREATEST(value1,value2,...) returns the largest (maximum-valued) argument within two or more arguments : GREATEST : Comparison Functions Operators MySQL TUTORIALS


MySQL TUTORIALS » Comparison Functions Operators » GREATEST »

 

GREATEST(value1,value2,...) returns the largest (maximum-valued) argument within two or more arguments


mysql>
mysql>
mysql>
mysql> SELECT GREATEST(2,0);
+---------------+
| GREATEST(2,0|
+---------------+
|             |
+---------------+
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