Max SQL Function

The Max() function is an aggregate function and returns the highest value e.g. SELECT EmployeeName, MAX(Salary) FROM Employees GROUP BY EmployeeName;

/* Following will output 5 as the largest number */ 
SELECT Max(2, 3, 4, 1, 5, 3, 2) ;