MAX


The  MAX() Function is used to returns the maximum value.

Syntax :-

SELECT  MAX (column_name)

FROM table_name

WHERE conditions;

Example : Let's see how to used MAX function in table.

Query :

SELECT  MAX (Salary)

FROM customers;

Output :

Now, you can see MAX() Function calculated maximum salary in the salary column .