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: Aggregations

Re: Aggregations

From: DA Morgan <damorgan_at_psoug.org>
Date: Fri, 09 Feb 2007 08:36:05 -0800
Message-ID: <1171038964.109379@bubbleator.drizzle.com>


AlexK wrote:
> Hi All,
>
> I'm trying to aggregate some data and I was hoping for some insight.
> Basically I have some data like the following:
>
> Key Column1 Column2
> 123 Y null
> 123 null Y
> 456 null Y

what you have presented is not possible. How can rows 1 and 2 have a duplicate key?

That said, and no Oracle version number in sight, my recommendation would be that you need to define the business rules. From what you suggest as a valid result I see no obvious business rule.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Fri Feb 09 2007 - 10:36:05 CST

Original text of this message

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