To Retrieve a single row ; Urgent [message #21229] |
Thu, 18 July 2002 21:10 |
Debasish Sanyal
Messages: 1 Registered: July 2002
|
Junior Member |
|
|
Dear All ,
I have a select statement like this :
select a.con_no,rep_status_dt,flag from ast_ppl a , ast_rep b
where a.con_no= b.con_no
It gives this output :
a.Con_no Rep_status_dt Flag
456237 18-JUN-02 RP
456237 12-JUN-02 SL
Rep_status_dt and Flag are only in ast_rep
I want only one row from above output depending on
max(rep_status_dt) by modifying the above query .
So Pls help
Regards
Debasish
|
|
|
|