hi to all,
i have a table with following structure
contract_number trandate status_date
1 01-jan-07 a
2 01-jan-07 a
1 05-feb-07 b
3 04-jan-07 a
now i have to retrive this data in following format
contract_number trandate previous_status_date current_status
1 01-jan-07 a b
can anybudy plz tell me how to achiv this.