Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question I have a table which have fields like fieldname and fieldvalue. I am trying to turn this table into another format. For example, I have