Microsoft SQL Server MAX()


Example

Returns the largest value in a given column.

We have table as shown in figure that will be used to perform different aggregate functions. The table name is Marksheet.

enter image description here

Select MAX(MarksObtained) From Marksheet