max()

max has an arbitrary number of parameters and returns the maximum of them

max(2;3;1;5;6) - returns 6

 

max([YearOfBirth];[Bib]) - returns the maximum of year of birth and bib number