The MAX function compares the values of two or more numeric expressions and returns the highest value. Example highest_grade% = MAX(John_grade%, Bob_grade%, Joe_grade%)
1 – Syntax
num-var = MAX (num-exp1, num-exp2 [,num-exp3,...])