How to get the maximum value of a database table's column programmatically

See also: