I have a table like:
id     name    value
--------------------
1      x       100
1      y       200
1      z       300
2      x       10
2      y       abc
2      z       001
3      x       1
...
--------------------
and I need to transform it into something like that:
id    x     y     z
---------------------
1     100   200   300
2     10    abc   001
3     1     ...
---------------------
Names are determined. I could make multiple joins but I'm looking for a more elegant solution.
 
     
    