In a column I have "1;2;3;6-9"
I need make this string in a array like this (1,2,3,6,7,8,9)
select range from my_table
return
| range |
|-----------|
| 1;2;3;6-9 |
I need run
select id from my_another_table where id in("1;2;3;6-9")
| id |
|----|
| 1 |
| 2 |
| 3 |
| 6 |
| 7 |
| 8 |
| 9 |