i have arrived at the following result set in postgres and is a bit stuck. the values came from an uploaded excel file so what i have here is a column of comma delimited values with the first row as the headers and all following as values
| values |
|col1,col2,col3|
|val1,val2,val3|
|val1,val2,val3|
my question is how can i arrive to my desired output described below
| col1 | col2 | col3 |
| val1 | val2 | val3 |
| cal1 | val2 | val3 |
Thanks in advance!