The MIN() function returns the smallest value of the selected column.
Syntax:-
SELECT MIN(column_name) FROM table_name;
Example:-
The subsequent SQL gets the value of the “Price” column from the “Hosting” table:-
SELECT MIN(Price) AS OrderPrice FROM Hosting;

Categories: SQL Function

0 thoughts on “SQL Min()”

Leave a Reply