ora-00979 error
From: Alberto Zen (alberto.zen_at_e-iter.net)
Date: 05/27/04
- Next message: Benny Joseph: "Re: Cannot focus in disable or invisible window"
- Previous message: Arnie Mauer: "Re: Opening large query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 May 2004 19:50:07 +0200
When i try to execute this query i receive an error message ORA-00979: not a
GROUP BY expression.
select
prestazioni.S_DESCR,
prest_gar.S_IDPRESTAZIONE,
count(*) as Totale
from
SGP.PREST_GAR prest_gar,
SGP.PROD_GAR prod_gar,
SGP.PRESTAZIONI prestazioni
where
prod_gar.ID_GARANZIA = prest_gar.ID_GARANZIA
and
prod_gar.ID_PRODOTTO=:IDPROD
and
prestazioni.S_ID = prest_gar.S_IDPRESTAZIONE
group by
prestazioni.S_DESCR, prest_gar.S_IDPRESTAZIONE
If i remove the parameter the query works fine.
Who can help me?
Thanks.
Alberto Zen
- Next message: Benny Joseph: "Re: Cannot focus in disable or invisible window"
- Previous message: Arnie Mauer: "Re: Opening large query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|