Javatpoint Logo
Javatpoint Logo

MariaDB MAX() Function

MariaDB MAX() function is used to retrieve the maximum value of the expression.

Syntax:

Example:


MAX() Function with single expression

We have a table "Student", having the following data:

MariaDB Max function 1

Let's retrieve greatest salary by using MAX() function.

Output:

MariaDB Max function 2




Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA