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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA