Syntax:
MIN(expr), MAX(expr)

Returns the minimum or maximum value of expr. MIN() and MAX() may take
a string argument; in such cases they return the minimum or maximum
string value. See
http://dev.mysql.com/doc/refman/4.1/en/mysql-indexes.html.

MIN() and MAX() return NULL if there were no matching rows.
