I have a following data:
Comp_id | Cntm_nb | Seq_nb | Amount | Type
1 | 1 | 1 | 2000 | rent
1 | 1 | 1 | 200 | charge
1 | 1 | 2 | 3000 | rent
1 | 1 | 2 | 300 | charge
from which i want to show the following result
Comp_id | Cntm_nb | Seq_nb | Rent Amount | Charge Amount
1 | 1 | 1 | 2000 | 200
1 | 1 | 2 | 3000 | 300