Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Please help write a query **Urgent** tks
"OCP" <mr_ocp_at_yahoo.com> wrote
> We have a table the contains several duplicate records however each record
> is with an unique primary key, I need to write a query to see how many
> records are duplicate, there is a name field which has several duplicate
> names under separat unique id, so is there a way that I can find out how
> many such duplicate names exists in the table.
You are totally without slack. Calling yourself "Mr OCP" (as in Oracle Certified Professional I assume) and then asking a silly beginner question like this!?
Ever heard of the GROUP BY clause Mr OCP..?
-- BillyReceived on Tue Jul 31 2001 - 03:45:47 CDT
![]() |
![]() |