I have the following table:
Code | Column
-----+-----------------------------
152 | 12_25_62_26_65_22_88
247 | 55_56_85_52_11_45_63
369 | 45_65_25_89_52_54_96
How can I write a SELECT
query that obtains a result like this?:
Code | Col1 | Col2 | Col3 | Col4 | Col5 | Col6 | Col7
-----+------+------+------+------+------+------+-------
152 | 12 | 25 | 62 | 26 | 65 | 22 | 88
247 | 55 | 56 | 85 | 52 | 11 | 45 | 63
369 | 45 | 65 | 25 | 89 | 52 | 54 | 96