I have a table which looks like the following :-
a b c d e
29 14 11 16 8
I want to transpose it to the following form, in Postgres:
a 29
b 14
c 11
d 16
e 8
I know I'm supposed to use the pivot operation to do this, but I can't figure out the right syntax to get this done.
Any help to get this done will be appreciated.