Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: what wrong with this statement?
Volker Hetzer wrote:
> Nick schrieb:
>> when i input the following statement error occur: >> select pubid,pubname,TITLE from (publisher natural inner join >> journal) group by (pubid) having count(pubid)>1; >> >> >> >> error: >> select pubid,pubname,TITLE from (publisher natural inner join journal) >> group by (pubid) having count(pubid)>1 >> * >> ERROR at line 1: >> ORA-00979: not a GROUP BY expression
would you give me some example to use group by? thanks! Received on Wed Mar 15 2006 - 14:42:54 CST