I have the table as below.
Input
+ -------------------------------------+
| Country | Code |
+--------------------------+-----------+
| India,srilanka,Australia | I,S,A |
+--------------------------+-----------+
I need a SQL query to select the value as following format in Oracle:
Output
+-----------------+------+
| Country | Code |
+-----------------+------+
| India | I |
| Srilanka | S |
| Australia | A |
+-----------------+------+