Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Using union and count
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
![]() |
![]() |