My sample data
Table A
col1 col2
-------------------------------
1 1,2,3
2 1,2,4,5
Required Output is
col1 col2
-------------------------
1 1
1 2
1 3
2 1
2 2
2 4
2 5
How can I get the desired output in oracle? Thanks in advance