ArrayList
This sounds like the wrong model for the job, there is not really a sensible way of turning this into a single table. Perhaps you mean
Map>
This would make a lot more sense. Now one single key (the column name) is mapped to multiple values (the column values).