Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: URGENT: sql group by clause has stopped working

Re: URGENT: sql group by clause has stopped working

From: Martin Haltmayer <Martin.Haltmayer_at_d2mail.de>
Date: Mon, 12 Aug 2002 07:45:44 +0200
Message-ID: <3D574B88.F41531CF@d2mail.de>


Hi Wilk,

after receiving a lot of answers off-topic:

this query can return duplicates if you have corruption in either your table or your index. Otherwise, it logically can only return at most one row.

HTH. Regards,

Martin

blah wrote:
>
> Hi All,
>
> I can't figure this out.
>
> select owner
> from smith
> where job = 'comp'
> and branch = '9'
> group by owner;
>
> How can the above query return duplicates?
>
> Thanks,
> Wilk
Received on Mon Aug 12 2002 - 00:45:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US