title: invalid use of group
body: <p>i've been trying to do this on php, reading from a db table in mysql, but i cant understand what's the error on it. can someon help me please?
  the table as a column that contains numbers (this numbers represent a course :P)</p>
  
  <pre><code>SELECT *, MAX(COUNT(mi_curso)) maximo
  FROM producto
  GROUP BY mi_curso
  </code></pre>
  
  <p>and this is the error shown:</p>
  
  <pre><code>consulta SQL:
  SELECT *, MAX(COUNT(mi_curso)) maximo
  FROM producto
  GROUP BY mi_curso LIMIT 0, 25
  
  MySQL ha dicho: Documentación 
  #1111 - Invalid use of group function
  </code></pre>