I was wondering how using MySQL you would pivot a table from
+----------+----------+-------------+------------+
| table_id | other_id | description | expression |
+----------+----------+-------------+------------+
| 1 | 1 | blah | blah |
| 2 | 1 | meh | meh |
| 3 | 1 | example | example |
+----------+----------+-------------+------------+`
To a table being sorted using other_id to be like however without having expression and description limited to a specified number
+--------------+-------------+--------------+-------------+--------------+-------------+
| description1 | expression1 | description2 | expression2 | description3 | expression3 |
+--------------+-------------+--------------+-------------+--------------+-------------+
| blah | blah | meh | meh | example | example |
+--------------+-------------+--------------+-------------+--------------+-------------+`