Home » MySQL Math LEAST() Function

MySQL Math LEAST() Function

by Online Tutorials Library

MySQL LEAST() Function

The least() is a Math function of MySQL. This function is used to get the smallest number from the list.

Syntax

Prameter:

Exp1, exp2, exp3…. expn : expressions for getting smallest number.

Returns

This function returns the smallest number from the list.

Example 1

Output:

MySQL Math LEAST() Function

Example 2

Output:

MySQL Math LEAST() Function

Example 3

Output:

MySQL Math LEAST() Function

Next TopicMySQL Math

You may also like