Hello,
I need help in stacking script. I have a table which has 80 columns and morethan 100k rows. I want to make a new table, which should have 6 columns in a pair like "data" and "label" in stack table. My stacked column is based on the colum name, so say in 80 columns, 30 has one type of information, 15 has another type of information and rest 35 have 3rd type of information. I want to stack the columns based on their data type.
Please see the attached files.
I can do that by making 3 different tables and then update the tables and make them one. But I was wondering if there is any smarter way to do it?
Any help?
Thanks.