ORA-00979:not a GROUP BY expression
Salut,
je cherche une solution pour un problème que je viens d'avoir avec une requête, mais je ne l'ai pas encore trouvéé.
l'erreur produite est :
Citation:
ORA-00979:not a GROUP BY expression
ma requete sql est :
Code:
1 2 3 4 5 6 7
| select reclamation.idnaturereclamation,
count(reclamation.idnaturereclamation) as "NBRPARNATURE",
ROUND(100 * RATIO_TO_REPORT(COUNT( reclamation.idnaturereclamation)) over (), 0) || '%' AS "POURCENTAGE",
problemes.libelle as "LIBELLE"
from reclamation
inner join problemes on reclamation.idnaturereclamation=problemes.idprobleme
group by reclamation.idnaturereclamation |
Merci de votre aide.