Lets say my table looks like this :
-------------------------
| id | prop |
-------------------------
| 1 | Jhon_Dhoe_21 |
-------------------------
| 2 | Tom_Dohn_23_MALE |
-------------------------
| 3 | Scot |
-------------------------
The properties will always be devided by a "_". So after the SELECT the table should look like this:
--------------------------------------
| id | prop1 | prop2 | prop3 | prop4 |
--------------------------------------
| 1 | Jhon | Dhoe | 21 | NULL |
--------------------------------------
| 2 | Tom | Dohn | 23 | MALE |
--------------------------------------
| 3 | Scot | NULL | NULL | NULL |
--------------------------------------
Now if we know the maximum number of properties (n) that we could have I suppose we can create a n number of regex expresions over the prop column or something. But if we do not know maybe we have to first find the row with most properties ?
EDIT:
I can't accept multiple rows.