0
I found this amazing function in this article. the function turns a set of values in one of the columns into the column headings :
CREATE OR REPLACE
type PivotImpl as object
(
ret_type anytype, -- The return type of the table function
stmt varchar2(32767),
fmt varchar2(32767),
cu...