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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Need Unique word search/count on DB. Any suggestions?

Re: Need Unique word search/count on DB. Any suggestions?

From: Jerry Gitomer <jgitomer_at_ictgroup.com>
Date: 1998/03/11
Message-ID: <350702AA.4011@ictgroup.com>#1/1

Hi Randy,

If I understand correctly the following will do the trick:

	SELECT DISTINCT <column_name>, COUNT(*)
	FROM <table_name>
	GROUP BY <column_name>;

Regards

Jerry

Randy Wyatt wrote:
>
> I have been requested to obtain a listing of unique words and their count in
> all rows of a specific column in our Oracle 7.1 database. Can anyone provide
> me with any clue as to how I can do this? Sql*Plus is the only tool I have.
> Thanks!
 

-- 
Jerry Gitomer         	ICT Group
jgitomer_at_ictgroup.com	Langhorne PA
jgitomer_at_p3.net 	Opinions are mine not those of ICT Group
Received on Wed Mar 11 1998 - 00:00:00 CST

Original text of this message

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