How To Use Least Function In OraclePLSQL
Description
This function returns the smallest value in Oracle/PLSQL.
Syntax
- Least (Expression1, expression 2…..expression n)
Example
- Select Least (2, 5, 1, 3, 4 )
- from Dual;
Example
- select LEAST('apples', 'oranges', 'bananas')
- from Dual;
Example
- Select LEAST('2', '5', '12', '3')
- From Dual;
Summary