MAX Function In SQL Server 2008
In this article I am going to explain MAX Function in SQL.
The MAX() function is the one that returns the largest value of the column which is selected.
SELECT MAX(column_name) FROM table_name
Suppose we create table named "pupils", then: