How to use the Max Function in MySql
Returns the largest value of the selected column.
Sql Syntax
Let's create the table we will use
Script:
Check the table to see the data and the structure.
Very good
Example:
-we will select the bigger salary we have in our table .
-we can also use conditions with max() function.