Returns the maximum expression value found in each group of rows.
Parameter  | 
Description  | 
|---|---|
expression  | 
The expression for which the maximum value is to be calculated. This is commonly a column name.  | 
DISTINCT column-name  | 
Returns the same as MAX ( expression ), and is included for completeness.  | 
The same data type as the argument.