ayh8disjob
Programmer
I need some help here i have this TABLE1 and
I need to display the value of F1 and FSTA
of the latest FDATE for each group of F2....
TABLE1:
F1 F2 FDATE FSTA
--- --- ----------- ----
179 2 2003-11-22 1
222 2 2002-12-01 1
180 5 2002-11-22 1
181 5 2003-11-22 1
182 13 2003-01-10 1
185 13 2002-12-12 1
191 20 2003-11-22 1
197 20 2002-12-22 1
188 24 2003-09-05 1
189 24 2003-11-22 1
190 25 2003-11-22 1
192 25 2003-10-22 1
198 26 2002-12-22 1
------------------------
QUERY OUTPUT:
F1 F2 FDATE FSTA
--- --- ----------- ----
179 2 2003-11-22 1
181 5 2003-11-22 1
185 13 2002-12-12 1
191 20 2003-11-22 1
189 24 2003-11-22 1
190 25 2003-11-22 1
198 26 2002-12-22 1
------------------------
Thanks you very much in advance...
really having problem som tough time with this
I need to display the value of F1 and FSTA
of the latest FDATE for each group of F2....
TABLE1:
F1 F2 FDATE FSTA
--- --- ----------- ----
179 2 2003-11-22 1
222 2 2002-12-01 1
180 5 2002-11-22 1
181 5 2003-11-22 1
182 13 2003-01-10 1
185 13 2002-12-12 1
191 20 2003-11-22 1
197 20 2002-12-22 1
188 24 2003-09-05 1
189 24 2003-11-22 1
190 25 2003-11-22 1
192 25 2003-10-22 1
198 26 2002-12-22 1
------------------------
QUERY OUTPUT:
F1 F2 FDATE FSTA
--- --- ----------- ----
179 2 2003-11-22 1
181 5 2003-11-22 1
185 13 2002-12-12 1
191 20 2003-11-22 1
189 24 2003-11-22 1
190 25 2003-11-22 1
198 26 2002-12-22 1
------------------------
Thanks you very much in advance...
really having problem som tough time with this