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: Merge result of two queries?

Re: Merge result of two queries?

From: DA Morgan <damorgan_at_psoug.org>
Date: Sun, 08 Jan 2006 10:48:43 -0800
Message-ID: <1136746117.855516@jetspin.drizzle.com>


Andy Hassall wrote:

> When you're talking about filling gaps, the first thing to think of is an
> outer join.

An outer join will not do what the OP asks as there are no records for the missing dates.

The choices are either build a table with every date and maintain it or, as I've suggested, link in a pipelined table function.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Sun Jan 08 2006 - 12:48:43 CST

Original text of this message

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