Hi @ADX ,
Welcome to Microsoft Q&A!
For this type of problem we recommend that you post CREATE TABLE statements for your tables together with INSERT statements with sample data since your sample data is not readable enough.
According to your requirement, it is a little difficult to achieve in TSQL.
You could use UNPIVOT if you would like to convert one row of multiple columns to multiple rows in one table.
But there are many duplicated column names in your sample data which is not permitted in the table definition.
You may consider to deal with it in excel or other tool.
Best regards,
Melissa
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.