Re: Analytical query help

From: RA <angani_at_gmail.com>
Date: Mon, 7 Dec 2009 15:14:05 -0800 (PST)
Message-ID: <27c761a5-7fd2-4695-b270-e710a7a8d19b_at_a39g2000pre.googlegroups.com>



Joel,

I created a simple TIMES table and code works great.

Query returns data like this


12/04/2009 ssmit 52
12/02/2009 ssmit 48
11/30/2009 ssmit 45
11/29/2009 ssmit 42

I want the data to be like this


12/04/2009 ssmit 52
12/03/2009 null      0 -- fill the gap with previous value
12/02/2009 ssmit 48
12/01/2009 null
11/30/2009 ssmit 45
11/30/2009 ssmit 45
11/29/2009 ssmit 42
Received on Mon Dec 07 2009 - 17:14:05 CST

Original text of this message