Home » MariaDB Min Function

MariaDB Min Function

by Online Tutorials Library

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

You may also like