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: count distinct

Re: count distinct

From: Tim Cuthbertson <timNOcuthSPAM_at_bellsouth.net>
Date: Wed, 23 Jun 2004 18:44:15 -0500
Message-ID: <tlKCc.2965$ak6.223@bignews5.bellsouth.net>


Try this:

select count(1) from

    (select distinct col1, col2, col3, col4 from mytable);

Tim Received on Wed Jun 23 2004 - 18:44:15 CDT

Original text of this message

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