Try it ... you tell us. hehe.
I don't know anything about min or max in SQL syntax, but I can guess that it would depend on what your using for a database. Some db's might support min/max, and some will not.
Sorry for such a general answer, but it depends on your database software (Mysql, SQL, Oracle, etc). I don't think it has anything to do with php, but I could be wrong.