I have such table with 5 columns
order code1 value1 code2 value2
I want to to have one column for code and one column for value.
I can use union all select order,code1,value1 from table union all select order,code2,vakue2 from table
How can I fo it with unpivot clause?