I have a database structure. The issue is that the table is really complex (typo3).
I will simplify to this:
| ID |CAT |
|==========|=====|
|1 |44,15|
|2 |16 |
|3 |29,30|
What I want to have as a result is 1 row for each CATEGORY (CAT), it mean
1 44
1 15
2 16
3 29
3 30
I tried to use simple select but of course it does not work.
I also tried to use a left join with the table CATEGORY using CATEGORY.id IN (TABLE1.cat)