Javatpoint Logo
Javatpoint Logo

MariaDB MIN() Function

MariaDB MIN() functiuon is used to retrieve the minimum value of the expression.

Syntax:

Example:


MIN() Function with single expression

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

MariaDB Min function 1

Let's retrieve lowest salary by using MIN () function.

Output:

MariaDB Min function 2

MIN() Function with ORDER BY Clause

Output:

MariaDB Min function 3




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA