I am new to oracle pivot. Is this possible?
I have two columns Type and Value
Type
Value
type value --------------- a a1 b
Something like this:
SELECT a, b, c FROM tbl PIVOT ( MAX(Value) FOR Type IN ('a' as a, 'b' as b, 'c' as c) )
For more details you can refer to this documentation.