答案 0 :(得分:1)
Create table my_new_table as
Select grid_code
,'size' attribute_type
, 1 attribute_code
, size_code_1 attribute_value
From my_table
Union
Select grid_code
,'size' attribute_type
, 2 attribute_code
, size_code_2 attribute_value
From my_table
... Etc