I have below table.
code type value
===================
100 R 3300
100 B 7900
101 R 6800
100 D 2100
100 C 2300
101 C 1200
I want the select statement return below result when I select for code=100.
code Rvalue Bvalue Dvalue Cvalue
==================================
100 3300 7900 2100 2300
I was successful achieving this using inline queries. But I want to know if there is a better way to do it.
Thanks in Advance.