I have a table say t1
I have columns A1,A2,a3,a4,a5
I need output like
A -column name
A1-value in a1
A2-value in a2
A3
A4
I have a table say t1
I have columns A1,A2,a3,a4,a5
I need output like
A -column name
A1-value in a1
A2-value in a2
A3
A4
Looks like UNION
.
select a1 as a from t1 union all
select a2 from t1 union all
select a3 from t1 ...