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

Home -> Community -> Usenet -> c.d.o.server -> Re: Using union and count

Re: Using union and count

From: Jaap W. van Dijk <j.w.vandijk.removethis_at_hetnet.nl>
Date: Fri, 06 Feb 2004 21:32:44 +0100
Message-ID: <5au720tcm1btjmqmuv3h3onfipg4lfdqgk@4ax.com>


On Thu, 05 Feb 2004 20:06:24 +0100, Sybrand Bakker <gooiditweg_at_sybrandb.demon.nl> wrote:

...
>By design your individual query parts either return 0 or 1, because
>you only check for 1 value.

...

I think you are thinking of

select count(distinct column_name) where column_name = 'something'

Jaap. Received on Fri Feb 06 2004 - 14:32:44 CST

Original text of this message

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