Source table:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Frame
[/TD]
[TD]Fabric
[/TD]
[TD]Size
[/TD]
[/TR]
[TR]
[TD]ATB
[/TD]
[TD]G901
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]ATBN
[/TD]
[TD]G902
[/TD]
[TD]K
[/TD]
[/TR]
[TR]
[TD]FMB
[/TD]
[TD]G903
[/TD]
[TD]Q
[/TD]
[/TR]
[TR]
[TD]FMBN
[/TD]
[TD]G904
[/TD]
[TD]F
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]G905
[/TD]
[TD]T
[/TD]
[/TR]
</tbody>[/TABLE]
I would like to create 1 row in a new table for every combination of these 3 columns with a '-' separator between each value.
For example, for ATB, I need 1 row for each fabric in each of the 5 sizes, so 25 SKU's:
ATB-G901-C
ATB-G901-K
and so on until ATB-G905-T
This is just a very small snapshot of the true table.
In the true table there are close to 130 frames and 150 fabrics.
Many thanks in advance for any help given.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Frame
[/TD]
[TD]Fabric
[/TD]
[TD]Size
[/TD]
[/TR]
[TR]
[TD]ATB
[/TD]
[TD]G901
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]ATBN
[/TD]
[TD]G902
[/TD]
[TD]K
[/TD]
[/TR]
[TR]
[TD]FMB
[/TD]
[TD]G903
[/TD]
[TD]Q
[/TD]
[/TR]
[TR]
[TD]FMBN
[/TD]
[TD]G904
[/TD]
[TD]F
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]G905
[/TD]
[TD]T
[/TD]
[/TR]
</tbody>[/TABLE]
I would like to create 1 row in a new table for every combination of these 3 columns with a '-' separator between each value.
For example, for ATB, I need 1 row for each fabric in each of the 5 sizes, so 25 SKU's:
ATB-G901-C
ATB-G901-K
and so on until ATB-G905-T
This is just a very small snapshot of the true table.
In the true table there are close to 130 frames and 150 fabrics.
Many thanks in advance for any help given.