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: Help needed to find minimum in a series

Re: Help needed to find minimum in a series

From: Sandy80 <svarshneymail_at_gmail.com>
Date: 18 Apr 2007 02:43:57 -0700
Message-ID: <1176889437.484709.157100@l77g2000hsb.googlegroups.com>


I think I have not been able to explain my question well enough. I will try one more time.

In table 1 which is the current table the userid 1234 has his status as A001, so we need to look for the max date of his status A001 in table 2.
Then reading backwards we need to find out which is the minimum date for that status in table 2 without the break in status. So for 1234 his max date for A001 in table 2 is 01/01/2007, then reading backwards we go to 01/01/2006 and that is the minimum date for that status because for 01/01/2005 his status was B001 and not A001.

Help please!!! Received on Wed Apr 18 2007 - 04:43:57 CDT

Original text of this message

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