Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Query to find non-unique records
"Phineas T. Barnham" <PhineasTBarnham_at_PhineasTBarnham.com> > select
id,tag1,tag2
> from my_table
> group by id,tag1,tag2
> having count(*) > 1
>
>
...or, of course, you can use the exceptions clause of alter table...add
constraint.
See manual. Received on Wed Apr 25 2001 - 16:24:16 CDT