column

I have data stored in db as row wise. that data i have to show in column wise is that possible if so please let me know 

data stored in database like below 

Contact ID 

Contact Limit  

AED (000) 

Contact Outstanding 

(AED’000) 

Value of Extension Sought  

AED (000) 

Capital Amount 

AED (000) 

Interest Payment Due 

(AED’000) 

Current Due Date 

Days to be Extended 

New Maturity Date  

From CrP 

=Contract Limit 

= Value of Full Contract - Outstanding 

 

=Value of Extension Sought 

= capital amount 

= Interest Payment  

=Current Maturity Date of Payment being extended 

=Number of days extension sought (B) 

=New Extended Maturity Date 

 

 

 

 

 

 

 

 

 

Total 

 

100,000 

5,555 

 

1,192 

 

 

 

here is the table, i have to show that data like this.. some selected rows data have to show in table as column wise 

can anyone suggest me on this

  Discussion posts and replies are publicly visible