I have a storage application that stores data on change, about 200 columns with a time stamp and ID. 
What I am trying to do is format each row into a table layout. 
Raw data:

Here is how I would like to return the data:

I am new to MySQL so I apologize if this is an obvious answer, any help is appreciated!
 
    