SQL Basic
SQL Advanced
SQL Functions
| SQL min() |
The MIN() FunctionThe MIN() function returns the smallest value of the selected column. SQL MIN() Syntax
SQL MIN() ExampleWe have the following "Orders" table:
Now we want to find the smallest value of the "OrderPrice" column. We use the following SQL statement:
The result-set will look like this:
|
SQL min()