iam trying to convert rows to columns in SQL. the below is my data.
id1 id2 id3
---------------
100 101 103
i want to populate output below. could you please help me out.
output:
-----
100
101
103
tried below:
select * from(select value, columnname from test_109)
src
pivot
(value for columnname in(id,id_1,id_2)
)piv;