ORA-00937

Error: ORA-00937: not a single-group group function

Causa: A SELECT list cannot include both a group function, such as AVG, COUNT, MAX, MIN, SUM, STDDEV, or VARIANCE, and an individual column expression, unless the individual column expression is included in a GROUP BY clause.

Acción: Drop either the group function or the individual column expression from the SELECT list or add a GROUP BY clause that includes all individual column expressions listed.


Deja tu comentario:

¿No sabes cómo solucionar el error? ¿O lo has conseguido resolver y quieres ayudar a otros usuarios?

Para comentar, haz login con tu cuenta de


COMENTARIOS:

por fabio | 15/11/2010 13:58:02

RE: ORA-00937

ORA-00979: no es una expresión GROUP BY