I have a table like this and consider
table name as sample
info | values
-------------
1 1,2,4,5
2 5, 6,7
When i select the sample table with info value as 1 instead of getting comma separated value is there any way to split the value and return it as multiple rows
info | values
1 1
1 2
1 4
1 5
If I get this I will take this as subquery and pass it to where in cluase to fetch other data from other table.