Forum Discussion
pivot and unpivot
- Anonymous5 years ago
Hi Giada_Togliatti ,
For the first table, you need to copy a new table(Table (3)), then delete one row from the original table, delete another row from the new table, and then select all the columns in each table, use the UNPIVOT function, and then merge the two tables.
For the second table, just select all the columns then use UNPIVOT function.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Giada_Togliatti ,
For the first table, you need to copy a new table(Table (3)), then delete one row from the original table, delete another row from the new table, and then select all the columns in each table, use the UNPIVOT function, and then merge the two tables.
For the second table, just select all the columns then use UNPIVOT function.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.