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

Home -> Community -> Mailing Lists -> Oracle-L -> Help Need

Help Need

From: Deewaker G.V. <Deewaker_at_baazee.com>
Date: Thu, 02 Aug 2001 22:52:50 -0700
Message-ID: <F001.0035D2AD.20010802034028@fatcity.com>

Hi DBA Gurus,

I have a table called user..

It has userid, firstname, lastname, city, address, telephone, email

There are some userid which have been reentered .. I would like to insert a column called repeats and take the number of times the userid is repeated

How to I go about it

Create table usercheck as (userid, firstname, repeated,lastname, city, address, telephone, email) As
Select userid, firstname, count(*) userid as repeated,,lastname, city, address, telephone, email) From user;

Something like this..

For example the userid of Deewaker is 123123 and he as been inserted 5 times in the table USER the Repeated should give a count of 4.

Please help me.

with warm regards,

Deewaker G. V.

Baazee.com India Pvt. Ltd.
(: 4611323 Extn: 216
Fax : 4611324

 <<Deewaker G.V..vcf>>

 Deewaker G.V..vcf


Received on Fri Aug 03 2001 - 00:52:50 CDT

Original text of this message

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