MAX
The MAX() Function is used to returns the maximum value.
Syntax :-
Example : Let's see how to used MAX function in table.
SELECT MAX (column_name)
FROM table_name
WHERE conditions;
Query :
Output :
SELECT MAX (Salary)
FROM customers;
Now, you can see MAX() Function calculated maximum salary in the salary column .
0 Comments