Adds MAX(path) with an optional alias.
MAX(path)
Adds MAX(path) using a type-safe ScalarPath with an optional alias.