Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL for getting duplicate records?
>
> select count(*), c1, c2, c3, c4, ....
> from T
> group by c1, c2, c3, c4, ....
> having count(*) > 1
> /
>
>
> that'll show you how many times each distinct set of values ocurrs if
that set
> of values ocurrs more then once.
True, but if you want the entire record, than tyiping in all the fields in a lot of work.
Ide Received on Sat Aug 14 1999 - 18:32:11 CDT