Selecting maximum value from a field


I have a field which contains integer values. How do I obtain the
maximum value of the column?


You sort by DESC, and fetch the first value of a query for
“*”? =)

Ferret doesn’t have these SGDB-like features built into it, as far as
I can remember from the docs.