Home >> MySql >> How to find the greatest value in a list in MySql

How to find the greatest value in a list in MySql

GREATEST() find the greatest value in a list of expression.

Example

GREATEST(2,5,3,4)

Output

5

Post Your Comment

Next Questions
How to find the least value in a list
How To Find e raised to the power of the specified number
How to find a value extracted from a date
How to find a value extracted from a date or datetime
How to find a value extracted from an internal value

Copyright ©2022 coderraj.com. All Rights Reserved.