MySQL GREATEST() FunctionThe greatest() is a Math function of MySQL. This function is used to get the largest number from the list. SyntaxPrameter:Exp1, exp2, exp3.... expn : expressions for getting largest number. ReturnsThis function returns the largest number from the list. Example 1Output: Example 2Output: Example 3Output:
Next TopicMySQL Math
|