MIN function in MySQL

How to return the minimum value in MySQL?

Explanation

MIN function


MySQL MIN Function returns the minimum value from the given set of values in an expression. MIN()returns the minimum value of the parameter passed and returns NULL if no matching rows are found.

Syntax:

min()
Consider an example of an employee table

Example:


MIN function in MySQL

Ask Questions

Ask Question