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 -> Need some query help

Need some query help

From: Rishi Dhupar <rishid_at_gmail.com>
Date: 27 Feb 2006 05:14:39 -0800
Message-ID: <1141046079.444618.320600@z34g2000cwc.googlegroups.com>


Hi,

I have 4 columns (Doc, Date, FT, IRD). Trying to create a query that will set the IRD column to 1 else set it to 0. The criteria to set IRD to 1 is for each FT/Doc combo, find the oldest date within that group and that should be set to 1.

Thanks

aka.
FT Doc Date IRD

1      Text1  1/1/05  1
1      Text1  1/2/05  0
2      Text1  1/30/05  1
2      Text3  2/2/05  1
Received on Mon Feb 27 2006 - 07:14:39 CST

Original text of this message

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