Added max to MySQL