i have a table as i will store the column names and there values
col_id columnname coulumn_value
1 name,mail_id,phone_no xyz,abc|xyz@mail,abc@mail|99899999,67893345
other table:
i need to insert the above table data into this table based on the column names
id name lastname education mail_id phone_no
1 bbb aaa mca aaa@mail 9989978665
2 ccccc dddd degree ccc@mail 7834567892
ouptputresult :
id name lastname education mail_id phone_no
1 bbb aaa mca aaa@mail 9989978665
2 ccccc dddd degree ccc@mail 7834567892
null xyz null null xyz@mail 99899999
null abc null null abc@mail 67893345
please reply its very urgent to me