I have a table of many key value pairs as columns in single row as below:
ID | FIELD1 | FIELD1_VAL |FIELD2 | FIELD2_VAL | FIELD3 | FIELD3_VAL
1 | REC_DT | 10 Jan |AMD_DT | 30 Jan | PAY_DT | 12 Jan
I want to view or store it as below:
ID | REC_DT | AMD_DT | PAY_DT
1 |10 Jan | 30 Jan | 12 Jan
This is just an example as in the original table there are more than 100 Key value pairs.