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 :
ma requete sql est :ORA-00979:not a GROUP BY expression
Merci de votre aide.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
Partager