Imagine I have a table that looks like this.
original table
How do I convert it into this?
converted table
Attached sample data. Thanks.