Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: URGENT: sql group by clause has stopped working
try
select owner
from smith
where job = 'comp'
and branch = '9'
group by owner
having count(owner) > 1;
The HAVING clause is useful in determining dupes.
Have Fun
-- Posted via dBforums\nhttp://dbforums.comReceived on Thu Aug 08 2002 - 21:20:50 CDT