operation of the minimum for MySQL