sql - xml agg subquery in select statement taking long time to return data in oracle 12c? -


select  ( select substr(rtrim(xmlagg(xmlelement(e,                a2.action || ','||a2."date"|| ',' || a2."group",';')                    order a2.counter).extract ('//text()').getclobval(), ','),1,4000)           test3 a2           a2.unique_key = c1."number" group c1."number"         ) test_data test1 c1  left outer join test2 c2 on c1."number" = c2."number"  ; 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -